| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/cloud/securitycenter/settings/v1beta1/component_settings.proto |
| |
| package settings |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| timestamp "github.com/golang/protobuf/ptypes/timestamp" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Valid states for a component |
| type ComponentEnablementState int32 |
| |
| 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 |
| ) |
| |
| var ComponentEnablementState_name = map[int32]string{ |
| 0: "COMPONENT_ENABLEMENT_STATE_UNSPECIFIED", |
| 1: "DISABLE", |
| 2: "ENABLE", |
| 3: "INHERIT", |
| } |
| |
| var ComponentEnablementState_value = map[string]int32{ |
| "COMPONENT_ENABLEMENT_STATE_UNSPECIFIED": 0, |
| "DISABLE": 1, |
| "ENABLE": 2, |
| "INHERIT": 3, |
| } |
| |
| func (x ComponentEnablementState) String() string { |
| return proto.EnumName(ComponentEnablementState_name, int32(x)) |
| } |
| |
| func (ComponentEnablementState) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{0} |
| } |
| |
| // Component Settings for Security Command Center |
| 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 *timestamp.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 valid to be assigned to SpecificSettings: |
| // *ComponentSettings_ContainerThreatDetectionSettings |
| // *ComponentSettings_EventThreatDetectionSettings |
| // *ComponentSettings_SecurityHealthAnalyticsSettings |
| // *ComponentSettings_WebSecurityScannerSettings |
| SpecificSettings isComponentSettings_SpecificSettings `protobuf_oneof:"specific_settings"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ComponentSettings) Reset() { *m = ComponentSettings{} } |
| func (m *ComponentSettings) String() string { return proto.CompactTextString(m) } |
| func (*ComponentSettings) ProtoMessage() {} |
| func (*ComponentSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{0} |
| } |
| |
| func (m *ComponentSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ComponentSettings.Unmarshal(m, b) |
| } |
| func (m *ComponentSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ComponentSettings.Marshal(b, m, deterministic) |
| } |
| func (m *ComponentSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ComponentSettings.Merge(m, src) |
| } |
| func (m *ComponentSettings) XXX_Size() int { |
| return xxx_messageInfo_ComponentSettings.Size(m) |
| } |
| func (m *ComponentSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_ComponentSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ComponentSettings proto.InternalMessageInfo |
| |
| func (m *ComponentSettings) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| func (m *ComponentSettings) GetState() ComponentEnablementState { |
| if m != nil { |
| return m.State |
| } |
| return ComponentEnablementState_COMPONENT_ENABLEMENT_STATE_UNSPECIFIED |
| } |
| |
| func (m *ComponentSettings) GetProjectServiceAccount() string { |
| if m != nil { |
| return m.ProjectServiceAccount |
| } |
| return "" |
| } |
| |
| func (m *ComponentSettings) GetDetectorSettings() map[string]*ComponentSettings_DetectorSettings { |
| if m != nil { |
| return m.DetectorSettings |
| } |
| return nil |
| } |
| |
| func (m *ComponentSettings) GetEtag() string { |
| if m != nil { |
| return m.Etag |
| } |
| return "" |
| } |
| |
| func (m *ComponentSettings) GetUpdateTime() *timestamp.Timestamp { |
| if m != nil { |
| return m.UpdateTime |
| } |
| return nil |
| } |
| |
| type isComponentSettings_SpecificSettings interface { |
| isComponentSettings_SpecificSettings() |
| } |
| |
| type ComponentSettings_ContainerThreatDetectionSettings struct { |
| ContainerThreatDetectionSettings *ContainerThreatDetectionSettings `protobuf:"bytes,41,opt,name=container_threat_detection_settings,json=containerThreatDetectionSettings,proto3,oneof"` |
| } |
| |
| type ComponentSettings_EventThreatDetectionSettings struct { |
| EventThreatDetectionSettings *EventThreatDetectionSettings `protobuf:"bytes,42,opt,name=event_threat_detection_settings,json=eventThreatDetectionSettings,proto3,oneof"` |
| } |
| |
| type ComponentSettings_SecurityHealthAnalyticsSettings struct { |
| SecurityHealthAnalyticsSettings *SecurityHealthAnalyticsSettings `protobuf:"bytes,44,opt,name=security_health_analytics_settings,json=securityHealthAnalyticsSettings,proto3,oneof"` |
| } |
| |
| type ComponentSettings_WebSecurityScannerSettings struct { |
| WebSecurityScannerSettings *WebSecurityScanner `protobuf:"bytes,40,opt,name=web_security_scanner_settings,json=webSecurityScannerSettings,proto3,oneof"` |
| } |
| |
| func (*ComponentSettings_ContainerThreatDetectionSettings) isComponentSettings_SpecificSettings() {} |
| |
| func (*ComponentSettings_EventThreatDetectionSettings) isComponentSettings_SpecificSettings() {} |
| |
| func (*ComponentSettings_SecurityHealthAnalyticsSettings) isComponentSettings_SpecificSettings() {} |
| |
| func (*ComponentSettings_WebSecurityScannerSettings) isComponentSettings_SpecificSettings() {} |
| |
| func (m *ComponentSettings) GetSpecificSettings() isComponentSettings_SpecificSettings { |
| if m != nil { |
| return m.SpecificSettings |
| } |
| return nil |
| } |
| |
| func (m *ComponentSettings) GetContainerThreatDetectionSettings() *ContainerThreatDetectionSettings { |
| if x, ok := m.GetSpecificSettings().(*ComponentSettings_ContainerThreatDetectionSettings); ok { |
| return x.ContainerThreatDetectionSettings |
| } |
| return nil |
| } |
| |
| func (m *ComponentSettings) GetEventThreatDetectionSettings() *EventThreatDetectionSettings { |
| if x, ok := m.GetSpecificSettings().(*ComponentSettings_EventThreatDetectionSettings); ok { |
| return x.EventThreatDetectionSettings |
| } |
| return nil |
| } |
| |
| func (m *ComponentSettings) GetSecurityHealthAnalyticsSettings() *SecurityHealthAnalyticsSettings { |
| if x, ok := m.GetSpecificSettings().(*ComponentSettings_SecurityHealthAnalyticsSettings); ok { |
| return x.SecurityHealthAnalyticsSettings |
| } |
| return nil |
| } |
| |
| func (m *ComponentSettings) GetWebSecurityScannerSettings() *WebSecurityScanner { |
| if x, ok := m.GetSpecificSettings().(*ComponentSettings_WebSecurityScannerSettings); ok { |
| return x.WebSecurityScannerSettings |
| } |
| return nil |
| } |
| |
| // XXX_OneofWrappers is for the internal use of the proto package. |
| func (*ComponentSettings) XXX_OneofWrappers() []interface{} { |
| return []interface{}{ |
| (*ComponentSettings_ContainerThreatDetectionSettings)(nil), |
| (*ComponentSettings_EventThreatDetectionSettings)(nil), |
| (*ComponentSettings_SecurityHealthAnalyticsSettings)(nil), |
| (*ComponentSettings_WebSecurityScannerSettings)(nil), |
| } |
| } |
| |
| // Settings for each detector. |
| 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"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ComponentSettings_DetectorSettings) Reset() { *m = ComponentSettings_DetectorSettings{} } |
| func (m *ComponentSettings_DetectorSettings) String() string { return proto.CompactTextString(m) } |
| func (*ComponentSettings_DetectorSettings) ProtoMessage() {} |
| func (*ComponentSettings_DetectorSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{0, 0} |
| } |
| |
| func (m *ComponentSettings_DetectorSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ComponentSettings_DetectorSettings.Unmarshal(m, b) |
| } |
| func (m *ComponentSettings_DetectorSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ComponentSettings_DetectorSettings.Marshal(b, m, deterministic) |
| } |
| func (m *ComponentSettings_DetectorSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ComponentSettings_DetectorSettings.Merge(m, src) |
| } |
| func (m *ComponentSettings_DetectorSettings) XXX_Size() int { |
| return xxx_messageInfo_ComponentSettings_DetectorSettings.Size(m) |
| } |
| func (m *ComponentSettings_DetectorSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_ComponentSettings_DetectorSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ComponentSettings_DetectorSettings proto.InternalMessageInfo |
| |
| func (m *ComponentSettings_DetectorSettings) GetState() ComponentEnablementState { |
| if m != nil { |
| return m.State |
| } |
| return ComponentEnablementState_COMPONENT_ENABLEMENT_STATE_UNSPECIFIED |
| } |
| |
| // User specified settings for Web Security Scanner |
| type WebSecurityScanner struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *WebSecurityScanner) Reset() { *m = WebSecurityScanner{} } |
| func (m *WebSecurityScanner) String() string { return proto.CompactTextString(m) } |
| func (*WebSecurityScanner) ProtoMessage() {} |
| func (*WebSecurityScanner) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{1} |
| } |
| |
| func (m *WebSecurityScanner) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_WebSecurityScanner.Unmarshal(m, b) |
| } |
| func (m *WebSecurityScanner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_WebSecurityScanner.Marshal(b, m, deterministic) |
| } |
| func (m *WebSecurityScanner) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_WebSecurityScanner.Merge(m, src) |
| } |
| func (m *WebSecurityScanner) XXX_Size() int { |
| return xxx_messageInfo_WebSecurityScanner.Size(m) |
| } |
| func (m *WebSecurityScanner) XXX_DiscardUnknown() { |
| xxx_messageInfo_WebSecurityScanner.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_WebSecurityScanner proto.InternalMessageInfo |
| |
| // User specified settings for KTD |
| type ContainerThreatDetectionSettings struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ContainerThreatDetectionSettings) Reset() { *m = ContainerThreatDetectionSettings{} } |
| func (m *ContainerThreatDetectionSettings) String() string { return proto.CompactTextString(m) } |
| func (*ContainerThreatDetectionSettings) ProtoMessage() {} |
| func (*ContainerThreatDetectionSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{2} |
| } |
| |
| func (m *ContainerThreatDetectionSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ContainerThreatDetectionSettings.Unmarshal(m, b) |
| } |
| func (m *ContainerThreatDetectionSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ContainerThreatDetectionSettings.Marshal(b, m, deterministic) |
| } |
| func (m *ContainerThreatDetectionSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ContainerThreatDetectionSettings.Merge(m, src) |
| } |
| func (m *ContainerThreatDetectionSettings) XXX_Size() int { |
| return xxx_messageInfo_ContainerThreatDetectionSettings.Size(m) |
| } |
| func (m *ContainerThreatDetectionSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_ContainerThreatDetectionSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ContainerThreatDetectionSettings proto.InternalMessageInfo |
| |
| // User specified settings for ETD |
| type EventThreatDetectionSettings struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *EventThreatDetectionSettings) Reset() { *m = EventThreatDetectionSettings{} } |
| func (m *EventThreatDetectionSettings) String() string { return proto.CompactTextString(m) } |
| func (*EventThreatDetectionSettings) ProtoMessage() {} |
| func (*EventThreatDetectionSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{3} |
| } |
| |
| func (m *EventThreatDetectionSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_EventThreatDetectionSettings.Unmarshal(m, b) |
| } |
| func (m *EventThreatDetectionSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_EventThreatDetectionSettings.Marshal(b, m, deterministic) |
| } |
| func (m *EventThreatDetectionSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_EventThreatDetectionSettings.Merge(m, src) |
| } |
| func (m *EventThreatDetectionSettings) XXX_Size() int { |
| return xxx_messageInfo_EventThreatDetectionSettings.Size(m) |
| } |
| func (m *EventThreatDetectionSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_EventThreatDetectionSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_EventThreatDetectionSettings proto.InternalMessageInfo |
| |
| // User specified settings for Security Health Analytics |
| 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"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SecurityHealthAnalyticsSettings) Reset() { *m = SecurityHealthAnalyticsSettings{} } |
| func (m *SecurityHealthAnalyticsSettings) String() string { return proto.CompactTextString(m) } |
| func (*SecurityHealthAnalyticsSettings) ProtoMessage() {} |
| func (*SecurityHealthAnalyticsSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{4} |
| } |
| |
| func (m *SecurityHealthAnalyticsSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings.Unmarshal(m, b) |
| } |
| func (m *SecurityHealthAnalyticsSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings.Marshal(b, m, deterministic) |
| } |
| func (m *SecurityHealthAnalyticsSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SecurityHealthAnalyticsSettings.Merge(m, src) |
| } |
| func (m *SecurityHealthAnalyticsSettings) XXX_Size() int { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings.Size(m) |
| } |
| func (m *SecurityHealthAnalyticsSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_SecurityHealthAnalyticsSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SecurityHealthAnalyticsSettings proto.InternalMessageInfo |
| |
| func (m *SecurityHealthAnalyticsSettings) GetNonOrgIamMemberSettings() *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings { |
| if m != nil { |
| return m.NonOrgIamMemberSettings |
| } |
| return nil |
| } |
| |
| func (m *SecurityHealthAnalyticsSettings) GetAdminServiceAccountSettings() *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings { |
| if m != nil { |
| return m.AdminServiceAccountSettings |
| } |
| return nil |
| } |
| |
| // Settings for "NON_ORG_IAM_MEMBER" scanner. |
| 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"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) Reset() { |
| *m = SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings{} |
| } |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) String() string { |
| return proto.CompactTextString(m) |
| } |
| func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) ProtoMessage() {} |
| func (*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{4, 0} |
| } |
| |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings.Unmarshal(m, b) |
| } |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings.Marshal(b, m, deterministic) |
| } |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings.Merge(m, src) |
| } |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) XXX_Size() int { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings.Size(m) |
| } |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings proto.InternalMessageInfo |
| |
| func (m *SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings) GetApprovedIdentities() []string { |
| if m != nil { |
| return m.ApprovedIdentities |
| } |
| return nil |
| } |
| |
| // Settings for "ADMIN_SERVICE_ACCOUNT" scanner. |
| 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"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) Reset() { |
| *m = SecurityHealthAnalyticsSettings_AdminServiceAccountSettings{} |
| } |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) String() string { |
| return proto.CompactTextString(m) |
| } |
| func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) ProtoMessage() {} |
| func (*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) Descriptor() ([]byte, []int) { |
| return fileDescriptor_f91b4ec8b41218e5, []int{4, 1} |
| } |
| |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings_AdminServiceAccountSettings.Unmarshal(m, b) |
| } |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings_AdminServiceAccountSettings.Marshal(b, m, deterministic) |
| } |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SecurityHealthAnalyticsSettings_AdminServiceAccountSettings.Merge(m, src) |
| } |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) XXX_Size() int { |
| return xxx_messageInfo_SecurityHealthAnalyticsSettings_AdminServiceAccountSettings.Size(m) |
| } |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) XXX_DiscardUnknown() { |
| xxx_messageInfo_SecurityHealthAnalyticsSettings_AdminServiceAccountSettings.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SecurityHealthAnalyticsSettings_AdminServiceAccountSettings proto.InternalMessageInfo |
| |
| func (m *SecurityHealthAnalyticsSettings_AdminServiceAccountSettings) GetApprovedIdentities() []string { |
| if m != nil { |
| return m.ApprovedIdentities |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterEnum("google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState", ComponentEnablementState_name, ComponentEnablementState_value) |
| proto.RegisterType((*ComponentSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.ComponentSettings") |
| proto.RegisterMapType((map[string]*ComponentSettings_DetectorSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettingsEntry") |
| proto.RegisterType((*ComponentSettings_DetectorSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings") |
| proto.RegisterType((*WebSecurityScanner)(nil), "google.cloud.securitycenter.settings.v1beta1.WebSecurityScanner") |
| proto.RegisterType((*ContainerThreatDetectionSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.ContainerThreatDetectionSettings") |
| proto.RegisterType((*EventThreatDetectionSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.EventThreatDetectionSettings") |
| proto.RegisterType((*SecurityHealthAnalyticsSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings") |
| proto.RegisterType((*SecurityHealthAnalyticsSettings_NonOrgIamMemberSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings") |
| proto.RegisterType((*SecurityHealthAnalyticsSettings_AdminServiceAccountSettings)(nil), "google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/cloud/securitycenter/settings/v1beta1/component_settings.proto", fileDescriptor_f91b4ec8b41218e5) |
| } |
| |
| var fileDescriptor_f91b4ec8b41218e5 = []byte{ |
| // 1031 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x41, 0x6f, 0xe3, 0x44, |
| 0x14, 0xae, 0x93, 0xb6, 0x68, 0xa7, 0xd2, 0x2a, 0x9d, 0x65, 0x69, 0x48, 0xcb, 0x36, 0x0a, 0x12, |
| 0x0a, 0x55, 0x65, 0xb7, 0xe5, 0x82, 0xb2, 0x1c, 0x36, 0x69, 0xbd, 0x34, 0x2b, 0x9a, 0x46, 0x4e, |
| 0xb6, 0x48, 0xab, 0x48, 0xd6, 0x64, 0x32, 0x71, 0x07, 0xec, 0x19, 0xcb, 0x9e, 0x64, 0xd5, 0x8d, |
| 0x7a, 0x41, 0xf0, 0x0b, 0x80, 0x1b, 0x12, 0x07, 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