genproto: google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1 Index | Files

package settings

import "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1"

Index

Package Files

billing_settings.pb.go component_settings.pb.go detector.pb.go securitycenter_settings_service.pb.go settings.pb.go sink_settings.pb.go

Variables

var (
    BillingTier_name = map[int32]string{
        0:  "BILLING_TIER_UNSPECIFIED",
        1:  "STANDARD",
        2:  "PREMIUM",
    }
    BillingTier_value = map[string]int32{
        "BILLING_TIER_UNSPECIFIED": 0,
        "STANDARD":                 1,
        "PREMIUM":                  2,
    }
)

Enum value maps for BillingTier.

var (
    BillingType_name = map[int32]string{
        0:  "BILLING_TYPE_UNSPECIFIED",
        1:  "SUBSCRIPTION",
        2:  "TRIAL_SUBSCRIPTION",
        3:  "ALPHA",
    }
    BillingType_value = map[string]int32{
        "BILLING_TYPE_UNSPECIFIED": 0,
        "SUBSCRIPTION":             1,
        "TRIAL_SUBSCRIPTION":       2,
        "ALPHA":                    3,
    }
)

Enum value maps for BillingType.

var (
    ComponentEnablementState_name = map[int32]string{
        0:  "COMPONENT_ENABLEMENT_STATE_UNSPECIFIED",
        1:  "DISABLE",
        2:  "ENABLE",
        3:  "INHERIT",
    }
    ComponentEnablementState_value = map[string]int32{
        "COMPONENT_ENABLEMENT_STATE_UNSPECIFIED": 0,
        "DISABLE":                                1,
        "ENABLE":                                 2,
        "INHERIT":                                3,
    }
)

Enum value maps for ComponentEnablementState.

var (
    Settings_OnboardingState_name = map[int32]string{
        0:  "ONBOARDING_STATE_UNSPECIFIED",
        1:  "ENABLED",
        2:  "DISABLED",
        3:  "BILLING_SELECTED",
        4:  "PROVIDERS_SELECTED",
        5:  "RESOURCES_SELECTED",
        6:  "ORG_SERVICE_ACCOUNT_CREATED",
    }
    Settings_OnboardingState_value = map[string]int32{
        "ONBOARDING_STATE_UNSPECIFIED": 0,
        "ENABLED":                      1,
        "DISABLED":                     2,
        "BILLING_SELECTED":             3,
        "PROVIDERS_SELECTED":           4,
        "RESOURCES_SELECTED":           5,
        "ORG_SERVICE_ACCOUNT_CREATED":  6,
    }
)

Enum value maps for Settings_OnboardingState.

var File_google_cloud_securitycenter_settings_v1beta1_billing_settings_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_settings_v1beta1_component_settings_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_settings_v1beta1_detector_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_settings_v1beta1_securitycenter_settings_service_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_settings_v1beta1_settings_proto protoreflect.FileDescriptor
var File_google_cloud_securitycenter_settings_v1beta1_sink_settings_proto protoreflect.FileDescriptor

func RegisterSecurityCenterSettingsServiceServer Uses

func RegisterSecurityCenterSettingsServiceServer(s *grpc.Server, srv SecurityCenterSettingsServiceServer)

type BatchCalculateEffectiveSettingsRequest Uses

type BatchCalculateEffectiveSettingsRequest struct {

    // Required. The relative resource name of the organization shared by all of the
    // settings being retrieved.
    // Format:
    //  * `organizations/{organization}`
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The requests specifying the effective settings to retrieve.
    // A maximum of 1000 effective settings can be retrieved in a batch.
    Requests []*CalculateEffectiveSettingsRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
    // contains filtered or unexported fields
}

Request message for BatchGetEffectiveSettings.

func (*BatchCalculateEffectiveSettingsRequest) Descriptor Uses

func (*BatchCalculateEffectiveSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCalculateEffectiveSettingsRequest.ProtoReflect.Descriptor instead.

func (*BatchCalculateEffectiveSettingsRequest) GetParent Uses

func (x *BatchCalculateEffectiveSettingsRequest) GetParent() string

func (*BatchCalculateEffectiveSettingsRequest) GetRequests Uses

func (x *BatchCalculateEffectiveSettingsRequest) GetRequests() []*CalculateEffectiveSettingsRequest

func (*BatchCalculateEffectiveSettingsRequest) ProtoMessage Uses

func (*BatchCalculateEffectiveSettingsRequest) ProtoMessage()

func (*BatchCalculateEffectiveSettingsRequest) ProtoReflect Uses

func (x *BatchCalculateEffectiveSettingsRequest) ProtoReflect() protoreflect.Message

func (*BatchCalculateEffectiveSettingsRequest) Reset Uses

func (x *BatchCalculateEffectiveSettingsRequest) Reset()

func (*BatchCalculateEffectiveSettingsRequest) String Uses

func (x *BatchCalculateEffectiveSettingsRequest) String() string

type BatchCalculateEffectiveSettingsResponse Uses

type BatchCalculateEffectiveSettingsResponse struct {

    // Settings requested.
    Settings []*Settings `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
    // contains filtered or unexported fields
}

Response message for BatchGetEffectiveSettings.

func (*BatchCalculateEffectiveSettingsResponse) Descriptor Uses

func (*BatchCalculateEffectiveSettingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCalculateEffectiveSettingsResponse.ProtoReflect.Descriptor instead.

func (*BatchCalculateEffectiveSettingsResponse) GetSettings Uses

func (x *BatchCalculateEffectiveSettingsResponse) GetSettings() []*Settings

func (*BatchCalculateEffectiveSettingsResponse) ProtoMessage Uses

func (*BatchCalculateEffectiveSettingsResponse) ProtoMessage()

func (*BatchCalculateEffectiveSettingsResponse) ProtoReflect Uses

func (x *BatchCalculateEffectiveSettingsResponse) ProtoReflect() protoreflect.Message

func (*BatchCalculateEffectiveSettingsResponse) Reset Uses

func (x *BatchCalculateEffectiveSettingsResponse) Reset()

func (*BatchCalculateEffectiveSettingsResponse) String Uses

func (x *BatchCalculateEffectiveSettingsResponse) String() string

type BatchGetSettingsRequest Uses

type BatchGetSettingsRequest struct {

    // Required. The relative resource name of the organization shared by all of the
    // settings being retrieved.
    // Format:
    //  * `organizations/{organization}`
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The names of the settings to retrieve.
    // A maximum of 1000 settings can be retrieved in a batch.
    // Formats:
    //  * `organizations/{organization}/settings`
    //  * `folders/{folder}/settings`
    //  * `projects/{project}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
    Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
    // contains filtered or unexported fields
}

Request message for BatchGetSettings.

func (*BatchGetSettingsRequest) Descriptor Uses

func (*BatchGetSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetSettingsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetSettingsRequest) GetNames Uses

func (x *BatchGetSettingsRequest) GetNames() []string

func (*BatchGetSettingsRequest) GetParent Uses

func (x *BatchGetSettingsRequest) GetParent() string

func (*BatchGetSettingsRequest) ProtoMessage Uses

func (*BatchGetSettingsRequest) ProtoMessage()

func (*BatchGetSettingsRequest) ProtoReflect Uses

func (x *BatchGetSettingsRequest) ProtoReflect() protoreflect.Message

func (*BatchGetSettingsRequest) Reset Uses

func (x *BatchGetSettingsRequest) Reset()

func (*BatchGetSettingsRequest) String Uses

func (x *BatchGetSettingsRequest) String() string

type BatchGetSettingsResponse Uses

type BatchGetSettingsResponse struct {

    // Settings requested.
    Settings []*Settings `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
    // contains filtered or unexported fields
}

Response message for BatchGetSettings.

func (*BatchGetSettingsResponse) Descriptor Uses

func (*BatchGetSettingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetSettingsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetSettingsResponse) GetSettings Uses

func (x *BatchGetSettingsResponse) GetSettings() []*Settings

func (*BatchGetSettingsResponse) ProtoMessage Uses

func (*BatchGetSettingsResponse) ProtoMessage()

func (*BatchGetSettingsResponse) ProtoReflect Uses

func (x *BatchGetSettingsResponse) ProtoReflect() protoreflect.Message

func (*BatchGetSettingsResponse) Reset Uses

func (x *BatchGetSettingsResponse) Reset()

func (*BatchGetSettingsResponse) String Uses

func (x *BatchGetSettingsResponse) String() string

type BillingSettings Uses

type BillingSettings struct {

    // Output only. Billing tier selected by customer
    BillingTier BillingTier `protobuf:"varint,1,opt,name=billing_tier,json=billingTier,proto3,enum=google.cloud.securitycenter.settings.v1beta1.BillingTier" json:"billing_tier,omitempty"`
    // Output only. Type of billing method
    BillingType BillingType `protobuf:"varint,2,opt,name=billing_type,json=billingType,proto3,enum=google.cloud.securitycenter.settings.v1beta1.BillingType" json:"billing_type,omitempty"`
    // Output only. The absolute point in time when the subscription became effective.
    // Can be compared to expire_time value to determine full contract duration
    StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Output only. The absolute point in time when the subscription expires.
    //
    // If this field is populated and billing_tier is STANDARD, this is
    // indication of a point in the _past_ when a PREMIUM access ended.
    ExpireTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
    // contains filtered or unexported fields
}

Billing settings

func (*BillingSettings) Descriptor Uses

func (*BillingSettings) Descriptor() ([]byte, []int)

Deprecated: Use BillingSettings.ProtoReflect.Descriptor instead.

func (*BillingSettings) GetBillingTier Uses

func (x *BillingSettings) GetBillingTier() BillingTier

func (*BillingSettings) GetBillingType Uses

func (x *BillingSettings) GetBillingType() BillingType

func (*BillingSettings) GetExpireTime Uses

func (x *BillingSettings) GetExpireTime() *timestamppb.Timestamp

func (*BillingSettings) GetStartTime Uses

func (x *BillingSettings) GetStartTime() *timestamppb.Timestamp

func (*BillingSettings) ProtoMessage Uses

func (*BillingSettings) ProtoMessage()

func (*BillingSettings) ProtoReflect Uses

func (x *BillingSettings) ProtoReflect() protoreflect.Message

func (*BillingSettings) Reset Uses

func (x *BillingSettings) Reset()

func (*BillingSettings) String Uses

func (x *BillingSettings) String() string

type BillingTier Uses

type BillingTier int32

Billing tier options

const (
    // Default value. This value is unused.
    BillingTier_BILLING_TIER_UNSPECIFIED BillingTier = 0
    // The standard billing tier.
    BillingTier_STANDARD BillingTier = 1
    // The premium billing tier.
    BillingTier_PREMIUM BillingTier = 2
)

func (BillingTier) Descriptor Uses

func (BillingTier) Descriptor() protoreflect.EnumDescriptor

func (BillingTier) Enum Uses

func (x BillingTier) Enum() *BillingTier

func (BillingTier) EnumDescriptor Uses

func (BillingTier) EnumDescriptor() ([]byte, []int)

Deprecated: Use BillingTier.Descriptor instead.

func (BillingTier) Number Uses

func (x BillingTier) Number() protoreflect.EnumNumber

func (BillingTier) String Uses

func (x BillingTier) String() string

func (BillingTier) Type Uses

func (BillingTier) Type() protoreflect.EnumType

type BillingType Uses

type BillingType int32

Billing type

const (
    // Default billing type
    BillingType_BILLING_TYPE_UNSPECIFIED BillingType = 0
    // Subscription for Premium billing tier
    BillingType_SUBSCRIPTION BillingType = 1
    // Trial subscription for Premium billing tier
    BillingType_TRIAL_SUBSCRIPTION BillingType = 2
    // Alpha customer for Premium billing tier
    BillingType_ALPHA BillingType = 3
)

func (BillingType) Descriptor Uses

func (BillingType) Descriptor() protoreflect.EnumDescriptor

func (BillingType) Enum Uses

func (x BillingType) Enum() *BillingType

func (BillingType) EnumDescriptor Uses

func (BillingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BillingType.Descriptor instead.

func (BillingType) Number Uses

func (x BillingType) Number() protoreflect.EnumNumber

func (BillingType) String Uses

func (x BillingType) String() string

func (BillingType) Type Uses

func (BillingType) Type() protoreflect.EnumType

type CalculateEffectiveComponentSettingsRequest Uses

type CalculateEffectiveComponentSettingsRequest struct {

    // Required. The effective component settings to retrieve.
    //
    // Formats:
    //  * `organizations/{organization}/components/{component}/settings`
    //  * `folders/{folder}/components/{component}/settings`
    //  * `projects/{project}/components/{component}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for CalculateEffectiveComponentSettings.

func (*CalculateEffectiveComponentSettingsRequest) Descriptor Uses

func (*CalculateEffectiveComponentSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CalculateEffectiveComponentSettingsRequest.ProtoReflect.Descriptor instead.

func (*CalculateEffectiveComponentSettingsRequest) GetName Uses

func (x *CalculateEffectiveComponentSettingsRequest) GetName() string

func (*CalculateEffectiveComponentSettingsRequest) ProtoMessage Uses

func (*CalculateEffectiveComponentSettingsRequest) ProtoMessage()

func (*CalculateEffectiveComponentSettingsRequest) ProtoReflect Uses

func (x *CalculateEffectiveComponentSettingsRequest) ProtoReflect() protoreflect.Message

func (*CalculateEffectiveComponentSettingsRequest) Reset Uses

func (x *CalculateEffectiveComponentSettingsRequest) Reset()

func (*CalculateEffectiveComponentSettingsRequest) String Uses

func (x *CalculateEffectiveComponentSettingsRequest) String() string

type CalculateEffectiveSettingsRequest Uses

type CalculateEffectiveSettingsRequest struct {

    // Required. The name of the effective settings to retrieve.
    // Formats:
    //  * `organizations/{organization}/effectiveSettings`
    //  * `folders/{folder}/effectiveSettings`
    //  * `projects/{project}/effectiveSettings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/effectiveSettings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/effectiveSettings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/effectiveSettings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for CalculateEffectiveSettings.

func (*CalculateEffectiveSettingsRequest) Descriptor Uses

func (*CalculateEffectiveSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CalculateEffectiveSettingsRequest.ProtoReflect.Descriptor instead.

func (*CalculateEffectiveSettingsRequest) GetName Uses

func (x *CalculateEffectiveSettingsRequest) GetName() string

func (*CalculateEffectiveSettingsRequest) ProtoMessage Uses

func (*CalculateEffectiveSettingsRequest) ProtoMessage()

func (*CalculateEffectiveSettingsRequest) ProtoReflect Uses

func (x *CalculateEffectiveSettingsRequest) ProtoReflect() protoreflect.Message

func (*CalculateEffectiveSettingsRequest) Reset Uses

func (x *CalculateEffectiveSettingsRequest) Reset()

func (*CalculateEffectiveSettingsRequest) String Uses

func (x *CalculateEffectiveSettingsRequest) String() string

type ComponentEnablementState Uses

type ComponentEnablementState int32

Valid states for a component

const (
    // No state specified, equivalent of INHERIT
    ComponentEnablementState_COMPONENT_ENABLEMENT_STATE_UNSPECIFIED ComponentEnablementState = 0
    // Disable the component
    ComponentEnablementState_DISABLE ComponentEnablementState = 1
    // Enable the component
    ComponentEnablementState_ENABLE ComponentEnablementState = 2
    // Inherit the state from resources parent folder or organization.
    ComponentEnablementState_INHERIT ComponentEnablementState = 3
)

func (ComponentEnablementState) Descriptor Uses

func (ComponentEnablementState) Descriptor() protoreflect.EnumDescriptor

func (ComponentEnablementState) Enum Uses

func (x ComponentEnablementState) Enum() *ComponentEnablementState

func (ComponentEnablementState) EnumDescriptor Uses

func (ComponentEnablementState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ComponentEnablementState.Descriptor instead.

func (ComponentEnablementState) Number Uses

func (x ComponentEnablementState) Number() protoreflect.EnumNumber

func (ComponentEnablementState) String Uses

func (x ComponentEnablementState) String() string

func (ComponentEnablementState) Type Uses

func (ComponentEnablementState) Type() protoreflect.EnumType

type ComponentSettings Uses

type ComponentSettings struct {

    // The relative resource name of the component settings.
    // Formats:
    //  * `organizations/{organization}/components/{component}/settings`
    //  * `folders/{folder}/components/{component}/settings`
    //  * `projects/{project}/components/{component}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // ENABLE to enable component, DISABLE to disable and INHERIT to inherit
    // setting from ancestors.
    State ComponentEnablementState `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState" json:"state,omitempty"`
    // Output only. The service account to be used for security center component.
    // The component must have permission to "act as" the service account.
    ProjectServiceAccount string `protobuf:"bytes,3,opt,name=project_service_account,json=projectServiceAccount,proto3" json:"project_service_account,omitempty"`
    // Settings for detectors.  Not all detectors must have settings present at
    // each and every level in the hierarchy.  If it is not present the setting
    // will be inherited from its ancestors folders, organizations or the
    // defaults.
    DetectorSettings map[string]*ComponentSettings_DetectorSettings `protobuf:"bytes,4,rep,name=detector_settings,json=detectorSettings,proto3" json:"detector_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Output only. An fingerprint used for optimistic concurrency. If none is provided
    // on updates then the existing metadata will be blindly overwritten.
    Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
    // Output only. The time these settings were last updated.
    UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Component specific settings.  This must match the component value.
    //
    // Types that are assignable to SpecificSettings:
    //	*ComponentSettings_ContainerThreatDetectionSettings
    //	*ComponentSettings_EventThreatDetectionSettings
    //	*ComponentSettings_SecurityHealthAnalyticsSettings
    //	*ComponentSettings_WebSecurityScannerSettings
    SpecificSettings isComponentSettings_SpecificSettings `protobuf_oneof:"specific_settings"`
    // contains filtered or unexported fields
}

Component Settings for Security Command Center

func (*ComponentSettings) Descriptor Uses

func (*ComponentSettings) Descriptor() ([]byte, []int)

Deprecated: Use ComponentSettings.ProtoReflect.Descriptor instead.

func (*ComponentSettings) GetContainerThreatDetectionSettings Uses

func (x *ComponentSettings) GetContainerThreatDetectionSettings() *ContainerThreatDetectionSettings

func (*ComponentSettings) GetDetectorSettings Uses

func (x *ComponentSettings) GetDetectorSettings() map[string]*ComponentSettings_DetectorSettings

func (*ComponentSettings) GetEtag Uses

func (x *ComponentSettings) GetEtag() string

func (*ComponentSettings) GetEventThreatDetectionSettings Uses

func (x *ComponentSettings) GetEventThreatDetectionSettings() *EventThreatDetectionSettings

func (*ComponentSettings) GetName Uses

func (x *ComponentSettings) GetName() string

func (*ComponentSettings) GetProjectServiceAccount Uses

func (x *ComponentSettings) GetProjectServiceAccount() string

func (*ComponentSettings) GetSecurityHealthAnalyticsSettings Uses

func (x *ComponentSettings) GetSecurityHealthAnalyticsSettings() *SecurityHealthAnalyticsSettings

func (*ComponentSettings) GetSpecificSettings Uses

func (m *ComponentSettings) GetSpecificSettings() isComponentSettings_SpecificSettings

func (*ComponentSettings) GetState Uses

func (x *ComponentSettings) GetState() ComponentEnablementState

func (*ComponentSettings) GetUpdateTime Uses

func (x *ComponentSettings) GetUpdateTime() *timestamppb.Timestamp

func (*ComponentSettings) GetWebSecurityScannerSettings Uses

func (x *ComponentSettings) GetWebSecurityScannerSettings() *WebSecurityScanner

func (*ComponentSettings) ProtoMessage Uses

func (*ComponentSettings) ProtoMessage()

func (*ComponentSettings) ProtoReflect Uses

func (x *ComponentSettings) ProtoReflect() protoreflect.Message

func (*ComponentSettings) Reset Uses

func (x *ComponentSettings) Reset()

func (*ComponentSettings) String Uses

func (x *ComponentSettings) String() string

type ComponentSettings_ContainerThreatDetectionSettings Uses

type ComponentSettings_ContainerThreatDetectionSettings struct {
    // Container Threate Detection specific settings
    // For component, expect CONTAINER_THREAT_DETECTION
    ContainerThreatDetectionSettings *ContainerThreatDetectionSettings `protobuf:"bytes,41,opt,name=container_threat_detection_settings,json=containerThreatDetectionSettings,proto3,oneof"`
}

type ComponentSettings_DetectorSettings Uses

type ComponentSettings_DetectorSettings struct {

    // ENABLE to enable component, DISABLE to disable and INHERIT to inherit
    // setting from ancestors.
    State ComponentEnablementState `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState" json:"state,omitempty"`
    // contains filtered or unexported fields
}

Settings for each detector.

func (*ComponentSettings_DetectorSettings) Descriptor Uses

func (*ComponentSettings_DetectorSettings) Descriptor() ([]byte, []int)

Deprecated: Use ComponentSettings_DetectorSettings.ProtoReflect.Descriptor instead.

func (*ComponentSettings_DetectorSettings) GetState Uses

func (x *ComponentSettings_DetectorSettings) GetState() ComponentEnablementState

func (*ComponentSettings_DetectorSettings) ProtoMessage Uses

func (*ComponentSettings_DetectorSettings) ProtoMessage()

func (*ComponentSettings_DetectorSettings) ProtoReflect Uses

func (x *ComponentSettings_DetectorSettings) ProtoReflect() protoreflect.Message

func (*ComponentSettings_DetectorSettings) Reset Uses

func (x *ComponentSettings_DetectorSettings) Reset()

func (*ComponentSettings_DetectorSettings) String Uses

func (x *ComponentSettings_DetectorSettings) String() string

type ComponentSettings_EventThreatDetectionSettings Uses

type ComponentSettings_EventThreatDetectionSettings struct {
    // Event Threat Detection specific settings
    // For component, expect EVENT_THREAT_DETECTION
    EventThreatDetectionSettings *EventThreatDetectionSettings `protobuf:"bytes,42,opt,name=event_threat_detection_settings,json=eventThreatDetectionSettings,proto3,oneof"`
}

type ComponentSettings_SecurityHealthAnalyticsSettings Uses

type ComponentSettings_SecurityHealthAnalyticsSettings struct {
    // Security Health Analytics specific settings
    // For component, expect SECURITY_HEALTH_ANALYTICS
    SecurityHealthAnalyticsSettings *SecurityHealthAnalyticsSettings `protobuf:"bytes,44,opt,name=security_health_analytics_settings,json=securityHealthAnalyticsSettings,proto3,oneof"`
}

type ComponentSettings_WebSecurityScannerSettings Uses

type ComponentSettings_WebSecurityScannerSettings struct {
    // Web Security Scanner specific settings
    // For component, expect WEB_SECURITY_SCANNER
    WebSecurityScannerSettings *WebSecurityScanner `protobuf:"bytes,40,opt,name=web_security_scanner_settings,json=webSecurityScannerSettings,proto3,oneof"`
}

type ContainerThreatDetectionSettings Uses

type ContainerThreatDetectionSettings struct {
    // contains filtered or unexported fields
}

User specified settings for KTD

func (*ContainerThreatDetectionSettings) Descriptor Uses

func (*ContainerThreatDetectionSettings) Descriptor() ([]byte, []int)

Deprecated: Use ContainerThreatDetectionSettings.ProtoReflect.Descriptor instead.

func (*ContainerThreatDetectionSettings) ProtoMessage Uses

func (*ContainerThreatDetectionSettings) ProtoMessage()

func (*ContainerThreatDetectionSettings) ProtoReflect Uses

func (x *ContainerThreatDetectionSettings) ProtoReflect() protoreflect.Message

func (*ContainerThreatDetectionSettings) Reset Uses

func (x *ContainerThreatDetectionSettings) Reset()

func (*ContainerThreatDetectionSettings) String Uses

func (x *ContainerThreatDetectionSettings) String() string

type Detector Uses

type Detector struct {

    // Output only. Detector Identifier
    Detector string `protobuf:"bytes,1,opt,name=detector,proto3" json:"detector,omitempty"`
    // Output only. Component that supports detector type.  Multiple components may support the
    // same detector.
    Component string `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`
    // Output only. The billing tier may be different for a detector of the same name in
    // another component.
    BillingTier BillingTier `protobuf:"varint,3,opt,name=billing_tier,json=billingTier,proto3,enum=google.cloud.securitycenter.settings.v1beta1.BillingTier" json:"billing_tier,omitempty"`
    // Output only. Google curated detector labels. These are alphanumeric tags that are not
    // necessarily human readable. Labels can be used to group detectors together
    // in the future. An example might be tagging all detectors “PCI” that help
    // with PCI compliance.
    DetectorLabels []string `protobuf:"bytes,4,rep,name=detector_labels,json=detectorLabels,proto3" json:"detector_labels,omitempty"`
    // contains filtered or unexported fields
}

Detector is a set of detectors or scanners act as individual checks done within a component e.g. bad IP, bad domains, IAM anomaly, cryptomining, open firewall, etc. Detector is independent of Organization, meaning each detector must be defined for a given Security Center component under a specified billing tier. Organizations can configure the list of detectors based on their subscribed billing tier.

Defines a detector, its billing tier and any applicable labels.

func (*Detector) Descriptor Uses

func (*Detector) Descriptor() ([]byte, []int)

Deprecated: Use Detector.ProtoReflect.Descriptor instead.

func (*Detector) GetBillingTier Uses

func (x *Detector) GetBillingTier() BillingTier

func (*Detector) GetComponent Uses

func (x *Detector) GetComponent() string

func (*Detector) GetDetector Uses

func (x *Detector) GetDetector() string

func (*Detector) GetDetectorLabels Uses

func (x *Detector) GetDetectorLabels() []string

func (*Detector) ProtoMessage Uses

func (*Detector) ProtoMessage()

func (*Detector) ProtoReflect Uses

func (x *Detector) ProtoReflect() protoreflect.Message

func (*Detector) Reset Uses

func (x *Detector) Reset()

func (*Detector) String Uses

func (x *Detector) String() string

type EventThreatDetectionSettings Uses

type EventThreatDetectionSettings struct {
    // contains filtered or unexported fields
}

User specified settings for ETD

func (*EventThreatDetectionSettings) Descriptor Uses

func (*EventThreatDetectionSettings) Descriptor() ([]byte, []int)

Deprecated: Use EventThreatDetectionSettings.ProtoReflect.Descriptor instead.

func (*EventThreatDetectionSettings) ProtoMessage Uses

func (*EventThreatDetectionSettings) ProtoMessage()

func (*EventThreatDetectionSettings) ProtoReflect Uses

func (x *EventThreatDetectionSettings) ProtoReflect() protoreflect.Message

func (*EventThreatDetectionSettings) Reset Uses

func (x *EventThreatDetectionSettings) Reset()

func (*EventThreatDetectionSettings) String Uses

func (x *EventThreatDetectionSettings) String() string

type GetComponentSettingsRequest Uses

type GetComponentSettingsRequest struct {

    // Required. The component settings to retrieve.
    //
    // Formats:
    //  * `organizations/{organization}/components/{component}/settings`
    //  * `folders/{folder}/components/{component}/settings`
    //  * `projects/{project}/components/{component}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for GetComponentSettings.

func (*GetComponentSettingsRequest) Descriptor Uses

func (*GetComponentSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetComponentSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetComponentSettingsRequest) GetName Uses

func (x *GetComponentSettingsRequest) GetName() string

func (*GetComponentSettingsRequest) ProtoMessage Uses

func (*GetComponentSettingsRequest) ProtoMessage()

func (*GetComponentSettingsRequest) ProtoReflect Uses

func (x *GetComponentSettingsRequest) ProtoReflect() protoreflect.Message

func (*GetComponentSettingsRequest) Reset Uses

func (x *GetComponentSettingsRequest) Reset()

func (*GetComponentSettingsRequest) String Uses

func (x *GetComponentSettingsRequest) String() string

type GetServiceAccountRequest Uses

type GetServiceAccountRequest struct {

    // Required. The relative resource name of the service account resource.
    // Format:
    //  * `organizations/{organization}/serviceAccount`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for GetServiceAccount.

func (*GetServiceAccountRequest) Descriptor Uses

func (*GetServiceAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*GetServiceAccountRequest) GetName Uses

func (x *GetServiceAccountRequest) GetName() string

func (*GetServiceAccountRequest) ProtoMessage Uses

func (*GetServiceAccountRequest) ProtoMessage()

func (*GetServiceAccountRequest) ProtoReflect Uses

func (x *GetServiceAccountRequest) ProtoReflect() protoreflect.Message

func (*GetServiceAccountRequest) Reset Uses

func (x *GetServiceAccountRequest) Reset()

func (*GetServiceAccountRequest) String Uses

func (x *GetServiceAccountRequest) String() string

type GetSettingsRequest Uses

type GetSettingsRequest struct {

    // Required. The name of the settings to retrieve.
    // Formats:
    //  * `organizations/{organization}/settings`
    //  * `folders/{folder}/settings`
    //  * `projects/{project}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request message for GetSettings.

func (*GetSettingsRequest) Descriptor Uses

func (*GetSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSettingsRequest) GetName Uses

func (x *GetSettingsRequest) GetName() string

func (*GetSettingsRequest) ProtoMessage Uses

func (*GetSettingsRequest) ProtoMessage()

func (*GetSettingsRequest) ProtoReflect Uses

func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message

func (*GetSettingsRequest) Reset Uses

func (x *GetSettingsRequest) Reset()

func (*GetSettingsRequest) String Uses

func (x *GetSettingsRequest) String() string

type ListComponentsRequest Uses

type ListComponentsRequest struct {

    // Required. The parent, which owns this collection of components.
    // Format:
    //  * `organizations/{organization}`
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The maximum number of components to return. The service may return fewer
    // than this value. If unspecified, at most 100 components will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `ListComponents` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `ListComponents` must
    // match the call that provided the page token.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request message for ListComponents.

func (*ListComponentsRequest) Descriptor Uses

func (*ListComponentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListComponentsRequest.ProtoReflect.Descriptor instead.

func (*ListComponentsRequest) GetPageSize Uses

func (x *ListComponentsRequest) GetPageSize() int32

func (*ListComponentsRequest) GetPageToken Uses

func (x *ListComponentsRequest) GetPageToken() string

func (*ListComponentsRequest) GetParent Uses

func (x *ListComponentsRequest) GetParent() string

func (*ListComponentsRequest) ProtoMessage Uses

func (*ListComponentsRequest) ProtoMessage()

func (*ListComponentsRequest) ProtoReflect Uses

func (x *ListComponentsRequest) ProtoReflect() protoreflect.Message

func (*ListComponentsRequest) Reset Uses

func (x *ListComponentsRequest) Reset()

func (*ListComponentsRequest) String Uses

func (x *ListComponentsRequest) String() string

type ListComponentsResponse Uses

type ListComponentsResponse struct {

    // The components from the specified organization.
    Components []string `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
    // A token that can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there are no subsequent pages.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response message for ListComponents.

func (*ListComponentsResponse) Descriptor Uses

func (*ListComponentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListComponentsResponse.ProtoReflect.Descriptor instead.

func (*ListComponentsResponse) GetComponents Uses

func (x *ListComponentsResponse) GetComponents() []string

func (*ListComponentsResponse) GetNextPageToken Uses

func (x *ListComponentsResponse) GetNextPageToken() string

func (*ListComponentsResponse) ProtoMessage Uses

func (*ListComponentsResponse) ProtoMessage()

func (*ListComponentsResponse) ProtoReflect Uses

func (x *ListComponentsResponse) ProtoReflect() protoreflect.Message

func (*ListComponentsResponse) Reset Uses

func (x *ListComponentsResponse) Reset()

func (*ListComponentsResponse) String Uses

func (x *ListComponentsResponse) String() string

type ListDetectorsRequest Uses

type ListDetectorsRequest struct {

    // Required. The parent, which owns this collection of detectors.
    // Format:
    //  * `organizations/{organization}`
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Filters to apply on the response. Filters can be applied on:
    //  * components
    //  * labels
    //  * billing tiers
    //
    // Component filters will retrieve only detectors for the components
    // specified. Label filters will retrieve only detectors that match one of the
    // labels specified. Billing tier filters will retrieve only detectors for
    // that billing tier.
    //
    // The filters
    Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
    // The maximum number of detectors to return. The service may return fewer
    // than this value. If unspecified, at most 100 detectors will be returned.
    // The maximum value is 1000; values above 1000 will be coerced to 1000.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // A page token, received from a previous `ListDetectors` call.
    // Provide this to retrieve the subsequent page.
    //
    // When paginating, all other parameters provided to `ListDetectors` must
    // match the call that provided the page token.
    PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request message for ListDetectors.

func (*ListDetectorsRequest) Descriptor Uses

func (*ListDetectorsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListDetectorsRequest.ProtoReflect.Descriptor instead.

func (*ListDetectorsRequest) GetFilter Uses

func (x *ListDetectorsRequest) GetFilter() string

func (*ListDetectorsRequest) GetPageSize Uses

func (x *ListDetectorsRequest) GetPageSize() int32

func (*ListDetectorsRequest) GetPageToken Uses

func (x *ListDetectorsRequest) GetPageToken() string

func (*ListDetectorsRequest) GetParent Uses

func (x *ListDetectorsRequest) GetParent() string

func (*ListDetectorsRequest) ProtoMessage Uses

func (*ListDetectorsRequest) ProtoMessage()

func (*ListDetectorsRequest) ProtoReflect Uses

func (x *ListDetectorsRequest) ProtoReflect() protoreflect.Message

func (*ListDetectorsRequest) Reset Uses

func (x *ListDetectorsRequest) Reset()

func (*ListDetectorsRequest) String Uses

func (x *ListDetectorsRequest) String() string

type ListDetectorsResponse Uses

type ListDetectorsResponse struct {

    // The detectors from the specified organization.
    Detectors []*Detector `protobuf:"bytes,1,rep,name=detectors,proto3" json:"detectors,omitempty"`
    // A token that can be sent as `page_token` to retrieve the next page.
    // If this field is omitted, there are no subsequent pages.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response message for ListDetectors.

func (*ListDetectorsResponse) Descriptor Uses

func (*ListDetectorsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListDetectorsResponse.ProtoReflect.Descriptor instead.

func (*ListDetectorsResponse) GetDetectors Uses

func (x *ListDetectorsResponse) GetDetectors() []*Detector

func (*ListDetectorsResponse) GetNextPageToken Uses

func (x *ListDetectorsResponse) GetNextPageToken() string

func (*ListDetectorsResponse) ProtoMessage Uses

func (*ListDetectorsResponse) ProtoMessage()

func (*ListDetectorsResponse) ProtoReflect Uses

func (x *ListDetectorsResponse) ProtoReflect() protoreflect.Message

func (*ListDetectorsResponse) Reset Uses

func (x *ListDetectorsResponse) Reset()

func (*ListDetectorsResponse) String Uses

func (x *ListDetectorsResponse) String() string

type ResetComponentSettingsRequest Uses

type ResetComponentSettingsRequest struct {

    // Required. The component settings to reset.
    //
    // Formats:
    //  * `organizations/{organization}/components/{component}/settings`
    //  * `folders/{folder}/components/{component}/settings`
    //  * `projects/{project}/components/{component}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // An fingerprint used for optimistic concurrency. If none is provided,
    // then the existing settings will be blindly overwritten.
    Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // contains filtered or unexported fields
}

Request message for ResetComponentSettings.

func (*ResetComponentSettingsRequest) Descriptor Uses

func (*ResetComponentSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetComponentSettingsRequest.ProtoReflect.Descriptor instead.

func (*ResetComponentSettingsRequest) GetEtag Uses

func (x *ResetComponentSettingsRequest) GetEtag() string

func (*ResetComponentSettingsRequest) GetName Uses

func (x *ResetComponentSettingsRequest) GetName() string

func (*ResetComponentSettingsRequest) ProtoMessage Uses

func (*ResetComponentSettingsRequest) ProtoMessage()

func (*ResetComponentSettingsRequest) ProtoReflect Uses

func (x *ResetComponentSettingsRequest) ProtoReflect() protoreflect.Message

func (*ResetComponentSettingsRequest) Reset Uses

func (x *ResetComponentSettingsRequest) Reset()

func (*ResetComponentSettingsRequest) String Uses

func (x *ResetComponentSettingsRequest) String() string

type ResetSettingsRequest Uses

type ResetSettingsRequest struct {

    // Required. The name of the settings to reset.
    // Formats:
    //  * `organizations/{organization}/settings`
    //  * `folders/{folder}/settings`
    //  * `projects/{project}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A fingerprint used for optimistic concurrency. If none is provided,
    // then the existing settings will be blindly overwritten.
    Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // contains filtered or unexported fields
}

Request message for ResetSettings.

func (*ResetSettingsRequest) Descriptor Uses

func (*ResetSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetSettingsRequest.ProtoReflect.Descriptor instead.

func (*ResetSettingsRequest) GetEtag Uses

func (x *ResetSettingsRequest) GetEtag() string

func (*ResetSettingsRequest) GetName Uses

func (x *ResetSettingsRequest) GetName() string

func (*ResetSettingsRequest) ProtoMessage Uses

func (*ResetSettingsRequest) ProtoMessage()

func (*ResetSettingsRequest) ProtoReflect Uses

func (x *ResetSettingsRequest) ProtoReflect() protoreflect.Message

func (*ResetSettingsRequest) Reset Uses

func (x *ResetSettingsRequest) Reset()

func (*ResetSettingsRequest) String Uses

func (x *ResetSettingsRequest) String() string

type SecurityCenterSettingsServiceClient Uses

type SecurityCenterSettingsServiceClient interface {
    // Retrieves the organizations service account, if it exists, otherwise it
    // creates the organization service account. This API is idempotent and
    // will only create a service account once. On subsequent calls it will
    // return the previously created service account.  SHA, SCC and CTD Infra
    // Automation will use this SA.  This SA will not have any permissions when
    // created.  The UI will provision this via IAM or the user will using
    // their own internal process. This API only creates SAs on the organization.
    // Folders are not supported and projects will use per-project SAs associated
    // with APIs enabled on a project. This API will be called by the UX
    // onboarding workflow.
    GetServiceAccount(ctx context.Context, in *GetServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error)
    // Gets the Settings.
    GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*Settings, error)
    // Updates the Settings.
    UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...grpc.CallOption) (*Settings, error)
    // Reset the organization, folder or project's settings and return
    // the settings of just that resource to the default.
    //
    // Settings are present at the organization, folder, project, and cluster
    // levels. Using Reset on a sub-organization level will remove that resource's
    // override and result in the parent's settings being used (eg: if Reset on a
    // cluster, project settings will be used).
    //
    // Using Reset on organization will remove the override that was set and
    // result in default settings being used.
    ResetSettings(ctx context.Context, in *ResetSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Gets a list of settings.
    BatchGetSettings(ctx context.Context, in *BatchGetSettingsRequest, opts ...grpc.CallOption) (*BatchGetSettingsResponse, error)
    // CalculateEffectiveSettings looks up all of the Security Center
    // Settings resources in the GCP resource hierarchy, and calculates the
    // effective settings on that resource by applying the following rules:
    //  * Settings provided closer to the target resource take precedence over
    //    those further away (e.g. folder will override organization level
    //    settings).
    //  * Product defaults can be overridden at org, folder, project, and cluster
    //  levels.
    //  * Detectors will be filtered out if they belong to a billing tier the
    //  customer
    //    has not configured.
    CalculateEffectiveSettings(ctx context.Context, in *CalculateEffectiveSettingsRequest, opts ...grpc.CallOption) (*Settings, error)
    // Gets a list of effective settings.
    BatchCalculateEffectiveSettings(ctx context.Context, in *BatchCalculateEffectiveSettingsRequest, opts ...grpc.CallOption) (*BatchCalculateEffectiveSettingsResponse, error)
    // Gets the Component Settings.
    GetComponentSettings(ctx context.Context, in *GetComponentSettingsRequest, opts ...grpc.CallOption) (*ComponentSettings, error)
    // Updates the Component Settings.
    UpdateComponentSettings(ctx context.Context, in *UpdateComponentSettingsRequest, opts ...grpc.CallOption) (*ComponentSettings, error)
    // Reset the organization, folder or project's component settings and return
    // the settings to the default. Settings are present at the
    // organization, folder and project levels. Using Reset for a folder or
    // project will remove the override that was set and result in the
    // organization-level settings being used.
    ResetComponentSettings(ctx context.Context, in *ResetComponentSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Gets the Effective Component Settings.
    CalculateEffectiveComponentSettings(ctx context.Context, in *CalculateEffectiveComponentSettingsRequest, opts ...grpc.CallOption) (*ComponentSettings, error)
    // Retrieves an unordered list of available detectors.
    ListDetectors(ctx context.Context, in *ListDetectorsRequest, opts ...grpc.CallOption) (*ListDetectorsResponse, error)
    // Retrieves an unordered list of available SCC components.
    ListComponents(ctx context.Context, in *ListComponentsRequest, opts ...grpc.CallOption) (*ListComponentsResponse, error)
}

SecurityCenterSettingsServiceClient is the client API for SecurityCenterSettingsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSecurityCenterSettingsServiceClient Uses

func NewSecurityCenterSettingsServiceClient(cc grpc.ClientConnInterface) SecurityCenterSettingsServiceClient

type SecurityCenterSettingsServiceServer Uses

type SecurityCenterSettingsServiceServer interface {
    // Retrieves the organizations service account, if it exists, otherwise it
    // creates the organization service account. This API is idempotent and
    // will only create a service account once. On subsequent calls it will
    // return the previously created service account.  SHA, SCC and CTD Infra
    // Automation will use this SA.  This SA will not have any permissions when
    // created.  The UI will provision this via IAM or the user will using
    // their own internal process. This API only creates SAs on the organization.
    // Folders are not supported and projects will use per-project SAs associated
    // with APIs enabled on a project. This API will be called by the UX
    // onboarding workflow.
    GetServiceAccount(context.Context, *GetServiceAccountRequest) (*ServiceAccount, error)
    // Gets the Settings.
    GetSettings(context.Context, *GetSettingsRequest) (*Settings, error)
    // Updates the Settings.
    UpdateSettings(context.Context, *UpdateSettingsRequest) (*Settings, error)
    // Reset the organization, folder or project's settings and return
    // the settings of just that resource to the default.
    //
    // Settings are present at the organization, folder, project, and cluster
    // levels. Using Reset on a sub-organization level will remove that resource's
    // override and result in the parent's settings being used (eg: if Reset on a
    // cluster, project settings will be used).
    //
    // Using Reset on organization will remove the override that was set and
    // result in default settings being used.
    ResetSettings(context.Context, *ResetSettingsRequest) (*emptypb.Empty, error)
    // Gets a list of settings.
    BatchGetSettings(context.Context, *BatchGetSettingsRequest) (*BatchGetSettingsResponse, error)
    // CalculateEffectiveSettings looks up all of the Security Center
    // Settings resources in the GCP resource hierarchy, and calculates the
    // effective settings on that resource by applying the following rules:
    //  * Settings provided closer to the target resource take precedence over
    //    those further away (e.g. folder will override organization level
    //    settings).
    //  * Product defaults can be overridden at org, folder, project, and cluster
    //  levels.
    //  * Detectors will be filtered out if they belong to a billing tier the
    //  customer
    //    has not configured.
    CalculateEffectiveSettings(context.Context, *CalculateEffectiveSettingsRequest) (*Settings, error)
    // Gets a list of effective settings.
    BatchCalculateEffectiveSettings(context.Context, *BatchCalculateEffectiveSettingsRequest) (*BatchCalculateEffectiveSettingsResponse, error)
    // Gets the Component Settings.
    GetComponentSettings(context.Context, *GetComponentSettingsRequest) (*ComponentSettings, error)
    // Updates the Component Settings.
    UpdateComponentSettings(context.Context, *UpdateComponentSettingsRequest) (*ComponentSettings, error)
    // Reset the organization, folder or project's component settings and return
    // the settings to the default. Settings are present at the
    // organization, folder and project levels. Using Reset for a folder or
    // project will remove the override that was set and result in the
    // organization-level settings being used.
    ResetComponentSettings(context.Context, *ResetComponentSettingsRequest) (*emptypb.Empty, error)
    // Gets the Effective Component Settings.
    CalculateEffectiveComponentSettings(context.Context, *CalculateEffectiveComponentSettingsRequest) (*ComponentSettings, error)
    // Retrieves an unordered list of available detectors.
    ListDetectors(context.Context, *ListDetectorsRequest) (*ListDetectorsResponse, error)
    // Retrieves an unordered list of available SCC components.
    ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error)
}

SecurityCenterSettingsServiceServer is the server API for SecurityCenterSettingsService service.

type SecurityHealthAnalyticsSettings Uses

type SecurityHealthAnalyticsSettings struct {

    // Settings for "NON_ORG_IAM_MEMBER" scanner.
    NonOrgIamMemberSettings *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings `protobuf:"bytes,1,opt,name=non_org_iam_member_settings,json=nonOrgIamMemberSettings,proto3" json:"non_org_iam_member_settings,omitempty"`
    // Settings for "ADMIN_SERVICE_ACCOUNT" scanner.
    AdminServiceAccountSettings *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings `protobuf:"bytes,2,opt,name=admin_service_account_settings,json=adminServiceAccountSettings,proto3" json:"admin_service_account_settings,omitempty"`
    // contains filtered or unexported fields
}

User specified settings for Security Health Analytics

func (*SecurityHealthAnalyticsSettings) Descriptor Uses

func (*SecurityHealthAnalyticsSettings) Descriptor() ([]byte, []int)

Deprecated: Use SecurityHealthAnalyticsSettings.ProtoReflect.Descriptor instead.

func (*SecurityHealthAnalyticsSettings) GetAdminServiceAccountSettings Uses

func (x *SecurityHealthAnalyticsSettings) GetAdminServiceAccountSettings() *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings

func (*SecurityHealthAnalyticsSettings) GetNonOrgIamMemberSettings Uses

func (x *SecurityHealthAnalyticsSettings) GetNonOrgIamMemberSettings() *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings

func (*SecurityHealthAnalyticsSettings) ProtoMessage Uses

func (*SecurityHealthAnalyticsSettings) ProtoMessage()

func (*SecurityHealthAnalyticsSettings) ProtoReflect Uses

func (x *SecurityHealthAnalyticsSettings) ProtoReflect() protoreflect.Message

func (*SecurityHealthAnalyticsSettings) Reset Uses

func (x *SecurityHealthAnalyticsSettings) Reset()

func (*SecurityHealthAnalyticsSettings) String Uses

func (x *SecurityHealthAnalyticsSettings) String() string

type SecurityHealthAnalyticsSettings_AdminServiceAccountSettings Uses

type SecurityHealthAnalyticsSettings_AdminServiceAccountSettings struct {

    // User-created service accounts ending in the provided identities are
    // allowed to have Admin, Owner or Editor roles granted to them. Otherwise
    // a finding will be created.
    // A valid identity can be:
    //   *  a partilly specified service account that starts with "@", e.g.
    //   "@myproject.iam.gserviceaccount.com". This approves all the service
    //   accounts suffixed with the specified identity.
    //   *  a fully specified service account that does not start with "@", e.g.
    //   "myadmin@myproject.iam.gserviceaccount.com".
    // Google-created service accounts are all approved.
    ApprovedIdentities []string `protobuf:"bytes,1,rep,name=approved_identities,json=approvedIdentities,proto3" json:"approved_identities,omitempty"`
    // contains filtered or unexported fields
}

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) Descriptor Uses

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) Descriptor() ([]byte, []int)

Deprecated: Use SecurityHealthAnalyticsSettings_AdminServiceAccountSettings.ProtoReflect.Descriptor instead.

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) GetApprovedIdentities Uses

func (x *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) GetApprovedIdentities() []string

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) ProtoMessage Uses

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) ProtoMessage()

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) ProtoReflect Uses

func (x *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) ProtoReflect() protoreflect.Message

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) Reset Uses

func (x *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) Reset()

func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) String Uses

func (x *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) String() string

type SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings Uses

type SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings struct {

    // User emails ending in the provided identities are allowed to have IAM
    // permissions on a project or the organization. Otherwise a finding will
    // be created.
    // A valid identity can be:
    //   *  a domain that starts with "@", e.g. "@yourdomain.com".
    //   *  a fully specified email address that does not start with "@", e.g.
    //   "abc@gmail.com"
    // Regular expressions are not supported.
    // Service accounts are not examined by the scanner and will be omitted if
    // added to the list.
    // If not specified, only Gmail accounts will be considered as non-approved.
    ApprovedIdentities []string `protobuf:"bytes,1,rep,name=approved_identities,json=approvedIdentities,proto3" json:"approved_identities,omitempty"`
    // contains filtered or unexported fields
}

Settings for "NON_ORG_IAM_MEMBER" scanner.

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) Descriptor Uses

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) Descriptor() ([]byte, []int)

Deprecated: Use SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings.ProtoReflect.Descriptor instead.

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) GetApprovedIdentities Uses

func (x *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) GetApprovedIdentities() []string

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) ProtoMessage Uses

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) ProtoMessage()

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) ProtoReflect Uses

func (x *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) ProtoReflect() protoreflect.Message

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) Reset Uses

func (x *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) Reset()

func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) String Uses

func (x *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) String() string

type ServiceAccount Uses

type ServiceAccount struct {

    // The relative resource name of the service account resource.
    // Format:
    //  * `organizations/{organization}/serviceAccount`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Security Center managed service account for the organization
    // example service-org-1234@scc.iam.gserviceaccount.com
    // This service_account will be stored in the ComponentSettings field for the
    // SCC, SHA, and Infra Automation components.
    ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
    // contains filtered or unexported fields
}

An organization-level service account to be used by threat detection components.

func (*ServiceAccount) Descriptor Uses

func (*ServiceAccount) Descriptor() ([]byte, []int)

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetName Uses

func (x *ServiceAccount) GetName() string

func (*ServiceAccount) GetServiceAccount Uses

func (x *ServiceAccount) GetServiceAccount() string

func (*ServiceAccount) ProtoMessage Uses

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect Uses

func (x *ServiceAccount) ProtoReflect() protoreflect.Message

func (*ServiceAccount) Reset Uses

func (x *ServiceAccount) Reset()

func (*ServiceAccount) String Uses

func (x *ServiceAccount) String() string

type Settings Uses

type Settings struct {

    // The relative resource name of the settings resource.
    // Formats:
    //  * `organizations/{organization}/settings`
    //  * `folders/{folder}/settings`
    //  * `projects/{project}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Billing settings
    BillingSettings *BillingSettings `protobuf:"bytes,2,opt,name=billing_settings,json=billingSettings,proto3" json:"billing_settings,omitempty"`
    // An enum representing the current on boarding state of SCC.
    State Settings_OnboardingState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.securitycenter.settings.v1beta1.Settings_OnboardingState" json:"state,omitempty"`
    // Output only. The organization-level service account to be used for security center
    // components. The component must have permission to "act as" the service
    // account.
    OrgServiceAccount string `protobuf:"bytes,5,opt,name=org_service_account,json=orgServiceAccount,proto3" json:"org_service_account,omitempty"`
    // Sink settings.
    SinkSettings *SinkSettings `protobuf:"bytes,6,opt,name=sink_settings,json=sinkSettings,proto3" json:"sink_settings,omitempty"`
    // The settings for detectors and/or scanners.
    ComponentSettings map[string]*ComponentSettings `protobuf:"bytes,7,rep,name=component_settings,json=componentSettings,proto3" json:"component_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Detector group settings for all Security Center components.
    // The key is the name of the detector group and the value is the settings for
    // that group.
    DetectorGroupSettings map[string]*Settings_DetectorGroupSettings `protobuf:"bytes,8,rep,name=detector_group_settings,json=detectorGroupSettings,proto3" json:"detector_group_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // A fingerprint used for optimistic concurrency. If none is provided
    // on updates then the existing metadata will be blindly overwritten.
    Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
    // Output only. The time these settings were last updated.
    UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // contains filtered or unexported fields
}

Common configuration settings for all of Security Center.

func (*Settings) Descriptor Uses

func (*Settings) Descriptor() ([]byte, []int)

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetBillingSettings Uses

func (x *Settings) GetBillingSettings() *BillingSettings

func (*Settings) GetComponentSettings Uses

func (x *Settings) GetComponentSettings() map[string]*ComponentSettings

func (*Settings) GetDetectorGroupSettings Uses

func (x *Settings) GetDetectorGroupSettings() map[string]*Settings_DetectorGroupSettings

func (*Settings) GetEtag Uses

func (x *Settings) GetEtag() string

func (*Settings) GetName Uses

func (x *Settings) GetName() string

func (*Settings) GetOrgServiceAccount Uses

func (x *Settings) GetOrgServiceAccount() string

func (*Settings) GetSinkSettings Uses

func (x *Settings) GetSinkSettings() *SinkSettings

func (*Settings) GetState Uses

func (x *Settings) GetState() Settings_OnboardingState

func (*Settings) GetUpdateTime Uses

func (x *Settings) GetUpdateTime() *timestamppb.Timestamp

func (*Settings) ProtoMessage Uses

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect Uses

func (x *Settings) ProtoReflect() protoreflect.Message

func (*Settings) Reset Uses

func (x *Settings) Reset()

func (*Settings) String Uses

func (x *Settings) String() string

type Settings_DetectorGroupSettings Uses

type Settings_DetectorGroupSettings struct {

    // The state determines if the group is enabled or not.
    State ComponentEnablementState `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState" json:"state,omitempty"`
    // contains filtered or unexported fields
}

The DetectorGroupSettings define the configuration for a detector group.

func (*Settings_DetectorGroupSettings) Descriptor Uses

func (*Settings_DetectorGroupSettings) Descriptor() ([]byte, []int)

Deprecated: Use Settings_DetectorGroupSettings.ProtoReflect.Descriptor instead.

func (*Settings_DetectorGroupSettings) GetState Uses

func (x *Settings_DetectorGroupSettings) GetState() ComponentEnablementState

func (*Settings_DetectorGroupSettings) ProtoMessage Uses

func (*Settings_DetectorGroupSettings) ProtoMessage()

func (*Settings_DetectorGroupSettings) ProtoReflect Uses

func (x *Settings_DetectorGroupSettings) ProtoReflect() protoreflect.Message

func (*Settings_DetectorGroupSettings) Reset Uses

func (x *Settings_DetectorGroupSettings) Reset()

func (*Settings_DetectorGroupSettings) String Uses

func (x *Settings_DetectorGroupSettings) String() string

type Settings_OnboardingState Uses

type Settings_OnboardingState int32

Defines the onboarding states for SCC

Potentially is just an indicator that a user has reviewed some subset of our configuration surface, even if it's still currently set to its API-default state.

const (
    // No onboarding state has been set. Should not be seen in practice, but
    // should be functionally equivalent to DISABLED.
    Settings_ONBOARDING_STATE_UNSPECIFIED Settings_OnboardingState = 0
    // SCC is fully on boarded
    Settings_ENABLED Settings_OnboardingState = 1
    // SCC has been disabled after being on boarded
    Settings_DISABLED Settings_OnboardingState = 2
    // SCC's onboarding tier has been explicitly set
    Settings_BILLING_SELECTED Settings_OnboardingState = 3
    // SCC's CTD FindingsProviders have been chosen
    Settings_PROVIDERS_SELECTED Settings_OnboardingState = 4
    // SCC's Service-Resource mappings have been set
    Settings_RESOURCES_SELECTED Settings_OnboardingState = 5
    // SCC's core Service Account was created
    Settings_ORG_SERVICE_ACCOUNT_CREATED Settings_OnboardingState = 6
)

func (Settings_OnboardingState) Descriptor Uses

func (Settings_OnboardingState) Descriptor() protoreflect.EnumDescriptor

func (Settings_OnboardingState) Enum Uses

func (x Settings_OnboardingState) Enum() *Settings_OnboardingState

func (Settings_OnboardingState) EnumDescriptor Uses

func (Settings_OnboardingState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Settings_OnboardingState.Descriptor instead.

func (Settings_OnboardingState) Number Uses

func (x Settings_OnboardingState) Number() protoreflect.EnumNumber

func (Settings_OnboardingState) String Uses

func (x Settings_OnboardingState) String() string

func (Settings_OnboardingState) Type Uses

func (Settings_OnboardingState) Type() protoreflect.EnumType

type SinkSettings Uses

type SinkSettings struct {

    // The resource name of the project to send logs to. This project must be
    // part of the same organization where the Security Center API is
    // enabled. The format is `projects/{project}`. If it is empty, we do
    // not output logs. If a project ID is provided it will be normalized to a
    // project number.
    LoggingSinkProject string `protobuf:"bytes,1,opt,name=logging_sink_project,json=loggingSinkProject,proto3" json:"logging_sink_project,omitempty"`
    // contains filtered or unexported fields
}

Sink Settings for Security Command Center

func (*SinkSettings) Descriptor Uses

func (*SinkSettings) Descriptor() ([]byte, []int)

Deprecated: Use SinkSettings.ProtoReflect.Descriptor instead.

func (*SinkSettings) GetLoggingSinkProject Uses

func (x *SinkSettings) GetLoggingSinkProject() string

func (*SinkSettings) ProtoMessage Uses

func (*SinkSettings) ProtoMessage()

func (*SinkSettings) ProtoReflect Uses

func (x *SinkSettings) ProtoReflect() protoreflect.Message

func (*SinkSettings) Reset Uses

func (x *SinkSettings) Reset()

func (*SinkSettings) String Uses

func (x *SinkSettings) String() string

type UnimplementedSecurityCenterSettingsServiceServer Uses

type UnimplementedSecurityCenterSettingsServiceServer struct {
}

UnimplementedSecurityCenterSettingsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSecurityCenterSettingsServiceServer) BatchCalculateEffectiveSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) BatchCalculateEffectiveSettings(context.Context, *BatchCalculateEffectiveSettingsRequest) (*BatchCalculateEffectiveSettingsResponse, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) BatchGetSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) BatchGetSettings(context.Context, *BatchGetSettingsRequest) (*BatchGetSettingsResponse, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) CalculateEffectiveComponentSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) CalculateEffectiveComponentSettings(context.Context, *CalculateEffectiveComponentSettingsRequest) (*ComponentSettings, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) CalculateEffectiveSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) CalculateEffectiveSettings(context.Context, *CalculateEffectiveSettingsRequest) (*Settings, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) GetComponentSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) GetComponentSettings(context.Context, *GetComponentSettingsRequest) (*ComponentSettings, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) GetServiceAccount Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) GetServiceAccount(context.Context, *GetServiceAccountRequest) (*ServiceAccount, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) GetSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) GetSettings(context.Context, *GetSettingsRequest) (*Settings, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) ListComponents Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) ListComponents(context.Context, *ListComponentsRequest) (*ListComponentsResponse, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) ListDetectors Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) ListDetectors(context.Context, *ListDetectorsRequest) (*ListDetectorsResponse, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) ResetComponentSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) ResetComponentSettings(context.Context, *ResetComponentSettingsRequest) (*emptypb.Empty, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) ResetSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) ResetSettings(context.Context, *ResetSettingsRequest) (*emptypb.Empty, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) UpdateComponentSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) UpdateComponentSettings(context.Context, *UpdateComponentSettingsRequest) (*ComponentSettings, error)

func (*UnimplementedSecurityCenterSettingsServiceServer) UpdateSettings Uses

func (*UnimplementedSecurityCenterSettingsServiceServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*Settings, error)

type UpdateComponentSettingsRequest Uses

type UpdateComponentSettingsRequest struct {

    // Required. The component settings to update.
    //
    // The component settings' `name` field is used to identify the component
    // settings to be updated. Formats:
    //  * `organizations/{organization}/components/{component}/settings`
    //  * `folders/{folder}/components/{component}/settings`
    //  * `projects/{project}/components/{component}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/components/{component}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/components/{component}/settings`
    ComponentSettings *ComponentSettings `protobuf:"bytes,1,opt,name=component_settings,json=componentSettings,proto3" json:"component_settings,omitempty"`
    // The list of fields to be updated on the component settings resource.
    UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request message for UpdateComponentSettings.

func (*UpdateComponentSettingsRequest) Descriptor Uses

func (*UpdateComponentSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateComponentSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateComponentSettingsRequest) GetComponentSettings Uses

func (x *UpdateComponentSettingsRequest) GetComponentSettings() *ComponentSettings

func (*UpdateComponentSettingsRequest) GetUpdateMask Uses

func (x *UpdateComponentSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateComponentSettingsRequest) ProtoMessage Uses

func (*UpdateComponentSettingsRequest) ProtoMessage()

func (*UpdateComponentSettingsRequest) ProtoReflect Uses

func (x *UpdateComponentSettingsRequest) ProtoReflect() protoreflect.Message

func (*UpdateComponentSettingsRequest) Reset Uses

func (x *UpdateComponentSettingsRequest) Reset()

func (*UpdateComponentSettingsRequest) String Uses

func (x *UpdateComponentSettingsRequest) String() string

type UpdateSettingsRequest Uses

type UpdateSettingsRequest struct {

    // Required. The settings to update.
    //
    // The settings' `name` field is used to identify the settings to be updated.
    // Formats:
    //  * `organizations/{organization}/settings`
    //  * `folders/{folder}/settings`
    //  * `projects/{project}/settings`
    //  * `projects/{project}/locations/{location}/clusters/{cluster}/settings`
    //  * `projects/{project}/regions/{region}/clusters/{cluster}/settings`
    //  * `projects/{project}/zones/{zone}/clusters/{cluster}/settings`
    Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
    // The list of fields to be updated on the settings.
    UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request message for UpdateSettings.

func (*UpdateSettingsRequest) Descriptor Uses

func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateSettingsRequest) GetSettings Uses

func (x *UpdateSettingsRequest) GetSettings() *Settings

func (*UpdateSettingsRequest) GetUpdateMask Uses

func (x *UpdateSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSettingsRequest) ProtoMessage Uses

func (*UpdateSettingsRequest) ProtoMessage()

func (*UpdateSettingsRequest) ProtoReflect Uses

func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message

func (*UpdateSettingsRequest) Reset Uses

func (x *UpdateSettingsRequest) Reset()

func (*UpdateSettingsRequest) String Uses

func (x *UpdateSettingsRequest) String() string

type WebSecurityScanner Uses

type WebSecurityScanner struct {
    // contains filtered or unexported fields
}

User specified settings for Web Security Scanner

func (*WebSecurityScanner) Descriptor Uses

func (*WebSecurityScanner) Descriptor() ([]byte, []int)

Deprecated: Use WebSecurityScanner.ProtoReflect.Descriptor instead.

func (*WebSecurityScanner) ProtoMessage Uses

func (*WebSecurityScanner) ProtoMessage()

func (*WebSecurityScanner) ProtoReflect Uses

func (x *WebSecurityScanner) ProtoReflect() protoreflect.Message

func (*WebSecurityScanner) Reset Uses

func (x *WebSecurityScanner) Reset()

func (*WebSecurityScanner) String Uses

func (x *WebSecurityScanner) String() string

Package settings imports 13 packages (graph). Updated 2020-11-15. Refresh now. Tools for package owners.