Documentation ¶
Index ¶
- Variables
- func RegisterSecurityCenterManagementServer(s *grpc.Server, srv SecurityCenterManagementServer)
- type CreateEventThreatDetectionCustomModuleRequest
- func (*CreateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule() *EventThreatDetectionCustomModule
- func (x *CreateEventThreatDetectionCustomModuleRequest) GetParent() string
- func (x *CreateEventThreatDetectionCustomModuleRequest) GetValidateOnly() bool
- func (*CreateEventThreatDetectionCustomModuleRequest) ProtoMessage()
- func (x *CreateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEventThreatDetectionCustomModuleRequest) Reset()
- func (x *CreateEventThreatDetectionCustomModuleRequest) String() string
- type CreateSecurityHealthAnalyticsCustomModuleRequest
- func (*CreateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetParent() string
- func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule() *SecurityHealthAnalyticsCustomModule
- func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() bool
- func (*CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
- func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) Reset()
- func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) String() string
- type CustomConfig
- func (*CustomConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CustomConfig) GetCustomOutput() *CustomConfig_CustomOutputSpec
- func (x *CustomConfig) GetDescription() string
- func (x *CustomConfig) GetPredicate() *expr.Expr
- func (x *CustomConfig) GetRecommendation() string
- func (x *CustomConfig) GetResourceSelector() *CustomConfig_ResourceSelector
- func (x *CustomConfig) GetSeverity() CustomConfig_Severity
- func (*CustomConfig) ProtoMessage()
- func (x *CustomConfig) ProtoReflect() protoreflect.Message
- func (x *CustomConfig) Reset()
- func (x *CustomConfig) String() string
- type CustomConfig_CustomOutputSpec
- func (*CustomConfig_CustomOutputSpec) Descriptor() ([]byte, []int)deprecated
- func (x *CustomConfig_CustomOutputSpec) GetProperties() []*CustomConfig_CustomOutputSpec_Property
- func (*CustomConfig_CustomOutputSpec) ProtoMessage()
- func (x *CustomConfig_CustomOutputSpec) ProtoReflect() protoreflect.Message
- func (x *CustomConfig_CustomOutputSpec) Reset()
- func (x *CustomConfig_CustomOutputSpec) String() string
- type CustomConfig_CustomOutputSpec_Property
- func (*CustomConfig_CustomOutputSpec_Property) Descriptor() ([]byte, []int)deprecated
- func (x *CustomConfig_CustomOutputSpec_Property) GetName() string
- func (x *CustomConfig_CustomOutputSpec_Property) GetValueExpression() *expr.Expr
- func (*CustomConfig_CustomOutputSpec_Property) ProtoMessage()
- func (x *CustomConfig_CustomOutputSpec_Property) ProtoReflect() protoreflect.Message
- func (x *CustomConfig_CustomOutputSpec_Property) Reset()
- func (x *CustomConfig_CustomOutputSpec_Property) String() string
- type CustomConfig_ResourceSelector
- func (*CustomConfig_ResourceSelector) Descriptor() ([]byte, []int)deprecated
- func (x *CustomConfig_ResourceSelector) GetResourceTypes() []string
- func (*CustomConfig_ResourceSelector) ProtoMessage()
- func (x *CustomConfig_ResourceSelector) ProtoReflect() protoreflect.Message
- func (x *CustomConfig_ResourceSelector) Reset()
- func (x *CustomConfig_ResourceSelector) String() string
- type CustomConfig_Severity
- func (CustomConfig_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x CustomConfig_Severity) Enum() *CustomConfig_Severity
- func (CustomConfig_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x CustomConfig_Severity) Number() protoreflect.EnumNumber
- func (x CustomConfig_Severity) String() string
- func (CustomConfig_Severity) Type() protoreflect.EnumType
- type DeleteEventThreatDetectionCustomModuleRequest
- func (*DeleteEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEventThreatDetectionCustomModuleRequest) GetName() string
- func (x *DeleteEventThreatDetectionCustomModuleRequest) GetValidateOnly() bool
- func (*DeleteEventThreatDetectionCustomModuleRequest) ProtoMessage()
- func (x *DeleteEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEventThreatDetectionCustomModuleRequest) Reset()
- func (x *DeleteEventThreatDetectionCustomModuleRequest) String() string
- type DeleteSecurityHealthAnalyticsCustomModuleRequest
- func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) GetName() string
- func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() bool
- func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
- func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) Reset()
- func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) String() string
- type EffectiveEventThreatDetectionCustomModule
- func (*EffectiveEventThreatDetectionCustomModule) Descriptor() ([]byte, []int)deprecated
- func (x *EffectiveEventThreatDetectionCustomModule) GetConfig() *structpb.Struct
- func (x *EffectiveEventThreatDetectionCustomModule) GetDescription() string
- func (x *EffectiveEventThreatDetectionCustomModule) GetDisplayName() string
- func (x *EffectiveEventThreatDetectionCustomModule) GetEnablementState() EffectiveEventThreatDetectionCustomModule_EnablementState
- func (x *EffectiveEventThreatDetectionCustomModule) GetName() string
- func (x *EffectiveEventThreatDetectionCustomModule) GetType() string
- func (*EffectiveEventThreatDetectionCustomModule) ProtoMessage()
- func (x *EffectiveEventThreatDetectionCustomModule) ProtoReflect() protoreflect.Message
- func (x *EffectiveEventThreatDetectionCustomModule) Reset()
- func (x *EffectiveEventThreatDetectionCustomModule) String() string
- type EffectiveEventThreatDetectionCustomModule_EnablementState
- func (EffectiveEventThreatDetectionCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
- func (x EffectiveEventThreatDetectionCustomModule_EnablementState) Enum() *EffectiveEventThreatDetectionCustomModule_EnablementState
- func (EffectiveEventThreatDetectionCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)deprecated
- func (x EffectiveEventThreatDetectionCustomModule_EnablementState) Number() protoreflect.EnumNumber
- func (x EffectiveEventThreatDetectionCustomModule_EnablementState) String() string
- func (EffectiveEventThreatDetectionCustomModule_EnablementState) Type() protoreflect.EnumType
- type EffectiveSecurityHealthAnalyticsCustomModule
- func (*EffectiveSecurityHealthAnalyticsCustomModule) Descriptor() ([]byte, []int)deprecated
- func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetCustomConfig() *CustomConfig
- func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetDisplayName() string
- func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetEnablementState() EffectiveSecurityHealthAnalyticsCustomModule_EnablementState
- func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetName() string
- func (*EffectiveSecurityHealthAnalyticsCustomModule) ProtoMessage()
- func (x *EffectiveSecurityHealthAnalyticsCustomModule) ProtoReflect() protoreflect.Message
- func (x *EffectiveSecurityHealthAnalyticsCustomModule) Reset()
- func (x *EffectiveSecurityHealthAnalyticsCustomModule) String() string
- type EffectiveSecurityHealthAnalyticsCustomModule_EnablementState
- func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
- func (x EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Enum() *EffectiveSecurityHealthAnalyticsCustomModule_EnablementState
- func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)deprecated
- func (x EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Number() protoreflect.EnumNumber
- func (x EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) String() string
- func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Type() protoreflect.EnumType
- type EventThreatDetectionCustomModule
- func (*EventThreatDetectionCustomModule) Descriptor() ([]byte, []int)deprecated
- func (x *EventThreatDetectionCustomModule) GetAncestorModule() string
- func (x *EventThreatDetectionCustomModule) GetConfig() *structpb.Struct
- func (x *EventThreatDetectionCustomModule) GetDescription() string
- func (x *EventThreatDetectionCustomModule) GetDisplayName() string
- func (x *EventThreatDetectionCustomModule) GetEnablementState() EventThreatDetectionCustomModule_EnablementState
- func (x *EventThreatDetectionCustomModule) GetLastEditor() string
- func (x *EventThreatDetectionCustomModule) GetName() string
- func (x *EventThreatDetectionCustomModule) GetType() string
- func (x *EventThreatDetectionCustomModule) GetUpdateTime() *timestamppb.Timestamp
- func (*EventThreatDetectionCustomModule) ProtoMessage()
- func (x *EventThreatDetectionCustomModule) ProtoReflect() protoreflect.Message
- func (x *EventThreatDetectionCustomModule) Reset()
- func (x *EventThreatDetectionCustomModule) String() string
- type EventThreatDetectionCustomModule_EnablementState
- func (EventThreatDetectionCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
- func (x EventThreatDetectionCustomModule_EnablementState) Enum() *EventThreatDetectionCustomModule_EnablementState
- func (EventThreatDetectionCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventThreatDetectionCustomModule_EnablementState) Number() protoreflect.EnumNumber
- func (x EventThreatDetectionCustomModule_EnablementState) String() string
- func (EventThreatDetectionCustomModule_EnablementState) Type() protoreflect.EnumType
- type GetEffectiveEventThreatDetectionCustomModuleRequest
- func (*GetEffectiveEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) GetName() string
- func (*GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoMessage()
- func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) Reset()
- func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) String() string
- type GetEffectiveSecurityHealthAnalyticsCustomModuleRequest
- func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) GetName() string
- func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
- func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Reset()
- func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) String() string
- type GetEventThreatDetectionCustomModuleRequest
- func (*GetEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventThreatDetectionCustomModuleRequest) GetName() string
- func (*GetEventThreatDetectionCustomModuleRequest) ProtoMessage()
- func (x *GetEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventThreatDetectionCustomModuleRequest) Reset()
- func (x *GetEventThreatDetectionCustomModuleRequest) String() string
- type GetSecurityHealthAnalyticsCustomModuleRequest
- func (*GetSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecurityHealthAnalyticsCustomModuleRequest) GetName() string
- func (*GetSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
- func (x *GetSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecurityHealthAnalyticsCustomModuleRequest) Reset()
- func (x *GetSecurityHealthAnalyticsCustomModuleRequest) String() string
- type ListDescendantEventThreatDetectionCustomModulesRequest
- func (*ListDescendantEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetPageSize() int32
- func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetPageToken() string
- func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetParent() string
- func (*ListDescendantEventThreatDetectionCustomModulesRequest) ProtoMessage()
- func (x *ListDescendantEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDescendantEventThreatDetectionCustomModulesRequest) Reset()
- func (x *ListDescendantEventThreatDetectionCustomModulesRequest) String() string
- type ListDescendantEventThreatDetectionCustomModulesResponse
- func (*ListDescendantEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDescendantEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules() []*EventThreatDetectionCustomModule
- func (x *ListDescendantEventThreatDetectionCustomModulesResponse) GetNextPageToken() string
- func (*ListDescendantEventThreatDetectionCustomModulesResponse) ProtoMessage()
- func (x *ListDescendantEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDescendantEventThreatDetectionCustomModulesResponse) Reset()
- func (x *ListDescendantEventThreatDetectionCustomModulesResponse) String() string
- type ListDescendantSecurityHealthAnalyticsCustomModulesRequest
- func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() string
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetParent() string
- func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Reset()
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) String() string
- type ListDescendantSecurityHealthAnalyticsCustomModulesResponse
- func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() string
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules() []*SecurityHealthAnalyticsCustomModule
- func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Reset()
- func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) String() string
- type ListEffectiveEventThreatDetectionCustomModulesRequest
- func (*ListEffectiveEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageSize() int32
- func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageToken() string
- func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetParent() string
- func (*ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoMessage()
- func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) Reset()
- func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) String() string
- type ListEffectiveEventThreatDetectionCustomModulesResponse
- func (*ListEffectiveEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) GetEffectiveEventThreatDetectionCustomModules() []*EffectiveEventThreatDetectionCustomModule
- func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) GetNextPageToken() string
- func (*ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoMessage()
- func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) Reset()
- func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) String() string
- type ListEffectiveSecurityHealthAnalyticsCustomModulesRequest
- func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() string
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetParent() string
- func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Reset()
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) String() string
- type ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
- func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetEffectiveSecurityHealthAnalyticsCustomModules() []*EffectiveSecurityHealthAnalyticsCustomModule
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() string
- func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Reset()
- func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) String() string
- type ListEventThreatDetectionCustomModulesRequest
- func (*ListEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventThreatDetectionCustomModulesRequest) GetPageSize() int32
- func (x *ListEventThreatDetectionCustomModulesRequest) GetPageToken() string
- func (x *ListEventThreatDetectionCustomModulesRequest) GetParent() string
- func (*ListEventThreatDetectionCustomModulesRequest) ProtoMessage()
- func (x *ListEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventThreatDetectionCustomModulesRequest) Reset()
- func (x *ListEventThreatDetectionCustomModulesRequest) String() string
- type ListEventThreatDetectionCustomModulesResponse
- func (*ListEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules() []*EventThreatDetectionCustomModule
- func (x *ListEventThreatDetectionCustomModulesResponse) GetNextPageToken() string
- func (*ListEventThreatDetectionCustomModulesResponse) ProtoMessage()
- func (x *ListEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventThreatDetectionCustomModulesResponse) Reset()
- func (x *ListEventThreatDetectionCustomModulesResponse) String() string
- type ListSecurityHealthAnalyticsCustomModulesRequest
- func (*ListSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32
- func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() string
- func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetParent() string
- func (*ListSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()
- func (x *ListSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecurityHealthAnalyticsCustomModulesRequest) Reset()
- func (x *ListSecurityHealthAnalyticsCustomModulesRequest) String() string
- type ListSecurityHealthAnalyticsCustomModulesResponse
- func (*ListSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() string
- func (x *ListSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules() []*SecurityHealthAnalyticsCustomModule
- func (*ListSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()
- func (x *ListSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecurityHealthAnalyticsCustomModulesResponse) Reset()
- func (x *ListSecurityHealthAnalyticsCustomModulesResponse) String() string
- type SecurityCenterManagementClient
- type SecurityCenterManagementServer
- type SecurityHealthAnalyticsCustomModule
- func (*SecurityHealthAnalyticsCustomModule) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityHealthAnalyticsCustomModule) GetAncestorModule() string
- func (x *SecurityHealthAnalyticsCustomModule) GetCustomConfig() *CustomConfig
- func (x *SecurityHealthAnalyticsCustomModule) GetDisplayName() string
- func (x *SecurityHealthAnalyticsCustomModule) GetEnablementState() SecurityHealthAnalyticsCustomModule_EnablementState
- func (x *SecurityHealthAnalyticsCustomModule) GetLastEditor() string
- func (x *SecurityHealthAnalyticsCustomModule) GetName() string
- func (x *SecurityHealthAnalyticsCustomModule) GetUpdateTime() *timestamppb.Timestamp
- func (*SecurityHealthAnalyticsCustomModule) ProtoMessage()
- func (x *SecurityHealthAnalyticsCustomModule) ProtoReflect() protoreflect.Message
- func (x *SecurityHealthAnalyticsCustomModule) Reset()
- func (x *SecurityHealthAnalyticsCustomModule) String() string
- type SecurityHealthAnalyticsCustomModule_EnablementState
- func (SecurityHealthAnalyticsCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
- func (x SecurityHealthAnalyticsCustomModule_EnablementState) Enum() *SecurityHealthAnalyticsCustomModule_EnablementState
- func (SecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecurityHealthAnalyticsCustomModule_EnablementState) Number() protoreflect.EnumNumber
- func (x SecurityHealthAnalyticsCustomModule_EnablementState) String() string
- func (SecurityHealthAnalyticsCustomModule_EnablementState) Type() protoreflect.EnumType
- type SimulateSecurityHealthAnalyticsCustomModuleRequest
- func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetCustomConfig() *CustomConfig
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetParent() string
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetResource() *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource
- func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) Reset()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) String() string
- type SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource
- func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetIamPolicyData() *iampb.Policy
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceData() *structpb.Struct
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceType() string
- func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoMessage()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoReflect() protoreflect.Message
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Reset()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) String() string
- type SimulateSecurityHealthAnalyticsCustomModuleResponse
- func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) GetResult() *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult
- func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoMessage()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoReflect() protoreflect.Message
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) Reset()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) String() string
- type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult
- func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetError() *status.Status
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetFinding() *SimulatedFinding
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetNoViolation() *emptypb.Empty
- func (m *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetResult() isSimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Result
- func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoMessage()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoReflect() protoreflect.Message
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Reset()
- func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) String() string
- type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Error
- type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Finding
- type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_NoViolation
- type SimulatedFinding
- func (*SimulatedFinding) Descriptor() ([]byte, []int)deprecated
- func (x *SimulatedFinding) GetCategory() string
- func (x *SimulatedFinding) GetEventTime() *timestamppb.Timestamp
- func (x *SimulatedFinding) GetFindingClass() SimulatedFinding_FindingClass
- func (x *SimulatedFinding) GetName() string
- func (x *SimulatedFinding) GetParent() string
- func (x *SimulatedFinding) GetResourceName() string
- func (x *SimulatedFinding) GetSeverity() SimulatedFinding_Severity
- func (x *SimulatedFinding) GetSourceProperties() map[string]*structpb.Value
- func (x *SimulatedFinding) GetState() SimulatedFinding_State
- func (*SimulatedFinding) ProtoMessage()
- func (x *SimulatedFinding) ProtoReflect() protoreflect.Message
- func (x *SimulatedFinding) Reset()
- func (x *SimulatedFinding) String() string
- type SimulatedFinding_FindingClass
- func (SimulatedFinding_FindingClass) Descriptor() protoreflect.EnumDescriptor
- func (x SimulatedFinding_FindingClass) Enum() *SimulatedFinding_FindingClass
- func (SimulatedFinding_FindingClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x SimulatedFinding_FindingClass) Number() protoreflect.EnumNumber
- func (x SimulatedFinding_FindingClass) String() string
- func (SimulatedFinding_FindingClass) Type() protoreflect.EnumType
- type SimulatedFinding_Severity
- func (SimulatedFinding_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x SimulatedFinding_Severity) Enum() *SimulatedFinding_Severity
- func (SimulatedFinding_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x SimulatedFinding_Severity) Number() protoreflect.EnumNumber
- func (x SimulatedFinding_Severity) String() string
- func (SimulatedFinding_Severity) Type() protoreflect.EnumType
- type SimulatedFinding_State
- func (SimulatedFinding_State) Descriptor() protoreflect.EnumDescriptor
- func (x SimulatedFinding_State) Enum() *SimulatedFinding_State
- func (SimulatedFinding_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x SimulatedFinding_State) Number() protoreflect.EnumNumber
- func (x SimulatedFinding_State) String() string
- func (SimulatedFinding_State) Type() protoreflect.EnumType
- type UnimplementedSecurityCenterManagementServer
- func (*UnimplementedSecurityCenterManagementServer) CreateEventThreatDetectionCustomModule(context.Context, *CreateEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) CreateSecurityHealthAnalyticsCustomModule(context.Context, *CreateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) DeleteEventThreatDetectionCustomModule(context.Context, *DeleteEventThreatDetectionCustomModuleRequest) (*emptypb.Empty, error)
- func (*UnimplementedSecurityCenterManagementServer) DeleteSecurityHealthAnalyticsCustomModule(context.Context, *DeleteSecurityHealthAnalyticsCustomModuleRequest) (*emptypb.Empty, error)
- func (*UnimplementedSecurityCenterManagementServer) GetEffectiveEventThreatDetectionCustomModule(context.Context, *GetEffectiveEventThreatDetectionCustomModuleRequest) (*EffectiveEventThreatDetectionCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) GetEffectiveSecurityHealthAnalyticsCustomModule(context.Context, *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) (*EffectiveSecurityHealthAnalyticsCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) GetEventThreatDetectionCustomModule(context.Context, *GetEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) GetSecurityHealthAnalyticsCustomModule(context.Context, *GetSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) ListDescendantEventThreatDetectionCustomModules(context.Context, *ListDescendantEventThreatDetectionCustomModulesRequest) (*ListDescendantEventThreatDetectionCustomModulesResponse, error)
- func (*UnimplementedSecurityCenterManagementServer) ListDescendantSecurityHealthAnalyticsCustomModules(context.Context, *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse, error)
- func (*UnimplementedSecurityCenterManagementServer) ListEffectiveEventThreatDetectionCustomModules(context.Context, *ListEffectiveEventThreatDetectionCustomModulesRequest) (*ListEffectiveEventThreatDetectionCustomModulesResponse, error)
- func (*UnimplementedSecurityCenterManagementServer) ListEffectiveSecurityHealthAnalyticsCustomModules(context.Context, *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, error)
- func (*UnimplementedSecurityCenterManagementServer) ListEventThreatDetectionCustomModules(context.Context, *ListEventThreatDetectionCustomModulesRequest) (*ListEventThreatDetectionCustomModulesResponse, error)
- func (*UnimplementedSecurityCenterManagementServer) ListSecurityHealthAnalyticsCustomModules(context.Context, *ListSecurityHealthAnalyticsCustomModulesRequest) (*ListSecurityHealthAnalyticsCustomModulesResponse, error)
- func (*UnimplementedSecurityCenterManagementServer) SimulateSecurityHealthAnalyticsCustomModule(context.Context, *SimulateSecurityHealthAnalyticsCustomModuleRequest) (*SimulateSecurityHealthAnalyticsCustomModuleResponse, error)
- func (*UnimplementedSecurityCenterManagementServer) UpdateEventThreatDetectionCustomModule(context.Context, *UpdateEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) UpdateSecurityHealthAnalyticsCustomModule(context.Context, *UpdateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
- func (*UnimplementedSecurityCenterManagementServer) ValidateEventThreatDetectionCustomModule(context.Context, *ValidateEventThreatDetectionCustomModuleRequest) (*ValidateEventThreatDetectionCustomModuleResponse, error)
- type UpdateEventThreatDetectionCustomModuleRequest
- func (*UpdateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule() *EventThreatDetectionCustomModule
- func (x *UpdateEventThreatDetectionCustomModuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateEventThreatDetectionCustomModuleRequest) GetValidateOnly() bool
- func (*UpdateEventThreatDetectionCustomModuleRequest) ProtoMessage()
- func (x *UpdateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEventThreatDetectionCustomModuleRequest) Reset()
- func (x *UpdateEventThreatDetectionCustomModuleRequest) String() string
- type UpdateSecurityHealthAnalyticsCustomModuleRequest
- func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule() *SecurityHealthAnalyticsCustomModule
- func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() bool
- func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
- func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) Reset()
- func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) String() string
- type ValidateEventThreatDetectionCustomModuleRequest
- func (*ValidateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateEventThreatDetectionCustomModuleRequest) GetParent() string
- func (x *ValidateEventThreatDetectionCustomModuleRequest) GetRawText() string
- func (x *ValidateEventThreatDetectionCustomModuleRequest) GetType() string
- func (*ValidateEventThreatDetectionCustomModuleRequest) ProtoMessage()
- func (x *ValidateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateEventThreatDetectionCustomModuleRequest) Reset()
- func (x *ValidateEventThreatDetectionCustomModuleRequest) String() string
- type ValidateEventThreatDetectionCustomModuleResponse
- func (*ValidateEventThreatDetectionCustomModuleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateEventThreatDetectionCustomModuleResponse) GetErrors() ...
- func (*ValidateEventThreatDetectionCustomModuleResponse) ProtoMessage()
- func (x *ValidateEventThreatDetectionCustomModuleResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateEventThreatDetectionCustomModuleResponse) Reset()
- func (x *ValidateEventThreatDetectionCustomModuleResponse) String() string
- type ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError
- func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetDescription() string
- func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetEnd() *ValidateEventThreatDetectionCustomModuleResponse_Position
- func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetFieldPath() string
- func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetStart() *ValidateEventThreatDetectionCustomModuleResponse_Position
- func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoMessage()
- func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoReflect() protoreflect.Message
- func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) Reset()
- func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) String() string
- type ValidateEventThreatDetectionCustomModuleResponse_Position
- func (*ValidateEventThreatDetectionCustomModuleResponse_Position) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) GetColumnNumber() int32
- func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) GetLineNumber() int32
- func (*ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoMessage()
- func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoReflect() protoreflect.Message
- func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) Reset()
- func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) String() string
Constants ¶
This section is empty.
Variables ¶
var ( EffectiveSecurityHealthAnalyticsCustomModule_EnablementState_name = map[int32]string{ 0: "ENABLEMENT_STATE_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", } EffectiveSecurityHealthAnalyticsCustomModule_EnablementState_value = map[string]int32{ "ENABLEMENT_STATE_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, } )
Enum value maps for EffectiveSecurityHealthAnalyticsCustomModule_EnablementState.
var ( SecurityHealthAnalyticsCustomModule_EnablementState_name = map[int32]string{ 0: "ENABLEMENT_STATE_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", 3: "INHERITED", } SecurityHealthAnalyticsCustomModule_EnablementState_value = map[string]int32{ "ENABLEMENT_STATE_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, "INHERITED": 3, } )
Enum value maps for SecurityHealthAnalyticsCustomModule_EnablementState.
var ( CustomConfig_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "CRITICAL", 2: "HIGH", 3: "MEDIUM", 4: "LOW", } CustomConfig_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "CRITICAL": 1, "HIGH": 2, "MEDIUM": 3, "LOW": 4, } )
Enum value maps for CustomConfig_Severity.
var ( SimulatedFinding_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "INACTIVE", } SimulatedFinding_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "INACTIVE": 2, } )
Enum value maps for SimulatedFinding_State.
var ( SimulatedFinding_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "CRITICAL", 2: "HIGH", 3: "MEDIUM", 4: "LOW", } SimulatedFinding_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "CRITICAL": 1, "HIGH": 2, "MEDIUM": 3, "LOW": 4, } )
Enum value maps for SimulatedFinding_Severity.
var ( SimulatedFinding_FindingClass_name = map[int32]string{ 0: "FINDING_CLASS_UNSPECIFIED", 1: "THREAT", 2: "VULNERABILITY", 3: "MISCONFIGURATION", 4: "OBSERVATION", 5: "SCC_ERROR", 6: "POSTURE_VIOLATION", } SimulatedFinding_FindingClass_value = map[string]int32{ "FINDING_CLASS_UNSPECIFIED": 0, "THREAT": 1, "VULNERABILITY": 2, "MISCONFIGURATION": 3, "OBSERVATION": 4, "SCC_ERROR": 5, "POSTURE_VIOLATION": 6, } )
Enum value maps for SimulatedFinding_FindingClass.
var ( EffectiveEventThreatDetectionCustomModule_EnablementState_name = map[int32]string{ 0: "ENABLEMENT_STATE_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", } EffectiveEventThreatDetectionCustomModule_EnablementState_value = map[string]int32{ "ENABLEMENT_STATE_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, } )
Enum value maps for EffectiveEventThreatDetectionCustomModule_EnablementState.
var ( EventThreatDetectionCustomModule_EnablementState_name = map[int32]string{ 0: "ENABLEMENT_STATE_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", 3: "INHERITED", } EventThreatDetectionCustomModule_EnablementState_value = map[string]int32{ "ENABLEMENT_STATE_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, "INHERITED": 3, } )
Enum value maps for EventThreatDetectionCustomModule_EnablementState.
var File_google_cloud_securitycentermanagement_v1_security_center_management_proto protoreflect.FileDescriptor
Functions ¶
func RegisterSecurityCenterManagementServer ¶
func RegisterSecurityCenterManagementServer(s *grpc.Server, srv SecurityCenterManagementServer)
Types ¶
type CreateEventThreatDetectionCustomModuleRequest ¶
type CreateEventThreatDetectionCustomModuleRequest struct { // Required. Name of parent for the module. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The module to create. The // event_threat_detection_custom_module.name will be ignored and server // generated. EventThreatDetectionCustomModule *EventThreatDetectionCustomModule `` /* 163-byte string literal not displayed */ // Optional. When set to true, only validations (including IAM checks) will // done for the request (no module will be created). An OK response indicates // the request is valid while an error response indicates the request is // invalid. Note that a subsequent request to actually create the module could // still fail because 1. the state could have changed (e.g. IAM permission // lost) or // 2. A failure occurred during creation of the module. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Message for creating a EventThreatDetectionCustomModule
func (*CreateEventThreatDetectionCustomModuleRequest) Descriptor
deprecated
func (*CreateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*CreateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule ¶
func (x *CreateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule() *EventThreatDetectionCustomModule
func (*CreateEventThreatDetectionCustomModuleRequest) GetParent ¶
func (x *CreateEventThreatDetectionCustomModuleRequest) GetParent() string
func (*CreateEventThreatDetectionCustomModuleRequest) GetValidateOnly ¶
func (x *CreateEventThreatDetectionCustomModuleRequest) GetValidateOnly() bool
func (*CreateEventThreatDetectionCustomModuleRequest) ProtoMessage ¶
func (*CreateEventThreatDetectionCustomModuleRequest) ProtoMessage()
func (*CreateEventThreatDetectionCustomModuleRequest) ProtoReflect ¶
func (x *CreateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*CreateEventThreatDetectionCustomModuleRequest) Reset ¶
func (x *CreateEventThreatDetectionCustomModuleRequest) Reset()
func (*CreateEventThreatDetectionCustomModuleRequest) String ¶
func (x *CreateEventThreatDetectionCustomModuleRequest) String() string
type CreateSecurityHealthAnalyticsCustomModuleRequest ¶
type CreateSecurityHealthAnalyticsCustomModuleRequest struct { // Required. Name of the parent for the module. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The resource being created SecurityHealthAnalyticsCustomModule *SecurityHealthAnalyticsCustomModule `` /* 172-byte string literal not displayed */ // Optional. When set to true, only validations (including IAM checks) will // done for the request (no module will be created). An OK response indicates // the request is valid while an error response indicates the request is // invalid. Note that a subsequent request to actually create the module could // still fail because: // 1. the state could have changed (e.g. IAM permission lost) or // 2. A failure occurred during creation of the module. // // Defaults to false. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Message for creating a SecurityHealthAnalyticsCustomModule
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) Descriptor
deprecated
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) GetParent ¶
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetParent() string
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule ¶
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule() *SecurityHealthAnalyticsCustomModule
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly ¶
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() bool
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage ¶
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect ¶
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) Reset ¶
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) Reset()
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) String ¶
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) String() string
type CustomConfig ¶
type CustomConfig struct { // Optional. The CEL expression to evaluate to produce findings. When the // expression evaluates to true against a resource, a finding is generated. Predicate *expr.Expr `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"` // Optional. Custom output properties. CustomOutput *CustomConfig_CustomOutputSpec `protobuf:"bytes,2,opt,name=custom_output,json=customOutput,proto3" json:"custom_output,omitempty"` // Optional. The Cloud Asset Inventory resource types that the custom module // operates on. For information about resource types, see [Supported asset // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types). // Each custom module can specify up to 5 resource types. ResourceSelector *CustomConfig_ResourceSelector `protobuf:"bytes,3,opt,name=resource_selector,json=resourceSelector,proto3" json:"resource_selector,omitempty"` // Optional. The severity to assign to findings generated by the module. Severity CustomConfig_Severity `` /* 138-byte string literal not displayed */ // Optional. Text that describes the vulnerability or misconfiguration that // the custom module detects. This explanation is returned with each finding // instance to help investigators understand the detected issue. The text must // be enclosed in quotation marks. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Optional. An explanation of the recommended steps that security teams can // take to resolve the detected issue. This explanation is returned with each // finding generated by this module in the `nextSteps` property of the finding // JSON. Recommendation string `protobuf:"bytes,6,opt,name=recommendation,proto3" json:"recommendation,omitempty"` // contains filtered or unexported fields }
Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.
func (*CustomConfig) Descriptor
deprecated
func (*CustomConfig) Descriptor() ([]byte, []int)
Deprecated: Use CustomConfig.ProtoReflect.Descriptor instead.
func (*CustomConfig) GetCustomOutput ¶
func (x *CustomConfig) GetCustomOutput() *CustomConfig_CustomOutputSpec
func (*CustomConfig) GetDescription ¶
func (x *CustomConfig) GetDescription() string
func (*CustomConfig) GetPredicate ¶
func (x *CustomConfig) GetPredicate() *expr.Expr
func (*CustomConfig) GetRecommendation ¶
func (x *CustomConfig) GetRecommendation() string
func (*CustomConfig) GetResourceSelector ¶
func (x *CustomConfig) GetResourceSelector() *CustomConfig_ResourceSelector
func (*CustomConfig) GetSeverity ¶
func (x *CustomConfig) GetSeverity() CustomConfig_Severity
func (*CustomConfig) ProtoMessage ¶
func (*CustomConfig) ProtoMessage()
func (*CustomConfig) ProtoReflect ¶
func (x *CustomConfig) ProtoReflect() protoreflect.Message
func (*CustomConfig) Reset ¶
func (x *CustomConfig) Reset()
func (*CustomConfig) String ¶
func (x *CustomConfig) String() string
type CustomConfig_CustomOutputSpec ¶
type CustomConfig_CustomOutputSpec struct { // Optional. A list of custom output properties to add to the finding. Properties []*CustomConfig_CustomOutputSpec_Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under `sourceProperties`.
func (*CustomConfig_CustomOutputSpec) Descriptor
deprecated
func (*CustomConfig_CustomOutputSpec) Descriptor() ([]byte, []int)
Deprecated: Use CustomConfig_CustomOutputSpec.ProtoReflect.Descriptor instead.
func (*CustomConfig_CustomOutputSpec) GetProperties ¶
func (x *CustomConfig_CustomOutputSpec) GetProperties() []*CustomConfig_CustomOutputSpec_Property
func (*CustomConfig_CustomOutputSpec) ProtoMessage ¶
func (*CustomConfig_CustomOutputSpec) ProtoMessage()
func (*CustomConfig_CustomOutputSpec) ProtoReflect ¶
func (x *CustomConfig_CustomOutputSpec) ProtoReflect() protoreflect.Message
func (*CustomConfig_CustomOutputSpec) Reset ¶
func (x *CustomConfig_CustomOutputSpec) Reset()
func (*CustomConfig_CustomOutputSpec) String ¶
func (x *CustomConfig_CustomOutputSpec) String() string
type CustomConfig_CustomOutputSpec_Property ¶
type CustomConfig_CustomOutputSpec_Property struct { // Optional. Name of the property for the custom output. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The CEL expression for the custom output. A resource property // can be specified to return the value of the property or a text string // enclosed in quotation marks. ValueExpression *expr.Expr `protobuf:"bytes,2,opt,name=value_expression,json=valueExpression,proto3" json:"value_expression,omitempty"` // contains filtered or unexported fields }
An individual name-value pair that defines a custom source property.
func (*CustomConfig_CustomOutputSpec_Property) Descriptor
deprecated
func (*CustomConfig_CustomOutputSpec_Property) Descriptor() ([]byte, []int)
Deprecated: Use CustomConfig_CustomOutputSpec_Property.ProtoReflect.Descriptor instead.
func (*CustomConfig_CustomOutputSpec_Property) GetName ¶
func (x *CustomConfig_CustomOutputSpec_Property) GetName() string
func (*CustomConfig_CustomOutputSpec_Property) GetValueExpression ¶
func (x *CustomConfig_CustomOutputSpec_Property) GetValueExpression() *expr.Expr
func (*CustomConfig_CustomOutputSpec_Property) ProtoMessage ¶
func (*CustomConfig_CustomOutputSpec_Property) ProtoMessage()
func (*CustomConfig_CustomOutputSpec_Property) ProtoReflect ¶
func (x *CustomConfig_CustomOutputSpec_Property) ProtoReflect() protoreflect.Message
func (*CustomConfig_CustomOutputSpec_Property) Reset ¶
func (x *CustomConfig_CustomOutputSpec_Property) Reset()
func (*CustomConfig_CustomOutputSpec_Property) String ¶
func (x *CustomConfig_CustomOutputSpec_Property) String() string
type CustomConfig_ResourceSelector ¶
type CustomConfig_ResourceSelector struct { // Optional. The resource types to run the detector on. ResourceTypes []string `protobuf:"bytes,1,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"` // contains filtered or unexported fields }
Resource for selecting resource type.
func (*CustomConfig_ResourceSelector) Descriptor
deprecated
func (*CustomConfig_ResourceSelector) Descriptor() ([]byte, []int)
Deprecated: Use CustomConfig_ResourceSelector.ProtoReflect.Descriptor instead.
func (*CustomConfig_ResourceSelector) GetResourceTypes ¶
func (x *CustomConfig_ResourceSelector) GetResourceTypes() []string
func (*CustomConfig_ResourceSelector) ProtoMessage ¶
func (*CustomConfig_ResourceSelector) ProtoMessage()
func (*CustomConfig_ResourceSelector) ProtoReflect ¶
func (x *CustomConfig_ResourceSelector) ProtoReflect() protoreflect.Message
func (*CustomConfig_ResourceSelector) Reset ¶
func (x *CustomConfig_ResourceSelector) Reset()
func (*CustomConfig_ResourceSelector) String ¶
func (x *CustomConfig_ResourceSelector) String() string
type CustomConfig_Severity ¶
type CustomConfig_Severity int32
Defines the valid value options for the severity of a finding.
const ( // Unspecified severity. CustomConfig_SEVERITY_UNSPECIFIED CustomConfig_Severity = 0 // Critical severity. CustomConfig_CRITICAL CustomConfig_Severity = 1 // High severity. CustomConfig_HIGH CustomConfig_Severity = 2 // Medium severity. CustomConfig_MEDIUM CustomConfig_Severity = 3 // Low severity. CustomConfig_LOW CustomConfig_Severity = 4 )
func (CustomConfig_Severity) Descriptor ¶
func (CustomConfig_Severity) Descriptor() protoreflect.EnumDescriptor
func (CustomConfig_Severity) Enum ¶
func (x CustomConfig_Severity) Enum() *CustomConfig_Severity
func (CustomConfig_Severity) EnumDescriptor
deprecated
func (CustomConfig_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomConfig_Severity.Descriptor instead.
func (CustomConfig_Severity) Number ¶
func (x CustomConfig_Severity) Number() protoreflect.EnumNumber
func (CustomConfig_Severity) String ¶
func (x CustomConfig_Severity) String() string
func (CustomConfig_Severity) Type ¶
func (CustomConfig_Severity) Type() protoreflect.EnumType
type DeleteEventThreatDetectionCustomModuleRequest ¶
type DeleteEventThreatDetectionCustomModuleRequest struct { // Required. The resource name of the ETD custom module. // // Its format is: // // - "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // - "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // - "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. When set to true, only validations (including IAM checks) will // done for the request (module will not be deleted). An OK response indicates // the request is valid while an error response indicates the request is // invalid. Note that a subsequent request to actually delete the module could // still fail because 1. the state could have changed (e.g. IAM permission // lost) or // 2. A failure occurred while trying to delete the module. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Message for deleting a EventThreatDetectionCustomModule
func (*DeleteEventThreatDetectionCustomModuleRequest) Descriptor
deprecated
func (*DeleteEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteEventThreatDetectionCustomModuleRequest) GetName ¶
func (x *DeleteEventThreatDetectionCustomModuleRequest) GetName() string
func (*DeleteEventThreatDetectionCustomModuleRequest) GetValidateOnly ¶
func (x *DeleteEventThreatDetectionCustomModuleRequest) GetValidateOnly() bool
func (*DeleteEventThreatDetectionCustomModuleRequest) ProtoMessage ¶
func (*DeleteEventThreatDetectionCustomModuleRequest) ProtoMessage()
func (*DeleteEventThreatDetectionCustomModuleRequest) ProtoReflect ¶
func (x *DeleteEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteEventThreatDetectionCustomModuleRequest) Reset ¶
func (x *DeleteEventThreatDetectionCustomModuleRequest) Reset()
func (*DeleteEventThreatDetectionCustomModuleRequest) String ¶
func (x *DeleteEventThreatDetectionCustomModuleRequest) String() string
type DeleteSecurityHealthAnalyticsCustomModuleRequest ¶
type DeleteSecurityHealthAnalyticsCustomModuleRequest struct { // Required. The resource name of the SHA custom module. // // Its format is: // // - "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}". // - "folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}". // - "projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. When set to true, only validations (including IAM checks) will // done for the request (module will not be deleted). An OK response indicates // the request is valid while an error response indicates the request is // invalid. Note that a subsequent request to actually delete the module could // still fail because 1. the state could have changed (e.g. IAM permission // lost) or // 2. A failure occurred while trying to delete the module. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Message for deleting a SecurityHealthAnalyticsCustomModule
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) Descriptor
deprecated
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) GetName ¶
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) GetName() string
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly ¶
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() bool
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage ¶
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect ¶
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) Reset ¶
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) Reset()
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) String ¶
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) String() string
type EffectiveEventThreatDetectionCustomModule ¶
type EffectiveEventThreatDetectionCustomModule struct { // Identifier. The resource name of the ETD custom module. // // Its format is: // // - "organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". // - "folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". // - "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Config for the effective module. Config *structpb.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Output only. The effective state of enablement for the module at the given // level of the hierarchy. EnablementState EffectiveEventThreatDetectionCustomModule_EnablementState `` /* 211-byte string literal not displayed */ // Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP. Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // Output only. The human readable name to be displayed for the module. DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. The description for the module. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
An EffectiveEventThreatDetectionCustomModule is the representation of EventThreatDetectionCustomModule at a given level taking hierarchy into account and resolving various fields accordingly. e.g. if the module is enabled at the ancestor level, effective modules at all descendant levels will have enablement_state set to ENABLED. Similarly, if module.inherited is set, then effective module's config will contain the ancestor's config details. EffectiveEventThreatDetectionCustomModule is read-only.
func (*EffectiveEventThreatDetectionCustomModule) Descriptor
deprecated
func (*EffectiveEventThreatDetectionCustomModule) Descriptor() ([]byte, []int)
Deprecated: Use EffectiveEventThreatDetectionCustomModule.ProtoReflect.Descriptor instead.
func (*EffectiveEventThreatDetectionCustomModule) GetConfig ¶
func (x *EffectiveEventThreatDetectionCustomModule) GetConfig() *structpb.Struct
func (*EffectiveEventThreatDetectionCustomModule) GetDescription ¶
func (x *EffectiveEventThreatDetectionCustomModule) GetDescription() string
func (*EffectiveEventThreatDetectionCustomModule) GetDisplayName ¶
func (x *EffectiveEventThreatDetectionCustomModule) GetDisplayName() string
func (*EffectiveEventThreatDetectionCustomModule) GetEnablementState ¶
func (x *EffectiveEventThreatDetectionCustomModule) GetEnablementState() EffectiveEventThreatDetectionCustomModule_EnablementState
func (*EffectiveEventThreatDetectionCustomModule) GetName ¶
func (x *EffectiveEventThreatDetectionCustomModule) GetName() string
func (*EffectiveEventThreatDetectionCustomModule) GetType ¶
func (x *EffectiveEventThreatDetectionCustomModule) GetType() string
func (*EffectiveEventThreatDetectionCustomModule) ProtoMessage ¶
func (*EffectiveEventThreatDetectionCustomModule) ProtoMessage()
func (*EffectiveEventThreatDetectionCustomModule) ProtoReflect ¶
func (x *EffectiveEventThreatDetectionCustomModule) ProtoReflect() protoreflect.Message
func (*EffectiveEventThreatDetectionCustomModule) Reset ¶
func (x *EffectiveEventThreatDetectionCustomModule) Reset()
func (*EffectiveEventThreatDetectionCustomModule) String ¶
func (x *EffectiveEventThreatDetectionCustomModule) String() string
type EffectiveEventThreatDetectionCustomModule_EnablementState ¶
type EffectiveEventThreatDetectionCustomModule_EnablementState int32
The enablement state of the module.
const ( // Unspecified enablement state. EffectiveEventThreatDetectionCustomModule_ENABLEMENT_STATE_UNSPECIFIED EffectiveEventThreatDetectionCustomModule_EnablementState = 0 // The module is enabled at the given level. EffectiveEventThreatDetectionCustomModule_ENABLED EffectiveEventThreatDetectionCustomModule_EnablementState = 1 // The module is disabled at the given level. EffectiveEventThreatDetectionCustomModule_DISABLED EffectiveEventThreatDetectionCustomModule_EnablementState = 2 )
func (EffectiveEventThreatDetectionCustomModule_EnablementState) Descriptor ¶
func (EffectiveEventThreatDetectionCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
func (EffectiveEventThreatDetectionCustomModule_EnablementState) EnumDescriptor
deprecated
func (EffectiveEventThreatDetectionCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EffectiveEventThreatDetectionCustomModule_EnablementState.Descriptor instead.
func (EffectiveEventThreatDetectionCustomModule_EnablementState) Number ¶
func (x EffectiveEventThreatDetectionCustomModule_EnablementState) Number() protoreflect.EnumNumber
func (EffectiveEventThreatDetectionCustomModule_EnablementState) String ¶
func (x EffectiveEventThreatDetectionCustomModule_EnablementState) String() string
type EffectiveSecurityHealthAnalyticsCustomModule ¶
type EffectiveSecurityHealthAnalyticsCustomModule struct { // Identifier. The resource name of the custom module. // Its format is // "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", // or // "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}", // or // "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{effective_security_health_analytics_custom_module}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The user-specified configuration for the module. CustomConfig *CustomConfig `protobuf:"bytes,2,opt,name=custom_config,json=customConfig,proto3" json:"custom_config,omitempty"` // Output only. The effective state of enablement for the module at the given // level of the hierarchy. EnablementState EffectiveSecurityHealthAnalyticsCustomModule_EnablementState `` /* 214-byte string literal not displayed */ // Output only. The display name for the custom module. The name must be // between 1 and 128 characters, start with a lowercase letter, and contain // alphanumeric characters or underscores only. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
func (*EffectiveSecurityHealthAnalyticsCustomModule) Descriptor
deprecated
func (*EffectiveSecurityHealthAnalyticsCustomModule) Descriptor() ([]byte, []int)
Deprecated: Use EffectiveSecurityHealthAnalyticsCustomModule.ProtoReflect.Descriptor instead.
func (*EffectiveSecurityHealthAnalyticsCustomModule) GetCustomConfig ¶
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetCustomConfig() *CustomConfig
func (*EffectiveSecurityHealthAnalyticsCustomModule) GetDisplayName ¶
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetDisplayName() string
func (*EffectiveSecurityHealthAnalyticsCustomModule) GetEnablementState ¶
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetEnablementState() EffectiveSecurityHealthAnalyticsCustomModule_EnablementState
func (*EffectiveSecurityHealthAnalyticsCustomModule) GetName ¶
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetName() string
func (*EffectiveSecurityHealthAnalyticsCustomModule) ProtoMessage ¶
func (*EffectiveSecurityHealthAnalyticsCustomModule) ProtoMessage()
func (*EffectiveSecurityHealthAnalyticsCustomModule) ProtoReflect ¶
func (x *EffectiveSecurityHealthAnalyticsCustomModule) ProtoReflect() protoreflect.Message
func (*EffectiveSecurityHealthAnalyticsCustomModule) Reset ¶
func (x *EffectiveSecurityHealthAnalyticsCustomModule) Reset()
func (*EffectiveSecurityHealthAnalyticsCustomModule) String ¶
func (x *EffectiveSecurityHealthAnalyticsCustomModule) String() string
type EffectiveSecurityHealthAnalyticsCustomModule_EnablementState ¶
type EffectiveSecurityHealthAnalyticsCustomModule_EnablementState int32
The enablement state of the module.
const ( // Unspecified enablement state. EffectiveSecurityHealthAnalyticsCustomModule_ENABLEMENT_STATE_UNSPECIFIED EffectiveSecurityHealthAnalyticsCustomModule_EnablementState = 0 // The module is enabled at the given level. EffectiveSecurityHealthAnalyticsCustomModule_ENABLED EffectiveSecurityHealthAnalyticsCustomModule_EnablementState = 1 // The module is disabled at the given level. EffectiveSecurityHealthAnalyticsCustomModule_DISABLED EffectiveSecurityHealthAnalyticsCustomModule_EnablementState = 2 )
func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Descriptor ¶
func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor
deprecated
func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EffectiveSecurityHealthAnalyticsCustomModule_EnablementState.Descriptor instead.
func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) String ¶
func (x EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) String() string
type EventThreatDetectionCustomModule ¶
type EventThreatDetectionCustomModule struct { // Identifier. The resource name of the ETD custom module. // // Its format is: // // - "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // - "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // - "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Config for the module. For the resident module, its config value // is defined at this level. For the inherited module, its config value is // inherited from the ancestor module. Config *structpb.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Output only. The closest ancestor module that this module inherits the // enablement state from. If empty, indicates that the custom module was // created in the requesting parent organization, folder, or project. The // format is the same as the EventThreatDetectionCustomModule resource name. AncestorModule string `protobuf:"bytes,3,opt,name=ancestor_module,json=ancestorModule,proto3" json:"ancestor_module,omitempty"` // Optional. The state of enablement for the module at the given level of the // hierarchy. EnablementState EventThreatDetectionCustomModule_EnablementState `` /* 202-byte string literal not displayed */ // Optional. Type for the module. e.g. CONFIGURABLE_BAD_IP. Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"` // Optional. The human readable name to be displayed for the module. DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. The description for the module. Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time the module was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The editor the module was last updated by. LastEditor string `protobuf:"bytes,9,opt,name=last_editor,json=lastEditor,proto3" json:"last_editor,omitempty"` // contains filtered or unexported fields }
An event threat detection custom module is a Cloud SCC resource that contains the configuration and enablement state of a custom module, which enables ETD to write certain findings to Cloud SCC.
func (*EventThreatDetectionCustomModule) Descriptor
deprecated
func (*EventThreatDetectionCustomModule) Descriptor() ([]byte, []int)
Deprecated: Use EventThreatDetectionCustomModule.ProtoReflect.Descriptor instead.
func (*EventThreatDetectionCustomModule) GetAncestorModule ¶
func (x *EventThreatDetectionCustomModule) GetAncestorModule() string
func (*EventThreatDetectionCustomModule) GetConfig ¶
func (x *EventThreatDetectionCustomModule) GetConfig() *structpb.Struct
func (*EventThreatDetectionCustomModule) GetDescription ¶
func (x *EventThreatDetectionCustomModule) GetDescription() string
func (*EventThreatDetectionCustomModule) GetDisplayName ¶
func (x *EventThreatDetectionCustomModule) GetDisplayName() string
func (*EventThreatDetectionCustomModule) GetEnablementState ¶
func (x *EventThreatDetectionCustomModule) GetEnablementState() EventThreatDetectionCustomModule_EnablementState
func (*EventThreatDetectionCustomModule) GetLastEditor ¶
func (x *EventThreatDetectionCustomModule) GetLastEditor() string
func (*EventThreatDetectionCustomModule) GetName ¶
func (x *EventThreatDetectionCustomModule) GetName() string
func (*EventThreatDetectionCustomModule) GetType ¶
func (x *EventThreatDetectionCustomModule) GetType() string
func (*EventThreatDetectionCustomModule) GetUpdateTime ¶
func (x *EventThreatDetectionCustomModule) GetUpdateTime() *timestamppb.Timestamp
func (*EventThreatDetectionCustomModule) ProtoMessage ¶
func (*EventThreatDetectionCustomModule) ProtoMessage()
func (*EventThreatDetectionCustomModule) ProtoReflect ¶
func (x *EventThreatDetectionCustomModule) ProtoReflect() protoreflect.Message
func (*EventThreatDetectionCustomModule) Reset ¶
func (x *EventThreatDetectionCustomModule) Reset()
func (*EventThreatDetectionCustomModule) String ¶
func (x *EventThreatDetectionCustomModule) String() string
type EventThreatDetectionCustomModule_EnablementState ¶
type EventThreatDetectionCustomModule_EnablementState int32
The enablement state of the module.
const ( // Unspecified enablement state. EventThreatDetectionCustomModule_ENABLEMENT_STATE_UNSPECIFIED EventThreatDetectionCustomModule_EnablementState = 0 // The module is enabled at the given level. EventThreatDetectionCustomModule_ENABLED EventThreatDetectionCustomModule_EnablementState = 1 // The module is disabled at the given level. EventThreatDetectionCustomModule_DISABLED EventThreatDetectionCustomModule_EnablementState = 2 // State is inherited from an ancestor module. The module will either // be effectively ENABLED or DISABLED based on its closest non-inherited // ancestor module in the CRM hierarchy. Attempting to set a top level // module (module with no parent) to the INHERITED state will result in an // error. EventThreatDetectionCustomModule_INHERITED EventThreatDetectionCustomModule_EnablementState = 3 )
func (EventThreatDetectionCustomModule_EnablementState) Descriptor ¶
func (EventThreatDetectionCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
func (EventThreatDetectionCustomModule_EnablementState) EnumDescriptor
deprecated
func (EventThreatDetectionCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventThreatDetectionCustomModule_EnablementState.Descriptor instead.
func (EventThreatDetectionCustomModule_EnablementState) Number ¶
func (x EventThreatDetectionCustomModule_EnablementState) Number() protoreflect.EnumNumber
func (EventThreatDetectionCustomModule_EnablementState) String ¶
func (x EventThreatDetectionCustomModule_EnablementState) String() string
type GetEffectiveEventThreatDetectionCustomModuleRequest ¶
type GetEffectiveEventThreatDetectionCustomModuleRequest struct { // Required. The resource name of the ETD custom module. // // Its format is: // // - "organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". // - "folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". // - "projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{effective_event_threat_detection_custom_module}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for getting a EffectiveEventThreatDetectionCustomModule
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) Descriptor
deprecated
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEffectiveEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) GetName ¶
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) GetName() string
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoMessage ¶
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoMessage()
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoReflect ¶
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) Reset ¶
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) Reset()
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) String ¶
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) String() string
type GetEffectiveSecurityHealthAnalyticsCustomModuleRequest ¶
type GetEffectiveSecurityHealthAnalyticsCustomModuleRequest struct { // Required. The resource name of the SHA custom module. // // Its format is: // // - "organizations/{organization}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{module_id}". // - "folders/{folder}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{module_id}". // - "projects/{project}/locations/{location}/effectiveSecurityHealthAnalyticsCustomModules/{module_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for getting a EffectiveSecurityHealthAnalyticsCustomModule
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Descriptor
deprecated
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEffectiveSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) GetName ¶
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) GetName() string
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage ¶
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect ¶
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Reset ¶
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Reset()
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) String ¶
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) String() string
type GetEventThreatDetectionCustomModuleRequest ¶
type GetEventThreatDetectionCustomModuleRequest struct { // Required. The resource name of the ETD custom module. // // Its format is: // // - "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // - "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". // - "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for getting a EventThreatDetectionCustomModule
func (*GetEventThreatDetectionCustomModuleRequest) Descriptor
deprecated
func (*GetEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetEventThreatDetectionCustomModuleRequest) GetName ¶
func (x *GetEventThreatDetectionCustomModuleRequest) GetName() string
func (*GetEventThreatDetectionCustomModuleRequest) ProtoMessage ¶
func (*GetEventThreatDetectionCustomModuleRequest) ProtoMessage()
func (*GetEventThreatDetectionCustomModuleRequest) ProtoReflect ¶
func (x *GetEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*GetEventThreatDetectionCustomModuleRequest) Reset ¶
func (x *GetEventThreatDetectionCustomModuleRequest) Reset()
func (*GetEventThreatDetectionCustomModuleRequest) String ¶
func (x *GetEventThreatDetectionCustomModuleRequest) String() string
type GetSecurityHealthAnalyticsCustomModuleRequest ¶
type GetSecurityHealthAnalyticsCustomModuleRequest struct { // Required. Name of the resource Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message for getting a SecurityHealthAnalyticsCustomModule
func (*GetSecurityHealthAnalyticsCustomModuleRequest) Descriptor
deprecated
func (*GetSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetSecurityHealthAnalyticsCustomModuleRequest) GetName ¶
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) GetName() string
func (*GetSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage ¶
func (*GetSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
func (*GetSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect ¶
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*GetSecurityHealthAnalyticsCustomModuleRequest) Reset ¶
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) Reset()
func (*GetSecurityHealthAnalyticsCustomModuleRequest) String ¶
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) String() string
type ListDescendantEventThreatDetectionCustomModulesRequest ¶
type ListDescendantEventThreatDetectionCustomModulesRequest struct { // Required. Name of parent to list custom modules. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of modules to return. The service may return // fewer than this value. If unspecified, at most 10 configs 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"` // Optional. A token identifying a page of results the server should return. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for listing descendant Event Threat Detection custom modules.
func (*ListDescendantEventThreatDetectionCustomModulesRequest) Descriptor
deprecated
func (*ListDescendantEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDescendantEventThreatDetectionCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListDescendantEventThreatDetectionCustomModulesRequest) GetPageSize ¶
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetPageSize() int32
func (*ListDescendantEventThreatDetectionCustomModulesRequest) GetPageToken ¶
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetPageToken() string
func (*ListDescendantEventThreatDetectionCustomModulesRequest) GetParent ¶
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetParent() string
func (*ListDescendantEventThreatDetectionCustomModulesRequest) ProtoMessage ¶
func (*ListDescendantEventThreatDetectionCustomModulesRequest) ProtoMessage()
func (*ListDescendantEventThreatDetectionCustomModulesRequest) ProtoReflect ¶
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Message
func (*ListDescendantEventThreatDetectionCustomModulesRequest) Reset ¶
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) Reset()
func (*ListDescendantEventThreatDetectionCustomModulesRequest) String ¶
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) String() string
type ListDescendantEventThreatDetectionCustomModulesResponse ¶
type ListDescendantEventThreatDetectionCustomModulesResponse struct { // The list of EventThreatDetectionCustomModules EventThreatDetectionCustomModules []*EventThreatDetectionCustomModule `` /* 166-byte string literal not displayed */ // A token identifying a page of results the server should return. 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 listing descendant Event Threat Detection custom modules.
func (*ListDescendantEventThreatDetectionCustomModulesResponse) Descriptor
deprecated
func (*ListDescendantEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDescendantEventThreatDetectionCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListDescendantEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules ¶
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules() []*EventThreatDetectionCustomModule
func (*ListDescendantEventThreatDetectionCustomModulesResponse) GetNextPageToken ¶
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) GetNextPageToken() string
func (*ListDescendantEventThreatDetectionCustomModulesResponse) ProtoMessage ¶
func (*ListDescendantEventThreatDetectionCustomModulesResponse) ProtoMessage()
func (*ListDescendantEventThreatDetectionCustomModulesResponse) ProtoReflect ¶
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Message
func (*ListDescendantEventThreatDetectionCustomModulesResponse) Reset ¶
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) Reset()
func (*ListDescendantEventThreatDetectionCustomModulesResponse) String ¶
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) String() string
type ListDescendantSecurityHealthAnalyticsCustomModulesRequest ¶
type ListDescendantSecurityHealthAnalyticsCustomModulesRequest struct { // Required. Name of parent to list custom modules. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of results to return in a single response. // Default is 10, minimum is 1, maximum is 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results the server should return. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for listing descendant Security Health Analytics custom modules.
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Descriptor
deprecated
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDescendantSecurityHealthAnalyticsCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageSize ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageToken ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() string
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetParent ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetParent() string
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage ¶
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Message
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Reset ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Reset()
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) String ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) String() string
type ListDescendantSecurityHealthAnalyticsCustomModulesResponse ¶
type ListDescendantSecurityHealthAnalyticsCustomModulesResponse struct { // The list of SecurityHealthAnalyticsCustomModules SecurityHealthAnalyticsCustomModules []*SecurityHealthAnalyticsCustomModule `` /* 175-byte string literal not displayed */ // A token identifying a page of results the server should return. 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 listing descendant Security Health Analytics custom modules.
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Descriptor
deprecated
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDescendantSecurityHealthAnalyticsCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() string
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules() []*SecurityHealthAnalyticsCustomModule
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage ¶
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Message
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Reset ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Reset()
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) String ¶
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) String() string
type ListEffectiveEventThreatDetectionCustomModulesRequest ¶
type ListEffectiveEventThreatDetectionCustomModulesRequest struct { // Required. Name of parent to list effective custom modules. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of results to return in a single response. // Default is 10, minimum is 1, maximum is 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The value returned by the last call indicating a continuation PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for listing effective Event Threat Detection custom modules.
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) Descriptor
deprecated
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEffectiveEventThreatDetectionCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageSize ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageSize() int32
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageToken ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageToken() string
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) GetParent ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetParent() string
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoMessage ¶
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoMessage()
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoReflect ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Message
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) Reset ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) Reset()
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) String ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) String() string
type ListEffectiveEventThreatDetectionCustomModulesResponse ¶
type ListEffectiveEventThreatDetectionCustomModulesResponse struct { // The list of EffectiveEventThreatDetectionCustomModules EffectiveEventThreatDetectionCustomModules []*EffectiveEventThreatDetectionCustomModule `` /* 195-byte string literal not displayed */ // A token identifying a page of results the server should return. 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 listing effective Event Threat Detection custom modules.
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) Descriptor
deprecated
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEffectiveEventThreatDetectionCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) GetEffectiveEventThreatDetectionCustomModules ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) GetEffectiveEventThreatDetectionCustomModules() []*EffectiveEventThreatDetectionCustomModule
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) GetNextPageToken ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) GetNextPageToken() string
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoMessage ¶
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoMessage()
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoReflect ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Message
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) Reset ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) Reset()
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) String ¶
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) String() string
type ListEffectiveSecurityHealthAnalyticsCustomModulesRequest ¶
type ListEffectiveSecurityHealthAnalyticsCustomModulesRequest struct { // Required. Name of parent to list effective custom modules. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of results to return in a single response. // Default is 10, minimum is 1, maximum is 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The value returned by the last call indicating a continuation. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for listing effective Security Health Analytics custom modules.
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Descriptor
deprecated
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEffectiveSecurityHealthAnalyticsCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageSize ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageToken ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() string
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetParent ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetParent() string
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage ¶
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Message
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Reset ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Reset()
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) String ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) String() string
type ListEffectiveSecurityHealthAnalyticsCustomModulesResponse ¶
type ListEffectiveSecurityHealthAnalyticsCustomModulesResponse struct { // The list of EffectiveSecurityHealthAnalyticsCustomModule EffectiveSecurityHealthAnalyticsCustomModules []*EffectiveSecurityHealthAnalyticsCustomModule `` /* 204-byte string literal not displayed */ // A token identifying a page of results the server should return. 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 listing effective Security Health Analytics custom modules.
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Descriptor
deprecated
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEffectiveSecurityHealthAnalyticsCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetEffectiveSecurityHealthAnalyticsCustomModules ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetEffectiveSecurityHealthAnalyticsCustomModules() []*EffectiveSecurityHealthAnalyticsCustomModule
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() string
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage ¶
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Message
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Reset ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Reset()
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) String ¶
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) String() string
type ListEventThreatDetectionCustomModulesRequest ¶
type ListEventThreatDetectionCustomModulesRequest struct { // Required. Name of parent to list custom modules. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of modules to return. The service may return // fewer than this value. If unspecified, at most 10 configs 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"` // Optional. A page token, received from a previous // `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the // subsequent page. // // When paginating, all other parameters provided to // `ListEventThreatDetectionCustomModules` 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 listing Event Threat Detection custom modules.
func (*ListEventThreatDetectionCustomModulesRequest) Descriptor
deprecated
func (*ListEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventThreatDetectionCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListEventThreatDetectionCustomModulesRequest) GetPageSize ¶
func (x *ListEventThreatDetectionCustomModulesRequest) GetPageSize() int32
func (*ListEventThreatDetectionCustomModulesRequest) GetPageToken ¶
func (x *ListEventThreatDetectionCustomModulesRequest) GetPageToken() string
func (*ListEventThreatDetectionCustomModulesRequest) GetParent ¶
func (x *ListEventThreatDetectionCustomModulesRequest) GetParent() string
func (*ListEventThreatDetectionCustomModulesRequest) ProtoMessage ¶
func (*ListEventThreatDetectionCustomModulesRequest) ProtoMessage()
func (*ListEventThreatDetectionCustomModulesRequest) ProtoReflect ¶
func (x *ListEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Message
func (*ListEventThreatDetectionCustomModulesRequest) Reset ¶
func (x *ListEventThreatDetectionCustomModulesRequest) Reset()
func (*ListEventThreatDetectionCustomModulesRequest) String ¶
func (x *ListEventThreatDetectionCustomModulesRequest) String() string
type ListEventThreatDetectionCustomModulesResponse ¶
type ListEventThreatDetectionCustomModulesResponse struct { // The list of EventThreatDetectionCustomModules EventThreatDetectionCustomModules []*EventThreatDetectionCustomModule `` /* 166-byte string literal not displayed */ // A token identifying a page of results the server should return. 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 listing Event Threat Detection custom modules.
func (*ListEventThreatDetectionCustomModulesResponse) Descriptor
deprecated
func (*ListEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventThreatDetectionCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules ¶
func (x *ListEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules() []*EventThreatDetectionCustomModule
func (*ListEventThreatDetectionCustomModulesResponse) GetNextPageToken ¶
func (x *ListEventThreatDetectionCustomModulesResponse) GetNextPageToken() string
func (*ListEventThreatDetectionCustomModulesResponse) ProtoMessage ¶
func (*ListEventThreatDetectionCustomModulesResponse) ProtoMessage()
func (*ListEventThreatDetectionCustomModulesResponse) ProtoReflect ¶
func (x *ListEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Message
func (*ListEventThreatDetectionCustomModulesResponse) Reset ¶
func (x *ListEventThreatDetectionCustomModulesResponse) Reset()
func (*ListEventThreatDetectionCustomModulesResponse) String ¶
func (x *ListEventThreatDetectionCustomModulesResponse) String() string
type ListSecurityHealthAnalyticsCustomModulesRequest ¶
type ListSecurityHealthAnalyticsCustomModulesRequest struct { // Required. Name of parent to list custom modules. Its format is // "organizations/{organization}/locations/{location}", // "folders/{folder}/locations/{location}", // or // "projects/{project}/locations/{location}" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of results to return in a single response. // Default is 10, minimum is 1, maximum is 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results the server should return. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for listing Security Health Analytics custom modules.
func (*ListSecurityHealthAnalyticsCustomModulesRequest) Descriptor
deprecated
func (*ListSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityHealthAnalyticsCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListSecurityHealthAnalyticsCustomModulesRequest) GetPageSize ¶
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32
func (*ListSecurityHealthAnalyticsCustomModulesRequest) GetPageToken ¶
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() string
func (*ListSecurityHealthAnalyticsCustomModulesRequest) GetParent ¶
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetParent() string
func (*ListSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage ¶
func (*ListSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()
func (*ListSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect ¶
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Message
func (*ListSecurityHealthAnalyticsCustomModulesRequest) Reset ¶
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) Reset()
func (*ListSecurityHealthAnalyticsCustomModulesRequest) String ¶
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) String() string
type ListSecurityHealthAnalyticsCustomModulesResponse ¶
type ListSecurityHealthAnalyticsCustomModulesResponse struct { // The list of SecurityHealthAnalyticsCustomModules SecurityHealthAnalyticsCustomModules []*SecurityHealthAnalyticsCustomModule `` /* 175-byte string literal not displayed */ // A token identifying a page of results the server should return. 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 listing Security Health Analytics custom modules.
func (*ListSecurityHealthAnalyticsCustomModulesResponse) Descriptor
deprecated
func (*ListSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityHealthAnalyticsCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken ¶
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() string
func (*ListSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules ¶
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules() []*SecurityHealthAnalyticsCustomModule
func (*ListSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage ¶
func (*ListSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()
func (*ListSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect ¶
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Message
func (*ListSecurityHealthAnalyticsCustomModulesResponse) Reset ¶
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) Reset()
func (*ListSecurityHealthAnalyticsCustomModulesResponse) String ¶
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) String() string
type SecurityCenterManagementClient ¶
type SecurityCenterManagementClient interface { // Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the // given parent. This includes resident modules defined at the scope of the // parent, and inherited modules, inherited from CRM ancestors (no // descendants). ListEffectiveSecurityHealthAnalyticsCustomModules(ctx context.Context, in *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, opts ...grpc.CallOption) (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, error) // Gets details of a single EffectiveSecurityHealthAnalyticsCustomModule. GetEffectiveSecurityHealthAnalyticsCustomModule(ctx context.Context, in *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*EffectiveSecurityHealthAnalyticsCustomModule, error) // Returns a list of all SecurityHealthAnalyticsCustomModules for the given // parent. This includes resident modules defined at the scope of the parent, // and inherited modules, inherited from CRM ancestors (no descendants). ListSecurityHealthAnalyticsCustomModules(ctx context.Context, in *ListSecurityHealthAnalyticsCustomModulesRequest, opts ...grpc.CallOption) (*ListSecurityHealthAnalyticsCustomModulesResponse, error) // Returns a list of all resident SecurityHealthAnalyticsCustomModules under // the given CRM parent and all of the parent's CRM descendants. ListDescendantSecurityHealthAnalyticsCustomModules(ctx context.Context, in *ListDescendantSecurityHealthAnalyticsCustomModulesRequest, opts ...grpc.CallOption) (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse, error) // Retrieves a SecurityHealthAnalyticsCustomModule. GetSecurityHealthAnalyticsCustomModule(ctx context.Context, in *GetSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*SecurityHealthAnalyticsCustomModule, error) // Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the // given CRM parent, and also creates inherited // SecurityHealthAnalyticsCustomModules for all CRM descendants of the given // parent. These modules are enabled by default. CreateSecurityHealthAnalyticsCustomModule(ctx context.Context, in *CreateSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*SecurityHealthAnalyticsCustomModule, error) // Updates the SecurityHealthAnalyticsCustomModule under the given name based // on the given update mask. Updating the enablement state is supported on // both resident and inherited modules (though resident modules cannot have an // enablement state of "inherited"). Updating the display name and custom // config of a module is supported on resident modules only. UpdateSecurityHealthAnalyticsCustomModule(ctx context.Context, in *UpdateSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*SecurityHealthAnalyticsCustomModule, error) // Deletes the specified SecurityHealthAnalyticsCustomModule and all of its // descendants in the CRM hierarchy. This method is only supported for // resident custom modules. DeleteSecurityHealthAnalyticsCustomModule(ctx context.Context, in *DeleteSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Simulates a given SecurityHealthAnalyticsCustomModule and Resource. SimulateSecurityHealthAnalyticsCustomModule(ctx context.Context, in *SimulateSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*SimulateSecurityHealthAnalyticsCustomModuleResponse, error) // Lists all effective Event Threat Detection custom modules for the // given parent. This includes resident modules defined at the scope of the // parent along with modules inherited from its ancestors. ListEffectiveEventThreatDetectionCustomModules(ctx context.Context, in *ListEffectiveEventThreatDetectionCustomModulesRequest, opts ...grpc.CallOption) (*ListEffectiveEventThreatDetectionCustomModulesResponse, error) // Gets an effective ETD custom module. Retrieves the effective module at the // given level. The difference between an EffectiveCustomModule and a // CustomModule is that the fields for an EffectiveCustomModule are computed // from ancestors if needed. For example, the enablement_state for a // CustomModule can be either ENABLED, DISABLED, or INHERITED. Where as the // enablement_state for an EffectiveCustomModule is always computed to ENABLED // or DISABLED (the effective enablement_state). GetEffectiveEventThreatDetectionCustomModule(ctx context.Context, in *GetEffectiveEventThreatDetectionCustomModuleRequest, opts ...grpc.CallOption) (*EffectiveEventThreatDetectionCustomModule, error) // Lists all Event Threat Detection custom modules for the given // Resource Manager parent. This includes resident modules defined at the // scope of the parent along with modules inherited from ancestors. ListEventThreatDetectionCustomModules(ctx context.Context, in *ListEventThreatDetectionCustomModulesRequest, opts ...grpc.CallOption) (*ListEventThreatDetectionCustomModulesResponse, error) // Lists all resident Event Threat Detection custom modules under the // given Resource Manager parent and its descendants. ListDescendantEventThreatDetectionCustomModules(ctx context.Context, in *ListDescendantEventThreatDetectionCustomModulesRequest, opts ...grpc.CallOption) (*ListDescendantEventThreatDetectionCustomModulesResponse, error) // Gets an Event Threat Detection custom module. GetEventThreatDetectionCustomModule(ctx context.Context, in *GetEventThreatDetectionCustomModuleRequest, opts ...grpc.CallOption) (*EventThreatDetectionCustomModule, error) // Creates a resident Event Threat Detection custom module at the scope of the // given Resource Manager parent, and also creates inherited custom modules // for all descendants of the given parent. These modules are enabled by // default. CreateEventThreatDetectionCustomModule(ctx context.Context, in *CreateEventThreatDetectionCustomModuleRequest, opts ...grpc.CallOption) (*EventThreatDetectionCustomModule, error) // Updates the Event Threat Detection custom module with the given name based // on the given update mask. Updating the enablement state is supported for // both resident and inherited modules (though resident modules cannot have an // enablement state of "inherited"). Updating the display name or // configuration of a module is supported for resident modules only. The type // of a module cannot be changed. UpdateEventThreatDetectionCustomModule(ctx context.Context, in *UpdateEventThreatDetectionCustomModuleRequest, opts ...grpc.CallOption) (*EventThreatDetectionCustomModule, error) // Deletes the specified Event Threat Detection custom module and all of its // descendants in the Resource Manager hierarchy. This method is only // supported for resident custom modules. DeleteEventThreatDetectionCustomModule(ctx context.Context, in *DeleteEventThreatDetectionCustomModuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Validates the given Event Threat Detection custom module. ValidateEventThreatDetectionCustomModule(ctx context.Context, in *ValidateEventThreatDetectionCustomModuleRequest, opts ...grpc.CallOption) (*ValidateEventThreatDetectionCustomModuleResponse, error) }
SecurityCenterManagementClient is the client API for SecurityCenterManagement service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSecurityCenterManagementClient ¶
func NewSecurityCenterManagementClient(cc grpc.ClientConnInterface) SecurityCenterManagementClient
type SecurityCenterManagementServer ¶
type SecurityCenterManagementServer interface { // Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the // given parent. This includes resident modules defined at the scope of the // parent, and inherited modules, inherited from CRM ancestors (no // descendants). ListEffectiveSecurityHealthAnalyticsCustomModules(context.Context, *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, error) // Gets details of a single EffectiveSecurityHealthAnalyticsCustomModule. GetEffectiveSecurityHealthAnalyticsCustomModule(context.Context, *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) (*EffectiveSecurityHealthAnalyticsCustomModule, error) // Returns a list of all SecurityHealthAnalyticsCustomModules for the given // parent. This includes resident modules defined at the scope of the parent, // and inherited modules, inherited from CRM ancestors (no descendants). ListSecurityHealthAnalyticsCustomModules(context.Context, *ListSecurityHealthAnalyticsCustomModulesRequest) (*ListSecurityHealthAnalyticsCustomModulesResponse, error) // Returns a list of all resident SecurityHealthAnalyticsCustomModules under // the given CRM parent and all of the parent's CRM descendants. ListDescendantSecurityHealthAnalyticsCustomModules(context.Context, *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse, error) // Retrieves a SecurityHealthAnalyticsCustomModule. GetSecurityHealthAnalyticsCustomModule(context.Context, *GetSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error) // Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the // given CRM parent, and also creates inherited // SecurityHealthAnalyticsCustomModules for all CRM descendants of the given // parent. These modules are enabled by default. CreateSecurityHealthAnalyticsCustomModule(context.Context, *CreateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error) // Updates the SecurityHealthAnalyticsCustomModule under the given name based // on the given update mask. Updating the enablement state is supported on // both resident and inherited modules (though resident modules cannot have an // enablement state of "inherited"). Updating the display name and custom // config of a module is supported on resident modules only. UpdateSecurityHealthAnalyticsCustomModule(context.Context, *UpdateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error) // Deletes the specified SecurityHealthAnalyticsCustomModule and all of its // descendants in the CRM hierarchy. This method is only supported for // resident custom modules. DeleteSecurityHealthAnalyticsCustomModule(context.Context, *DeleteSecurityHealthAnalyticsCustomModuleRequest) (*emptypb.Empty, error) // Simulates a given SecurityHealthAnalyticsCustomModule and Resource. SimulateSecurityHealthAnalyticsCustomModule(context.Context, *SimulateSecurityHealthAnalyticsCustomModuleRequest) (*SimulateSecurityHealthAnalyticsCustomModuleResponse, error) // Lists all effective Event Threat Detection custom modules for the // given parent. This includes resident modules defined at the scope of the // parent along with modules inherited from its ancestors. ListEffectiveEventThreatDetectionCustomModules(context.Context, *ListEffectiveEventThreatDetectionCustomModulesRequest) (*ListEffectiveEventThreatDetectionCustomModulesResponse, error) // Gets an effective ETD custom module. Retrieves the effective module at the // given level. The difference between an EffectiveCustomModule and a // CustomModule is that the fields for an EffectiveCustomModule are computed // from ancestors if needed. For example, the enablement_state for a // CustomModule can be either ENABLED, DISABLED, or INHERITED. Where as the // enablement_state for an EffectiveCustomModule is always computed to ENABLED // or DISABLED (the effective enablement_state). GetEffectiveEventThreatDetectionCustomModule(context.Context, *GetEffectiveEventThreatDetectionCustomModuleRequest) (*EffectiveEventThreatDetectionCustomModule, error) // Lists all Event Threat Detection custom modules for the given // Resource Manager parent. This includes resident modules defined at the // scope of the parent along with modules inherited from ancestors. ListEventThreatDetectionCustomModules(context.Context, *ListEventThreatDetectionCustomModulesRequest) (*ListEventThreatDetectionCustomModulesResponse, error) // Lists all resident Event Threat Detection custom modules under the // given Resource Manager parent and its descendants. ListDescendantEventThreatDetectionCustomModules(context.Context, *ListDescendantEventThreatDetectionCustomModulesRequest) (*ListDescendantEventThreatDetectionCustomModulesResponse, error) // Gets an Event Threat Detection custom module. GetEventThreatDetectionCustomModule(context.Context, *GetEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error) // Creates a resident Event Threat Detection custom module at the scope of the // given Resource Manager parent, and also creates inherited custom modules // for all descendants of the given parent. These modules are enabled by // default. CreateEventThreatDetectionCustomModule(context.Context, *CreateEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error) // Updates the Event Threat Detection custom module with the given name based // on the given update mask. Updating the enablement state is supported for // both resident and inherited modules (though resident modules cannot have an // enablement state of "inherited"). Updating the display name or // configuration of a module is supported for resident modules only. The type // of a module cannot be changed. UpdateEventThreatDetectionCustomModule(context.Context, *UpdateEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error) // Deletes the specified Event Threat Detection custom module and all of its // descendants in the Resource Manager hierarchy. This method is only // supported for resident custom modules. DeleteEventThreatDetectionCustomModule(context.Context, *DeleteEventThreatDetectionCustomModuleRequest) (*emptypb.Empty, error) // Validates the given Event Threat Detection custom module. ValidateEventThreatDetectionCustomModule(context.Context, *ValidateEventThreatDetectionCustomModuleRequest) (*ValidateEventThreatDetectionCustomModuleResponse, error) }
SecurityCenterManagementServer is the server API for SecurityCenterManagement service.
type SecurityHealthAnalyticsCustomModule ¶
type SecurityHealthAnalyticsCustomModule struct { // Identifier. The resource name of the custom module. // Its format is // "organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}", // or // "folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}", // or // "projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{security_health_analytics_custom_module}" // // The id {customModule} is server-generated and is not user settable. // It will be a numeric id containing 1-20 digits. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The display name of the Security Health Analytics custom module. // This display name becomes the finding category for all findings that are // returned by this custom module. The display name must be between 1 and // 128 characters, start with a lowercase letter, and contain alphanumeric // characters or underscores only. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. The enablement state of the custom module. EnablementState SecurityHealthAnalyticsCustomModule_EnablementState `` /* 205-byte string literal not displayed */ // Output only. The time at which the custom module was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The editor that last updated the custom module. LastEditor string `protobuf:"bytes,5,opt,name=last_editor,json=lastEditor,proto3" json:"last_editor,omitempty"` // Output only. Specifies the organization or folder from which the custom // module is inherited. If empty, indicates that the custom module was created // in the organization, folder, or project in which you are viewing the custom // module. AncestorModule string `protobuf:"bytes,6,opt,name=ancestor_module,json=ancestorModule,proto3" json:"ancestor_module,omitempty"` // Optional. The user specified custom configuration for the module. CustomConfig *CustomConfig `protobuf:"bytes,7,opt,name=custom_config,json=customConfig,proto3" json:"custom_config,omitempty"` // contains filtered or unexported fields }
Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.
func (*SecurityHealthAnalyticsCustomModule) Descriptor
deprecated
func (*SecurityHealthAnalyticsCustomModule) Descriptor() ([]byte, []int)
Deprecated: Use SecurityHealthAnalyticsCustomModule.ProtoReflect.Descriptor instead.
func (*SecurityHealthAnalyticsCustomModule) GetAncestorModule ¶
func (x *SecurityHealthAnalyticsCustomModule) GetAncestorModule() string
func (*SecurityHealthAnalyticsCustomModule) GetCustomConfig ¶
func (x *SecurityHealthAnalyticsCustomModule) GetCustomConfig() *CustomConfig
func (*SecurityHealthAnalyticsCustomModule) GetDisplayName ¶
func (x *SecurityHealthAnalyticsCustomModule) GetDisplayName() string
func (*SecurityHealthAnalyticsCustomModule) GetEnablementState ¶
func (x *SecurityHealthAnalyticsCustomModule) GetEnablementState() SecurityHealthAnalyticsCustomModule_EnablementState
func (*SecurityHealthAnalyticsCustomModule) GetLastEditor ¶
func (x *SecurityHealthAnalyticsCustomModule) GetLastEditor() string
func (*SecurityHealthAnalyticsCustomModule) GetName ¶
func (x *SecurityHealthAnalyticsCustomModule) GetName() string
func (*SecurityHealthAnalyticsCustomModule) GetUpdateTime ¶
func (x *SecurityHealthAnalyticsCustomModule) GetUpdateTime() *timestamppb.Timestamp
func (*SecurityHealthAnalyticsCustomModule) ProtoMessage ¶
func (*SecurityHealthAnalyticsCustomModule) ProtoMessage()
func (*SecurityHealthAnalyticsCustomModule) ProtoReflect ¶
func (x *SecurityHealthAnalyticsCustomModule) ProtoReflect() protoreflect.Message
func (*SecurityHealthAnalyticsCustomModule) Reset ¶
func (x *SecurityHealthAnalyticsCustomModule) Reset()
func (*SecurityHealthAnalyticsCustomModule) String ¶
func (x *SecurityHealthAnalyticsCustomModule) String() string
type SecurityHealthAnalyticsCustomModule_EnablementState ¶
type SecurityHealthAnalyticsCustomModule_EnablementState int32
Possible enablement states of a custom module.
const ( // Unspecified enablement state. SecurityHealthAnalyticsCustomModule_ENABLEMENT_STATE_UNSPECIFIED SecurityHealthAnalyticsCustomModule_EnablementState = 0 // The module is enabled at the given CRM resource. SecurityHealthAnalyticsCustomModule_ENABLED SecurityHealthAnalyticsCustomModule_EnablementState = 1 // The module is disabled at the given CRM resource. SecurityHealthAnalyticsCustomModule_DISABLED SecurityHealthAnalyticsCustomModule_EnablementState = 2 // State is inherited from an ancestor module. The module will either // be effectively ENABLED or DISABLED based on its closest non-inherited // ancestor module in the CRM hierarchy. Attempting to set a top level // module (module with no parent) to the INHERITED state will result in an // INVALID_ARGUMENT error. SecurityHealthAnalyticsCustomModule_INHERITED SecurityHealthAnalyticsCustomModule_EnablementState = 3 )
func (SecurityHealthAnalyticsCustomModule_EnablementState) Descriptor ¶
func (SecurityHealthAnalyticsCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptor
func (SecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor
deprecated
func (SecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityHealthAnalyticsCustomModule_EnablementState.Descriptor instead.
func (SecurityHealthAnalyticsCustomModule_EnablementState) Number ¶
func (x SecurityHealthAnalyticsCustomModule_EnablementState) Number() protoreflect.EnumNumber
func (SecurityHealthAnalyticsCustomModule_EnablementState) String ¶
func (x SecurityHealthAnalyticsCustomModule_EnablementState) String() string
type SimulateSecurityHealthAnalyticsCustomModuleRequest ¶
type SimulateSecurityHealthAnalyticsCustomModuleRequest struct { // Required. The relative resource name of the organization, project, or // folder. For more information about relative resource names, see [Relative // Resource // Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) // Example: `organizations/{organization_id}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The custom configuration that you need to test. CustomConfig *CustomConfig `protobuf:"bytes,2,opt,name=custom_config,json=customConfig,proto3" json:"custom_config,omitempty"` // Required. Resource data to simulate custom module against. Resource *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
Request message to simulate a CustomConfig against a given test resource. Maximum size of the request is 4 MB by default.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) Descriptor
deprecated
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) GetCustomConfig ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetCustomConfig() *CustomConfig
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) GetParent ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetParent() string
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) GetResource ¶
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage ¶
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) Reset ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) Reset()
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) String ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) String() string
type SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource ¶
type SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource struct { // Required. The type of the resource, for example, // `compute.googleapis.com/Disk`. ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // Optional. A representation of the Google Cloud resource. Should match the // Google Cloud resource JSON format. ResourceData *structpb.Struct `protobuf:"bytes,2,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"` // Optional. A representation of the IAM policy. IamPolicyData *iampb.Policy `protobuf:"bytes,3,opt,name=iam_policy_data,json=iamPolicyData,proto3" json:"iam_policy_data,omitempty"` // contains filtered or unexported fields }
Manually constructed resource name. If the custom module evaluates against only the resource data, you can omit the `iam_policy_data` field. If it evaluates only the `iam_policy_data` field, you can omit the resource data.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Descriptor
deprecated
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Descriptor() ([]byte, []int)
Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetIamPolicyData ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetIamPolicyData() *iampb.Policy
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceData ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceData() *structpb.Struct
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceType ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceType() string
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoMessage ¶
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoMessage()
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoReflect ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoReflect() protoreflect.Message
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Reset ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Reset()
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) String ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) String() string
type SimulateSecurityHealthAnalyticsCustomModuleResponse ¶
type SimulateSecurityHealthAnalyticsCustomModuleResponse struct { // Result for test case in the corresponding request. Result *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
Response message for simulating a `SecurityHealthAnalyticsCustomModule` against a given resource.
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) Descriptor
deprecated
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) Descriptor() ([]byte, []int)
Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleResponse.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoMessage ¶
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoMessage()
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoReflect ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoReflect() protoreflect.Message
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) Reset ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) Reset()
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) String ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) String() string
type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult ¶
type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult struct { // Types that are assignable to Result: // // *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Finding // *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_NoViolation // *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Error Result isSimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
Possible test result.
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Descriptor
deprecated
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Descriptor() ([]byte, []int)
Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetError ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetError() *status.Status
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetFinding ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetFinding() *SimulatedFinding
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetNoViolation ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetNoViolation() *emptypb.Empty
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetResult ¶
func (m *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetResult() isSimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Result
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoMessage ¶
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoMessage()
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoReflect ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoReflect() protoreflect.Message
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Reset ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Reset()
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) String ¶
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) String() string
type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Finding ¶
type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Finding struct { // Finding that would be published for the test case, // if a violation is detected. Finding *SimulatedFinding `protobuf:"bytes,1,opt,name=finding,proto3,oneof"` }
type SimulatedFinding ¶
type SimulatedFinding struct { // Identifier. The [relative resource // name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) // of the finding. Example: // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", // "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", // "projects/{project_id}/sources/{source_id}/findings/{finding_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The relative resource name of the source the finding belongs to. See: // https://cloud.google.com/apis/design/resource_names#relative_resource_name // This field is immutable after creation time. // For example: // "organizations/{organization_id}/sources/{source_id}" Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // For findings on Google Cloud resources, the full resource // name of the Google Cloud resource this finding is for. See: // https://cloud.google.com/apis/design/resource_names#full_resource_name // When the finding is for a non-Google Cloud resource, the resourceName can // be a customer or partner defined string. This field is immutable after // creation time. ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // The additional taxonomy group within findings from a given source. // This field is immutable after creation time. // Example: "XSS_FLASH_INJECTION" Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"` // Output only. The state of the finding. State SimulatedFinding_State `` /* 133-byte string literal not displayed */ // Source specific properties. These properties are managed by the source // that writes the finding. The key names in the source_properties map must be // between 1 and 255 characters, and must start with a letter and contain // alphanumeric characters or underscores only. SourceProperties map[string]*structpb.Value `` /* 197-byte string literal not displayed */ // The time the finding was first detected. If an existing finding is updated, // then this is the time the update occurred. // For example, if the finding represents an open firewall, this property // captures the time the detector believes the firewall became open. The // accuracy is determined by the detector. If the finding is later resolved, // then this time reflects when the finding was resolved. This must not // be set to a value greater than the current timestamp. EventTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` // The severity of the finding. This field is managed by the source that // writes the finding. Severity SimulatedFinding_Severity `` /* 142-byte string literal not displayed */ // The class of the finding. FindingClass SimulatedFinding_FindingClass `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
A subset of the fields of the Security Center Finding proto. The minimum set of fields needed to represent a simulated finding from a SHA custom module.
func (*SimulatedFinding) Descriptor
deprecated
func (*SimulatedFinding) Descriptor() ([]byte, []int)
Deprecated: Use SimulatedFinding.ProtoReflect.Descriptor instead.
func (*SimulatedFinding) GetCategory ¶
func (x *SimulatedFinding) GetCategory() string
func (*SimulatedFinding) GetEventTime ¶
func (x *SimulatedFinding) GetEventTime() *timestamppb.Timestamp
func (*SimulatedFinding) GetFindingClass ¶
func (x *SimulatedFinding) GetFindingClass() SimulatedFinding_FindingClass
func (*SimulatedFinding) GetName ¶
func (x *SimulatedFinding) GetName() string
func (*SimulatedFinding) GetParent ¶
func (x *SimulatedFinding) GetParent() string
func (*SimulatedFinding) GetResourceName ¶
func (x *SimulatedFinding) GetResourceName() string
func (*SimulatedFinding) GetSeverity ¶
func (x *SimulatedFinding) GetSeverity() SimulatedFinding_Severity
func (*SimulatedFinding) GetSourceProperties ¶
func (x *SimulatedFinding) GetSourceProperties() map[string]*structpb.Value
func (*SimulatedFinding) GetState ¶
func (x *SimulatedFinding) GetState() SimulatedFinding_State
func (*SimulatedFinding) ProtoMessage ¶
func (*SimulatedFinding) ProtoMessage()
func (*SimulatedFinding) ProtoReflect ¶
func (x *SimulatedFinding) ProtoReflect() protoreflect.Message
func (*SimulatedFinding) Reset ¶
func (x *SimulatedFinding) Reset()
func (*SimulatedFinding) String ¶
func (x *SimulatedFinding) String() string
type SimulatedFinding_FindingClass ¶
type SimulatedFinding_FindingClass int32
Represents what kind of Finding it is.
const ( // Unspecified finding class. SimulatedFinding_FINDING_CLASS_UNSPECIFIED SimulatedFinding_FindingClass = 0 // Describes unwanted or malicious activity. SimulatedFinding_THREAT SimulatedFinding_FindingClass = 1 // Describes a potential weakness in software that increases risk to // Confidentiality & Integrity & Availability. SimulatedFinding_VULNERABILITY SimulatedFinding_FindingClass = 2 // Describes a potential weakness in cloud resource/asset configuration that // increases risk. SimulatedFinding_MISCONFIGURATION SimulatedFinding_FindingClass = 3 // Describes a security observation that is for informational purposes. SimulatedFinding_OBSERVATION SimulatedFinding_FindingClass = 4 // Describes an error that prevents some SCC functionality. SimulatedFinding_SCC_ERROR SimulatedFinding_FindingClass = 5 // Describes a potential security risk due to a change in the security // posture. SimulatedFinding_POSTURE_VIOLATION SimulatedFinding_FindingClass = 6 )
func (SimulatedFinding_FindingClass) Descriptor ¶
func (SimulatedFinding_FindingClass) Descriptor() protoreflect.EnumDescriptor
func (SimulatedFinding_FindingClass) Enum ¶
func (x SimulatedFinding_FindingClass) Enum() *SimulatedFinding_FindingClass
func (SimulatedFinding_FindingClass) EnumDescriptor
deprecated
func (SimulatedFinding_FindingClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use SimulatedFinding_FindingClass.Descriptor instead.
func (SimulatedFinding_FindingClass) Number ¶
func (x SimulatedFinding_FindingClass) Number() protoreflect.EnumNumber
func (SimulatedFinding_FindingClass) String ¶
func (x SimulatedFinding_FindingClass) String() string
func (SimulatedFinding_FindingClass) Type ¶
func (SimulatedFinding_FindingClass) Type() protoreflect.EnumType
type SimulatedFinding_Severity ¶
type SimulatedFinding_Severity int32
The severity of the finding.
const ( // This value is used for findings when a source doesn't write a severity // value. SimulatedFinding_SEVERITY_UNSPECIFIED SimulatedFinding_Severity = 0 // Vulnerability: // A critical vulnerability is easily discoverable by an external actor, // exploitable, and results in the direct ability to execute arbitrary code, // exfiltrate data, and otherwise gain additional access and privileges to // cloud resources and workloads. Examples include publicly accessible // unprotected user data and public SSH access with weak or no // passwords. // // Threat: // Indicates a threat that is able to access, modify, or delete data or // execute unauthorized code within existing resources. SimulatedFinding_CRITICAL SimulatedFinding_Severity = 1 // Vulnerability: // A high risk vulnerability can be easily discovered and exploited in // combination with other vulnerabilities in order to gain direct access and // the ability to execute arbitrary code, exfiltrate data, and otherwise // gain additional access and privileges to cloud resources and workloads. // An example is a database with weak or no passwords that is only // accessible internally. This database could easily be compromised by an // actor that had access to the internal network. // // Threat: // Indicates a threat that is able to create new computational resources in // an environment but not able to access data or execute code in existing // resources. SimulatedFinding_HIGH SimulatedFinding_Severity = 2 // Vulnerability: // A medium risk vulnerability could be used by an actor to gain access to // resources or privileges that enable them to eventually (through multiple // steps or a complex exploit) gain access and the ability to execute // arbitrary code or exfiltrate data. An example is a service account with // access to more projects than it should have. If an actor gains access to // the service account, they could potentially use that access to manipulate // a project the service account was not intended to. // // Threat: // Indicates a threat that is able to cause operational impact but may not // access data or execute unauthorized code. SimulatedFinding_MEDIUM SimulatedFinding_Severity = 3 // Vulnerability: // A low risk vulnerability hampers a security organization's ability to // detect vulnerabilities or active threats in their deployment, or prevents // the root cause investigation of security issues. An example is monitoring // and logs being disabled for resource configurations and access. // // Threat: // Indicates a threat that has obtained minimal access to an environment but // is not able to access data, execute code, or create resources. SimulatedFinding_LOW SimulatedFinding_Severity = 4 )
func (SimulatedFinding_Severity) Descriptor ¶
func (SimulatedFinding_Severity) Descriptor() protoreflect.EnumDescriptor
func (SimulatedFinding_Severity) Enum ¶
func (x SimulatedFinding_Severity) Enum() *SimulatedFinding_Severity
func (SimulatedFinding_Severity) EnumDescriptor
deprecated
func (SimulatedFinding_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use SimulatedFinding_Severity.Descriptor instead.
func (SimulatedFinding_Severity) Number ¶
func (x SimulatedFinding_Severity) Number() protoreflect.EnumNumber
func (SimulatedFinding_Severity) String ¶
func (x SimulatedFinding_Severity) String() string
func (SimulatedFinding_Severity) Type ¶
func (SimulatedFinding_Severity) Type() protoreflect.EnumType
type SimulatedFinding_State ¶
type SimulatedFinding_State int32
The state of the finding.
const ( // Unspecified state. SimulatedFinding_STATE_UNSPECIFIED SimulatedFinding_State = 0 // The finding requires attention and has not been addressed yet. SimulatedFinding_ACTIVE SimulatedFinding_State = 1 // The finding has been fixed, triaged as a non-issue or otherwise addressed // and is no longer active. SimulatedFinding_INACTIVE SimulatedFinding_State = 2 )
func (SimulatedFinding_State) Descriptor ¶
func (SimulatedFinding_State) Descriptor() protoreflect.EnumDescriptor
func (SimulatedFinding_State) Enum ¶
func (x SimulatedFinding_State) Enum() *SimulatedFinding_State
func (SimulatedFinding_State) EnumDescriptor
deprecated
func (SimulatedFinding_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use SimulatedFinding_State.Descriptor instead.
func (SimulatedFinding_State) Number ¶
func (x SimulatedFinding_State) Number() protoreflect.EnumNumber
func (SimulatedFinding_State) String ¶
func (x SimulatedFinding_State) String() string
func (SimulatedFinding_State) Type ¶
func (SimulatedFinding_State) Type() protoreflect.EnumType
type UnimplementedSecurityCenterManagementServer ¶
type UnimplementedSecurityCenterManagementServer struct { }
UnimplementedSecurityCenterManagementServer can be embedded to have forward compatible implementations.
func (*UnimplementedSecurityCenterManagementServer) CreateEventThreatDetectionCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) CreateEventThreatDetectionCustomModule(context.Context, *CreateEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) CreateSecurityHealthAnalyticsCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) CreateSecurityHealthAnalyticsCustomModule(context.Context, *CreateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) DeleteEventThreatDetectionCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) DeleteEventThreatDetectionCustomModule(context.Context, *DeleteEventThreatDetectionCustomModuleRequest) (*emptypb.Empty, error)
func (*UnimplementedSecurityCenterManagementServer) DeleteSecurityHealthAnalyticsCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) DeleteSecurityHealthAnalyticsCustomModule(context.Context, *DeleteSecurityHealthAnalyticsCustomModuleRequest) (*emptypb.Empty, error)
func (*UnimplementedSecurityCenterManagementServer) GetEffectiveEventThreatDetectionCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) GetEffectiveEventThreatDetectionCustomModule(context.Context, *GetEffectiveEventThreatDetectionCustomModuleRequest) (*EffectiveEventThreatDetectionCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) GetEffectiveSecurityHealthAnalyticsCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) GetEffectiveSecurityHealthAnalyticsCustomModule(context.Context, *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) (*EffectiveSecurityHealthAnalyticsCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) GetEventThreatDetectionCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) GetEventThreatDetectionCustomModule(context.Context, *GetEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) GetSecurityHealthAnalyticsCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) GetSecurityHealthAnalyticsCustomModule(context.Context, *GetSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) ListDescendantEventThreatDetectionCustomModules ¶
func (*UnimplementedSecurityCenterManagementServer) ListDescendantEventThreatDetectionCustomModules(context.Context, *ListDescendantEventThreatDetectionCustomModulesRequest) (*ListDescendantEventThreatDetectionCustomModulesResponse, error)
func (*UnimplementedSecurityCenterManagementServer) ListDescendantSecurityHealthAnalyticsCustomModules ¶
func (*UnimplementedSecurityCenterManagementServer) ListDescendantSecurityHealthAnalyticsCustomModules(context.Context, *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse, error)
func (*UnimplementedSecurityCenterManagementServer) ListEffectiveEventThreatDetectionCustomModules ¶
func (*UnimplementedSecurityCenterManagementServer) ListEffectiveEventThreatDetectionCustomModules(context.Context, *ListEffectiveEventThreatDetectionCustomModulesRequest) (*ListEffectiveEventThreatDetectionCustomModulesResponse, error)
func (*UnimplementedSecurityCenterManagementServer) ListEffectiveSecurityHealthAnalyticsCustomModules ¶
func (*UnimplementedSecurityCenterManagementServer) ListEffectiveSecurityHealthAnalyticsCustomModules(context.Context, *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, error)
func (*UnimplementedSecurityCenterManagementServer) ListEventThreatDetectionCustomModules ¶
func (*UnimplementedSecurityCenterManagementServer) ListEventThreatDetectionCustomModules(context.Context, *ListEventThreatDetectionCustomModulesRequest) (*ListEventThreatDetectionCustomModulesResponse, error)
func (*UnimplementedSecurityCenterManagementServer) ListSecurityHealthAnalyticsCustomModules ¶
func (*UnimplementedSecurityCenterManagementServer) ListSecurityHealthAnalyticsCustomModules(context.Context, *ListSecurityHealthAnalyticsCustomModulesRequest) (*ListSecurityHealthAnalyticsCustomModulesResponse, error)
func (*UnimplementedSecurityCenterManagementServer) SimulateSecurityHealthAnalyticsCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) SimulateSecurityHealthAnalyticsCustomModule(context.Context, *SimulateSecurityHealthAnalyticsCustomModuleRequest) (*SimulateSecurityHealthAnalyticsCustomModuleResponse, error)
func (*UnimplementedSecurityCenterManagementServer) UpdateEventThreatDetectionCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) UpdateEventThreatDetectionCustomModule(context.Context, *UpdateEventThreatDetectionCustomModuleRequest) (*EventThreatDetectionCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) UpdateSecurityHealthAnalyticsCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) UpdateSecurityHealthAnalyticsCustomModule(context.Context, *UpdateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
func (*UnimplementedSecurityCenterManagementServer) ValidateEventThreatDetectionCustomModule ¶
func (*UnimplementedSecurityCenterManagementServer) ValidateEventThreatDetectionCustomModule(context.Context, *ValidateEventThreatDetectionCustomModuleRequest) (*ValidateEventThreatDetectionCustomModuleResponse, error)
type UpdateEventThreatDetectionCustomModuleRequest ¶
type UpdateEventThreatDetectionCustomModuleRequest struct { // Required. Field mask is used to specify the fields to be overwritten in the // EventThreatDetectionCustomModule resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The module being updated EventThreatDetectionCustomModule *EventThreatDetectionCustomModule `` /* 163-byte string literal not displayed */ // Optional. When set to true, only validations (including IAM checks) will // done for the request (module will not be updated). An OK response indicates // the request is valid while an error response indicates the request is // invalid. Note that a subsequent request to actually update the module could // still fail because 1. the state could have changed (e.g. IAM permission // lost) or // 2. A failure occurred while trying to update the module. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Message for updating a EventThreatDetectionCustomModule
func (*UpdateEventThreatDetectionCustomModuleRequest) Descriptor
deprecated
func (*UpdateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule ¶
func (x *UpdateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule() *EventThreatDetectionCustomModule
func (*UpdateEventThreatDetectionCustomModuleRequest) GetUpdateMask ¶
func (x *UpdateEventThreatDetectionCustomModuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEventThreatDetectionCustomModuleRequest) GetValidateOnly ¶
func (x *UpdateEventThreatDetectionCustomModuleRequest) GetValidateOnly() bool
func (*UpdateEventThreatDetectionCustomModuleRequest) ProtoMessage ¶
func (*UpdateEventThreatDetectionCustomModuleRequest) ProtoMessage()
func (*UpdateEventThreatDetectionCustomModuleRequest) ProtoReflect ¶
func (x *UpdateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventThreatDetectionCustomModuleRequest) Reset ¶
func (x *UpdateEventThreatDetectionCustomModuleRequest) Reset()
func (*UpdateEventThreatDetectionCustomModuleRequest) String ¶
func (x *UpdateEventThreatDetectionCustomModuleRequest) String() string
type UpdateSecurityHealthAnalyticsCustomModuleRequest ¶
type UpdateSecurityHealthAnalyticsCustomModuleRequest struct { // Required. The list of fields to be updated. The only fields that can be // updated are `enablement_state` and `custom_config`. If empty or set to the // wildcard value `*`, both `enablement_state` and `custom_config` are // updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. The resource being updated SecurityHealthAnalyticsCustomModule *SecurityHealthAnalyticsCustomModule `` /* 172-byte string literal not displayed */ // Optional. When set to true, only validations (including IAM checks) will // done for the request (module will not be updated). An OK response indicates // the request is valid while an error response indicates the request is // invalid. Note that a subsequent request to actually update the module could // still fail because 1. the state could have changed (e.g. IAM permission // lost) or // 2. A failure occurred while trying to update the module. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Message for updating a SecurityHealthAnalyticsCustomModule
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) Descriptor
deprecated
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule ¶
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule() *SecurityHealthAnalyticsCustomModule
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) GetUpdateMask ¶
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly ¶
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() bool
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage ¶
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect ¶
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) Reset ¶
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) Reset()
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) String ¶
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) String() string
type ValidateEventThreatDetectionCustomModuleRequest ¶
type ValidateEventThreatDetectionCustomModuleRequest struct { // Required. Resource name of the parent to validate the Custom Module under. // // Its format is: // // - "organizations/{organization}/locations/{location}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The raw text of the module's contents. Used to generate error // messages. RawText string `protobuf:"bytes,2,opt,name=raw_text,json=rawText,proto3" json:"raw_text,omitempty"` // Required. The type of the module (e.g. CONFIGURABLE_BAD_IP). Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
Request to validate an Event Threat Detection custom module.
func (*ValidateEventThreatDetectionCustomModuleRequest) Descriptor
deprecated
func (*ValidateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleRequest) GetParent ¶
func (x *ValidateEventThreatDetectionCustomModuleRequest) GetParent() string
func (*ValidateEventThreatDetectionCustomModuleRequest) GetRawText ¶
func (x *ValidateEventThreatDetectionCustomModuleRequest) GetRawText() string
func (*ValidateEventThreatDetectionCustomModuleRequest) GetType ¶
func (x *ValidateEventThreatDetectionCustomModuleRequest) GetType() string
func (*ValidateEventThreatDetectionCustomModuleRequest) ProtoMessage ¶
func (*ValidateEventThreatDetectionCustomModuleRequest) ProtoMessage()
func (*ValidateEventThreatDetectionCustomModuleRequest) ProtoReflect ¶
func (x *ValidateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Message
func (*ValidateEventThreatDetectionCustomModuleRequest) Reset ¶
func (x *ValidateEventThreatDetectionCustomModuleRequest) Reset()
func (*ValidateEventThreatDetectionCustomModuleRequest) String ¶
func (x *ValidateEventThreatDetectionCustomModuleRequest) String() string
type ValidateEventThreatDetectionCustomModuleResponse ¶
type ValidateEventThreatDetectionCustomModuleResponse struct { // A list of errors returned by the validator. If the list is empty, there // were no errors. Errors []*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
Response to validating an Event Threat Detection custom module.
func (*ValidateEventThreatDetectionCustomModuleResponse) Descriptor
deprecated
func (*ValidateEventThreatDetectionCustomModuleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateEventThreatDetectionCustomModuleResponse.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleResponse) ProtoMessage ¶
func (*ValidateEventThreatDetectionCustomModuleResponse) ProtoMessage()
func (*ValidateEventThreatDetectionCustomModuleResponse) ProtoReflect ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse) ProtoReflect() protoreflect.Message
func (*ValidateEventThreatDetectionCustomModuleResponse) Reset ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse) Reset()
func (*ValidateEventThreatDetectionCustomModuleResponse) String ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse) String() string
type ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError ¶
type ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError struct { // A description of the error, suitable for human consumption. Required. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // The path, in RFC 8901 JSON Pointer format, to the field that failed // validation. This may be left empty if no specific field is affected. FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` // The initial position of the error in the uploaded text version of the // module. This field may be omitted if no specific position applies, or if // one could not be computed. Start *ValidateEventThreatDetectionCustomModuleResponse_Position `protobuf:"bytes,3,opt,name=start,proto3,oneof" json:"start,omitempty"` // The end position of the error in the uploaded text version of the // module. This field may be omitted if no specific position applies, or if // one could not be computed.. End *ValidateEventThreatDetectionCustomModuleResponse_Position `protobuf:"bytes,4,opt,name=end,proto3,oneof" json:"end,omitempty"` // contains filtered or unexported fields }
An error encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) Descriptor
deprecated
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) Descriptor() ([]byte, []int)
Deprecated: Use ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetDescription ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetDescription() string
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetFieldPath ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetFieldPath() string
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoMessage ¶
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoMessage()
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoReflect ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoReflect() protoreflect.Message
type ValidateEventThreatDetectionCustomModuleResponse_Position ¶
type ValidateEventThreatDetectionCustomModuleResponse_Position struct { // The line position in the text LineNumber int32 `protobuf:"varint,1,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"` // The column position in the line ColumnNumber int32 `protobuf:"varint,2,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"` // contains filtered or unexported fields }
A position in the uploaded text version of a module.
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) Descriptor
deprecated
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) Descriptor() ([]byte, []int)
Deprecated: Use ValidateEventThreatDetectionCustomModuleResponse_Position.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) GetColumnNumber ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) GetColumnNumber() int32
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) GetLineNumber ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) GetLineNumber() int32
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoMessage ¶
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoMessage()
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoReflect ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoReflect() protoreflect.Message
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) Reset ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) Reset()
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) String ¶
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) String() string