Constants
SecurityCenterManagement_ListEffectiveSecurityHealthAnalyticsCustomModules_FullMethodName, SecurityCenterManagement_GetEffectiveSecurityHealthAnalyticsCustomModule_FullMethodName, SecurityCenterManagement_ListSecurityHealthAnalyticsCustomModules_FullMethodName, SecurityCenterManagement_ListDescendantSecurityHealthAnalyticsCustomModules_FullMethodName, SecurityCenterManagement_GetSecurityHealthAnalyticsCustomModule_FullMethodName, SecurityCenterManagement_CreateSecurityHealthAnalyticsCustomModule_FullMethodName, SecurityCenterManagement_UpdateSecurityHealthAnalyticsCustomModule_FullMethodName, SecurityCenterManagement_DeleteSecurityHealthAnalyticsCustomModule_FullMethodName, SecurityCenterManagement_SimulateSecurityHealthAnalyticsCustomModule_FullMethodName, SecurityCenterManagement_ListEffectiveEventThreatDetectionCustomModules_FullMethodName, SecurityCenterManagement_GetEffectiveEventThreatDetectionCustomModule_FullMethodName, SecurityCenterManagement_ListEventThreatDetectionCustomModules_FullMethodName, SecurityCenterManagement_ListDescendantEventThreatDetectionCustomModules_FullMethodName, SecurityCenterManagement_GetEventThreatDetectionCustomModule_FullMethodName, SecurityCenterManagement_CreateEventThreatDetectionCustomModule_FullMethodName, SecurityCenterManagement_UpdateEventThreatDetectionCustomModule_FullMethodName, SecurityCenterManagement_DeleteEventThreatDetectionCustomModule_FullMethodName, SecurityCenterManagement_ValidateEventThreatDetectionCustomModule_FullMethodName, SecurityCenterManagement_GetSecurityCenterService_FullMethodName, SecurityCenterManagement_ListSecurityCenterServices_FullMethodName, SecurityCenterManagement_UpdateSecurityCenterService_FullMethodName
const (
SecurityCenterManagement_ListEffectiveSecurityHealthAnalyticsCustomModules_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ListEffectiveSecurityHealthAnalyticsCustomModules"
SecurityCenterManagement_GetEffectiveSecurityHealthAnalyticsCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/GetEffectiveSecurityHealthAnalyticsCustomModule"
SecurityCenterManagement_ListSecurityHealthAnalyticsCustomModules_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ListSecurityHealthAnalyticsCustomModules"
SecurityCenterManagement_ListDescendantSecurityHealthAnalyticsCustomModules_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ListDescendantSecurityHealthAnalyticsCustomModules"
SecurityCenterManagement_GetSecurityHealthAnalyticsCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/GetSecurityHealthAnalyticsCustomModule"
SecurityCenterManagement_CreateSecurityHealthAnalyticsCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/CreateSecurityHealthAnalyticsCustomModule"
SecurityCenterManagement_UpdateSecurityHealthAnalyticsCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/UpdateSecurityHealthAnalyticsCustomModule"
SecurityCenterManagement_DeleteSecurityHealthAnalyticsCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/DeleteSecurityHealthAnalyticsCustomModule"
SecurityCenterManagement_SimulateSecurityHealthAnalyticsCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/SimulateSecurityHealthAnalyticsCustomModule"
SecurityCenterManagement_ListEffectiveEventThreatDetectionCustomModules_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ListEffectiveEventThreatDetectionCustomModules"
SecurityCenterManagement_GetEffectiveEventThreatDetectionCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/GetEffectiveEventThreatDetectionCustomModule"
SecurityCenterManagement_ListEventThreatDetectionCustomModules_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ListEventThreatDetectionCustomModules"
SecurityCenterManagement_ListDescendantEventThreatDetectionCustomModules_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ListDescendantEventThreatDetectionCustomModules"
SecurityCenterManagement_GetEventThreatDetectionCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/GetEventThreatDetectionCustomModule"
SecurityCenterManagement_CreateEventThreatDetectionCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/CreateEventThreatDetectionCustomModule"
SecurityCenterManagement_UpdateEventThreatDetectionCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/UpdateEventThreatDetectionCustomModule"
SecurityCenterManagement_DeleteEventThreatDetectionCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/DeleteEventThreatDetectionCustomModule"
SecurityCenterManagement_ValidateEventThreatDetectionCustomModule_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ValidateEventThreatDetectionCustomModule"
SecurityCenterManagement_GetSecurityCenterService_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/GetSecurityCenterService"
SecurityCenterManagement_ListSecurityCenterServices_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/ListSecurityCenterServices"
SecurityCenterManagement_UpdateSecurityCenterService_FullMethodName = "/google.cloud.securitycentermanagement.v1.SecurityCenterManagement/UpdateSecurityCenterService"
)Variables
SecurityCenterService_EnablementState_name, SecurityCenterService_EnablementState_value
var (
SecurityCenterService_EnablementState_name = map[int32]string{
0: "ENABLEMENT_STATE_UNSPECIFIED",
1: "INHERITED",
2: "ENABLED",
3: "DISABLED",
4: "INGEST_ONLY",
}
SecurityCenterService_EnablementState_value = map[string]int32{
"ENABLEMENT_STATE_UNSPECIFIED": 0,
"INHERITED": 1,
"ENABLED": 2,
"DISABLED": 3,
"INGEST_ONLY": 4,
}
)Enum value maps for SecurityCenterService_EnablementState.
EffectiveSecurityHealthAnalyticsCustomModule_EnablementState_name, EffectiveSecurityHealthAnalyticsCustomModule_EnablementState_value
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.
SecurityHealthAnalyticsCustomModule_EnablementState_name, SecurityHealthAnalyticsCustomModule_EnablementState_value
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.
CustomConfig_Severity_name, CustomConfig_Severity_value
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.
SimulatedFinding_State_name, SimulatedFinding_State_value
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.
SimulatedFinding_Severity_name, SimulatedFinding_Severity_value
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.
SimulatedFinding_FindingClass_name, SimulatedFinding_FindingClass_value
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",
7: "TOXIC_COMBINATION",
}
SimulatedFinding_FindingClass_value = map[string]int32{
"FINDING_CLASS_UNSPECIFIED": 0,
"THREAT": 1,
"VULNERABILITY": 2,
"MISCONFIGURATION": 3,
"OBSERVATION": 4,
"SCC_ERROR": 5,
"POSTURE_VIOLATION": 6,
"TOXIC_COMBINATION": 7,
}
)Enum value maps for SimulatedFinding_FindingClass.
EffectiveEventThreatDetectionCustomModule_EnablementState_name, EffectiveEventThreatDetectionCustomModule_EnablementState_value
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.
EventThreatDetectionCustomModule_EnablementState_name, EventThreatDetectionCustomModule_EnablementState_value
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.
File_google_cloud_securitycentermanagement_v1_security_center_management_proto
var File_google_cloud_securitycentermanagement_v1_security_center_management_proto protoreflect.FileDescriptorSecurityCenterManagement_ServiceDesc
var SecurityCenterManagement_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.securitycentermanagement.v1.SecurityCenterManagement",
HandlerType: (*SecurityCenterManagementServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListEffectiveSecurityHealthAnalyticsCustomModules",
Handler: _SecurityCenterManagement_ListEffectiveSecurityHealthAnalyticsCustomModules_Handler,
},
{
MethodName: "GetEffectiveSecurityHealthAnalyticsCustomModule",
Handler: _SecurityCenterManagement_GetEffectiveSecurityHealthAnalyticsCustomModule_Handler,
},
{
MethodName: "ListSecurityHealthAnalyticsCustomModules",
Handler: _SecurityCenterManagement_ListSecurityHealthAnalyticsCustomModules_Handler,
},
{
MethodName: "ListDescendantSecurityHealthAnalyticsCustomModules",
Handler: _SecurityCenterManagement_ListDescendantSecurityHealthAnalyticsCustomModules_Handler,
},
{
MethodName: "GetSecurityHealthAnalyticsCustomModule",
Handler: _SecurityCenterManagement_GetSecurityHealthAnalyticsCustomModule_Handler,
},
{
MethodName: "CreateSecurityHealthAnalyticsCustomModule",
Handler: _SecurityCenterManagement_CreateSecurityHealthAnalyticsCustomModule_Handler,
},
{
MethodName: "UpdateSecurityHealthAnalyticsCustomModule",
Handler: _SecurityCenterManagement_UpdateSecurityHealthAnalyticsCustomModule_Handler,
},
{
MethodName: "DeleteSecurityHealthAnalyticsCustomModule",
Handler: _SecurityCenterManagement_DeleteSecurityHealthAnalyticsCustomModule_Handler,
},
{
MethodName: "SimulateSecurityHealthAnalyticsCustomModule",
Handler: _SecurityCenterManagement_SimulateSecurityHealthAnalyticsCustomModule_Handler,
},
{
MethodName: "ListEffectiveEventThreatDetectionCustomModules",
Handler: _SecurityCenterManagement_ListEffectiveEventThreatDetectionCustomModules_Handler,
},
{
MethodName: "GetEffectiveEventThreatDetectionCustomModule",
Handler: _SecurityCenterManagement_GetEffectiveEventThreatDetectionCustomModule_Handler,
},
{
MethodName: "ListEventThreatDetectionCustomModules",
Handler: _SecurityCenterManagement_ListEventThreatDetectionCustomModules_Handler,
},
{
MethodName: "ListDescendantEventThreatDetectionCustomModules",
Handler: _SecurityCenterManagement_ListDescendantEventThreatDetectionCustomModules_Handler,
},
{
MethodName: "GetEventThreatDetectionCustomModule",
Handler: _SecurityCenterManagement_GetEventThreatDetectionCustomModule_Handler,
},
{
MethodName: "CreateEventThreatDetectionCustomModule",
Handler: _SecurityCenterManagement_CreateEventThreatDetectionCustomModule_Handler,
},
{
MethodName: "UpdateEventThreatDetectionCustomModule",
Handler: _SecurityCenterManagement_UpdateEventThreatDetectionCustomModule_Handler,
},
{
MethodName: "DeleteEventThreatDetectionCustomModule",
Handler: _SecurityCenterManagement_DeleteEventThreatDetectionCustomModule_Handler,
},
{
MethodName: "ValidateEventThreatDetectionCustomModule",
Handler: _SecurityCenterManagement_ValidateEventThreatDetectionCustomModule_Handler,
},
{
MethodName: "GetSecurityCenterService",
Handler: _SecurityCenterManagement_GetSecurityCenterService_Handler,
},
{
MethodName: "ListSecurityCenterServices",
Handler: _SecurityCenterManagement_ListSecurityCenterServices_Handler,
},
{
MethodName: "UpdateSecurityCenterService",
Handler: _SecurityCenterManagement_UpdateSecurityCenterService_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/securitycentermanagement/v1/security_center_management.proto",
}SecurityCenterManagement_ServiceDesc is the grpc.ServiceDesc for SecurityCenterManagement service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterSecurityCenterManagementServer
func RegisterSecurityCenterManagementServer(s grpc.ServiceRegistrar, srv SecurityCenterManagementServer)CreateEventThreatDetectionCustomModuleRequest
type CreateEventThreatDetectionCustomModuleRequest struct {
// Required. Name of parent for the module, in one of the following formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `projects/{project}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The module to create. The
// [EventThreatDetectionCustomModule.name][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule.name]
// field is ignored; Security Command Center generates the name.
EventThreatDetectionCustomModule *EventThreatDetectionCustomModule `protobuf:"bytes,3,opt,name=event_threat_detection_custom_module,json=eventThreatDetectionCustomModule,proto3" json:"event_threat_detection_custom_module,omitempty"`
// Optional. When set to `true`, the request will be validated (including IAM
// checks), but no module will be created. An `OK` response indicates that the
// request is valid, while an error response indicates that the request is
// invalid.
//
// If the request is valid, a subsequent request to create the module could
// still fail for one of the following reasons:
//
// - The state of your cloud resources changed; for example, you lost a
// required IAM permission
// - An error occurred during creation of the module
//
// Defaults to `false`.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.CreateEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateEventThreatDetectionCustomModule].
func (*CreateEventThreatDetectionCustomModuleRequest) Descriptor
func (*CreateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*CreateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule
func (x *CreateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule() *EventThreatDetectionCustomModulefunc (*CreateEventThreatDetectionCustomModuleRequest) GetParent
func (x *CreateEventThreatDetectionCustomModuleRequest) GetParent() stringfunc (*CreateEventThreatDetectionCustomModuleRequest) GetValidateOnly
func (x *CreateEventThreatDetectionCustomModuleRequest) GetValidateOnly() boolfunc (*CreateEventThreatDetectionCustomModuleRequest) ProtoMessage
func (*CreateEventThreatDetectionCustomModuleRequest) ProtoMessage()func (*CreateEventThreatDetectionCustomModuleRequest) ProtoReflect
func (x *CreateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateEventThreatDetectionCustomModuleRequest) Reset
func (x *CreateEventThreatDetectionCustomModuleRequest) Reset()func (*CreateEventThreatDetectionCustomModuleRequest) String
func (x *CreateEventThreatDetectionCustomModuleRequest) String() stringCreateSecurityHealthAnalyticsCustomModuleRequest
type CreateSecurityHealthAnalyticsCustomModuleRequest struct {
// Required. Name of the parent organization, folder, or project of the
// module, in one of the following formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `projects/{project}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The resource being created.
SecurityHealthAnalyticsCustomModule *SecurityHealthAnalyticsCustomModule `protobuf:"bytes,2,opt,name=security_health_analytics_custom_module,json=securityHealthAnalyticsCustomModule,proto3" json:"security_health_analytics_custom_module,omitempty"`
// Optional. When set to `true`, the request will be validated (including IAM
// checks), but no module will be created. An `OK` response indicates that the
// request is valid, while an error response indicates that the request is
// invalid.
//
// If the request is valid, a subsequent request to create the module could
// still fail for one of the following reasons:
//
// - The state of your cloud resources changed; for example, you lost a
// required IAM permission
// - An error 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
}Request message for [SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule].
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) Descriptor
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) GetParent
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetParent() stringfunc (*CreateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule() *SecurityHealthAnalyticsCustomModulefunc (*CreateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() boolfunc (*CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage
func (*CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()func (*CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSecurityHealthAnalyticsCustomModuleRequest) Reset
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) Reset()func (*CreateSecurityHealthAnalyticsCustomModuleRequest) String
func (x *CreateSecurityHealthAnalyticsCustomModuleRequest) String() stringCustomConfig
type CustomConfig struct {
// Optional. The Common Expression Language (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 `protobuf:"varint,4,opt,name=severity,proto3,enum=google.cloud.securitycentermanagement.v1.CustomConfig_Severity" json:"severity,omitempty"`
// 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.
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
func (*CustomConfig) Descriptor() ([]byte, []int)Deprecated: Use CustomConfig.ProtoReflect.Descriptor instead.
func (*CustomConfig) GetCustomOutput
func (x *CustomConfig) GetCustomOutput() *CustomConfig_CustomOutputSpecfunc (*CustomConfig) GetDescription
func (x *CustomConfig) GetDescription() stringfunc (*CustomConfig) GetPredicate
func (x *CustomConfig) GetPredicate() *expr.Exprfunc (*CustomConfig) GetRecommendation
func (x *CustomConfig) GetRecommendation() stringfunc (*CustomConfig) GetResourceSelector
func (x *CustomConfig) GetResourceSelector() *CustomConfig_ResourceSelectorfunc (*CustomConfig) GetSeverity
func (x *CustomConfig) GetSeverity() CustomConfig_Severityfunc (*CustomConfig) ProtoMessage
func (*CustomConfig) ProtoMessage()func (*CustomConfig) ProtoReflect
func (x *CustomConfig) ProtoReflect() protoreflect.Messagefunc (*CustomConfig) Reset
func (x *CustomConfig) Reset()func (*CustomConfig) String
func (x *CustomConfig) String() stringCustomConfig_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.
func (*CustomConfig_CustomOutputSpec) Descriptor
func (*CustomConfig_CustomOutputSpec) Descriptor() ([]byte, []int)Deprecated: Use CustomConfig_CustomOutputSpec.ProtoReflect.Descriptor instead.
func (*CustomConfig_CustomOutputSpec) GetProperties
func (x *CustomConfig_CustomOutputSpec) GetProperties() []*CustomConfig_CustomOutputSpec_Propertyfunc (*CustomConfig_CustomOutputSpec) ProtoMessage
func (*CustomConfig_CustomOutputSpec) ProtoMessage()func (*CustomConfig_CustomOutputSpec) ProtoReflect
func (x *CustomConfig_CustomOutputSpec) ProtoReflect() protoreflect.Messagefunc (*CustomConfig_CustomOutputSpec) Reset
func (x *CustomConfig_CustomOutputSpec) Reset()func (*CustomConfig_CustomOutputSpec) String
func (x *CustomConfig_CustomOutputSpec) String() stringCustomConfig_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
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() stringfunc (*CustomConfig_CustomOutputSpec_Property) GetValueExpression
func (x *CustomConfig_CustomOutputSpec_Property) GetValueExpression() *expr.Exprfunc (*CustomConfig_CustomOutputSpec_Property) ProtoMessage
func (*CustomConfig_CustomOutputSpec_Property) ProtoMessage()func (*CustomConfig_CustomOutputSpec_Property) ProtoReflect
func (x *CustomConfig_CustomOutputSpec_Property) ProtoReflect() protoreflect.Messagefunc (*CustomConfig_CustomOutputSpec_Property) Reset
func (x *CustomConfig_CustomOutputSpec_Property) Reset()func (*CustomConfig_CustomOutputSpec_Property) String
func (x *CustomConfig_CustomOutputSpec_Property) String() stringCustomConfig_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
func (*CustomConfig_ResourceSelector) Descriptor() ([]byte, []int)Deprecated: Use CustomConfig_ResourceSelector.ProtoReflect.Descriptor instead.
func (*CustomConfig_ResourceSelector) GetResourceTypes
func (x *CustomConfig_ResourceSelector) GetResourceTypes() []stringfunc (*CustomConfig_ResourceSelector) ProtoMessage
func (*CustomConfig_ResourceSelector) ProtoMessage()func (*CustomConfig_ResourceSelector) ProtoReflect
func (x *CustomConfig_ResourceSelector) ProtoReflect() protoreflect.Messagefunc (*CustomConfig_ResourceSelector) Reset
func (x *CustomConfig_ResourceSelector) Reset()func (*CustomConfig_ResourceSelector) String
func (x *CustomConfig_ResourceSelector) String() stringCustomConfig_Severity
type CustomConfig_Severity int32Defines the valid value options for the severity of a finding.
CustomConfig_SEVERITY_UNSPECIFIED, CustomConfig_CRITICAL, CustomConfig_HIGH, CustomConfig_MEDIUM, CustomConfig_LOW
const (
// Default value. This value is unused.
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.EnumDescriptorfunc (CustomConfig_Severity) Enum
func (x CustomConfig_Severity) Enum() *CustomConfig_Severityfunc (CustomConfig_Severity) EnumDescriptor
func (CustomConfig_Severity) EnumDescriptor() ([]byte, []int)Deprecated: Use CustomConfig_Severity.Descriptor instead.
func (CustomConfig_Severity) Number
func (x CustomConfig_Severity) Number() protoreflect.EnumNumberfunc (CustomConfig_Severity) String
func (x CustomConfig_Severity) String() stringfunc (CustomConfig_Severity) Type
func (CustomConfig_Severity) Type() protoreflect.EnumTypeDeleteEventThreatDetectionCustomModuleRequest
type DeleteEventThreatDetectionCustomModuleRequest struct {
// Required. The resource name of the Event Threat Detection custom module, in
// one of the following formats:
//
// * `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
// * `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
// * `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. When set to `true`, the request will be validated (including IAM
// checks), but no module will be deleted. An `OK` response indicates that the
// request is valid, while an error response indicates that the request is
// invalid.
//
// If the request is valid, a subsequent request to delete the module could
// still fail for one of the following reasons:
//
// - The state of your cloud resources changed; for example, you lost a
// required IAM permission
// - An error occurred during creation of the module
//
// Defaults to `false`.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.DeleteEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteEventThreatDetectionCustomModule].
func (*DeleteEventThreatDetectionCustomModuleRequest) Descriptor
func (*DeleteEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteEventThreatDetectionCustomModuleRequest) GetName
func (x *DeleteEventThreatDetectionCustomModuleRequest) GetName() stringfunc (*DeleteEventThreatDetectionCustomModuleRequest) GetValidateOnly
func (x *DeleteEventThreatDetectionCustomModuleRequest) GetValidateOnly() boolfunc (*DeleteEventThreatDetectionCustomModuleRequest) ProtoMessage
func (*DeleteEventThreatDetectionCustomModuleRequest) ProtoMessage()func (*DeleteEventThreatDetectionCustomModuleRequest) ProtoReflect
func (x *DeleteEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteEventThreatDetectionCustomModuleRequest) Reset
func (x *DeleteEventThreatDetectionCustomModuleRequest) Reset()func (*DeleteEventThreatDetectionCustomModuleRequest) String
func (x *DeleteEventThreatDetectionCustomModuleRequest) String() stringDeleteSecurityHealthAnalyticsCustomModuleRequest
type DeleteSecurityHealthAnalyticsCustomModuleRequest struct {
// Required. The resource name of the SHA custom module, in one of the
// following formats:
//
// - `organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}`
// - `folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}`
// - `projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. When set to `true`, the request will be validated (including IAM
// checks), but no module will be deleted. An `OK` response indicates that the
// request is valid, while an error response indicates that the request is
// invalid.
//
// If the request is valid, a subsequent request to delete the module could
// still fail for one of the following reasons:
//
// - The state of your cloud resources changed; for example, you lost a
// required IAM permission
// - An error occurred during deletion of the module
//
// Defaults to `false`.
ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.DeleteSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteSecurityHealthAnalyticsCustomModule].
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) Descriptor
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) GetName
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) GetName() stringfunc (*DeleteSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() boolfunc (*DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage
func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSecurityHealthAnalyticsCustomModuleRequest) Reset
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) Reset()func (*DeleteSecurityHealthAnalyticsCustomModuleRequest) String
func (x *DeleteSecurityHealthAnalyticsCustomModuleRequest) String() stringEffectiveEventThreatDetectionCustomModule
type EffectiveEventThreatDetectionCustomModule struct {
// Identifier. The resource name of the Event Threat Detection custom module,
// in one of the following formats:
//
// * `organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
// * `folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
// * `projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Configuration 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 `protobuf:"varint,3,opt,name=enablement_state,json=enablementState,proto3,enum=google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule_EnablementState" json:"enablement_state,omitempty"`
// Output only. Type for the module (for example, `CONFIGURABLE_BAD_IP`).
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
// Output only. The human-readable name of the module.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. A description of the module.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}The representation of an
[EventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule]
at a given level, taking hierarchy into account and resolving various fields
accordingly. For example, if the module is enabled at the ancestor level,
then effective modules at all descendant levels will have their enablement
state set to ENABLED. Similarly, if module.inherited is set, then the
effective module's configuration will reflect the ancestor's configuration.
func (*EffectiveEventThreatDetectionCustomModule) Descriptor
func (*EffectiveEventThreatDetectionCustomModule) Descriptor() ([]byte, []int)Deprecated: Use EffectiveEventThreatDetectionCustomModule.ProtoReflect.Descriptor instead.
func (*EffectiveEventThreatDetectionCustomModule) GetConfig
func (x *EffectiveEventThreatDetectionCustomModule) GetConfig() *structpb.Structfunc (*EffectiveEventThreatDetectionCustomModule) GetDescription
func (x *EffectiveEventThreatDetectionCustomModule) GetDescription() stringfunc (*EffectiveEventThreatDetectionCustomModule) GetDisplayName
func (x *EffectiveEventThreatDetectionCustomModule) GetDisplayName() stringfunc (*EffectiveEventThreatDetectionCustomModule) GetEnablementState
func (x *EffectiveEventThreatDetectionCustomModule) GetEnablementState() EffectiveEventThreatDetectionCustomModule_EnablementStatefunc (*EffectiveEventThreatDetectionCustomModule) GetName
func (x *EffectiveEventThreatDetectionCustomModule) GetName() stringfunc (*EffectiveEventThreatDetectionCustomModule) GetType
func (x *EffectiveEventThreatDetectionCustomModule) GetType() stringfunc (*EffectiveEventThreatDetectionCustomModule) ProtoMessage
func (*EffectiveEventThreatDetectionCustomModule) ProtoMessage()func (*EffectiveEventThreatDetectionCustomModule) ProtoReflect
func (x *EffectiveEventThreatDetectionCustomModule) ProtoReflect() protoreflect.Messagefunc (*EffectiveEventThreatDetectionCustomModule) Reset
func (x *EffectiveEventThreatDetectionCustomModule) Reset()func (*EffectiveEventThreatDetectionCustomModule) String
func (x *EffectiveEventThreatDetectionCustomModule) String() stringEffectiveEventThreatDetectionCustomModule_EnablementState
type EffectiveEventThreatDetectionCustomModule_EnablementState int32The enablement state of the module.
EffectiveEventThreatDetectionCustomModule_ENABLEMENT_STATE_UNSPECIFIED, EffectiveEventThreatDetectionCustomModule_ENABLED, EffectiveEventThreatDetectionCustomModule_DISABLED
const (
// Default value. This value is unused.
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.EnumDescriptorfunc (EffectiveEventThreatDetectionCustomModule_EnablementState) Enum
func (x EffectiveEventThreatDetectionCustomModule_EnablementState) Enum() *EffectiveEventThreatDetectionCustomModule_EnablementStatefunc (EffectiveEventThreatDetectionCustomModule_EnablementState) EnumDescriptor
func (EffectiveEventThreatDetectionCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)Deprecated: Use EffectiveEventThreatDetectionCustomModule_EnablementState.Descriptor instead.
func (EffectiveEventThreatDetectionCustomModule_EnablementState) Number
func (x EffectiveEventThreatDetectionCustomModule_EnablementState) Number() protoreflect.EnumNumberfunc (EffectiveEventThreatDetectionCustomModule_EnablementState) String
func (x EffectiveEventThreatDetectionCustomModule_EnablementState) String() stringfunc (EffectiveEventThreatDetectionCustomModule_EnablementState) Type
EffectiveSecurityHealthAnalyticsCustomModule
type EffectiveSecurityHealthAnalyticsCustomModule struct {
// Identifier. The full resource name of the custom module, in one of the
// following formats:
//
// * `organizations/organization/{location}/effectiveSecurityHealthAnalyticsCustomModules/{custom_module}`
// * `folders/folder/{location}/effectiveSecurityHealthAnalyticsCustomModules/{custom_module}`
// * `projects/project/{location}/effectiveSecurityHealthAnalyticsCustomModules/{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 enablement state for the module at the given
// level of the hierarchy.
EnablementState EffectiveSecurityHealthAnalyticsCustomModule_EnablementState `protobuf:"varint,3,opt,name=enablement_state,json=enablementState,proto3,enum=google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule_EnablementState" json:"enablement_state,omitempty"`
// 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
}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 an ancestor organization or folder, then
the enablement state is set to the value that is effective in the parent, not
to INHERITED. For example, if the module is enabled in an organization or
folder, then the effective enablement state for the module is ENABLED in
all descendant folders or projects.
func (*EffectiveSecurityHealthAnalyticsCustomModule) Descriptor
func (*EffectiveSecurityHealthAnalyticsCustomModule) Descriptor() ([]byte, []int)Deprecated: Use EffectiveSecurityHealthAnalyticsCustomModule.ProtoReflect.Descriptor instead.
func (*EffectiveSecurityHealthAnalyticsCustomModule) GetCustomConfig
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetCustomConfig() *CustomConfigfunc (*EffectiveSecurityHealthAnalyticsCustomModule) GetDisplayName
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetDisplayName() stringfunc (*EffectiveSecurityHealthAnalyticsCustomModule) GetEnablementState
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetEnablementState() EffectiveSecurityHealthAnalyticsCustomModule_EnablementStatefunc (*EffectiveSecurityHealthAnalyticsCustomModule) GetName
func (x *EffectiveSecurityHealthAnalyticsCustomModule) GetName() stringfunc (*EffectiveSecurityHealthAnalyticsCustomModule) ProtoMessage
func (*EffectiveSecurityHealthAnalyticsCustomModule) ProtoMessage()func (*EffectiveSecurityHealthAnalyticsCustomModule) ProtoReflect
func (x *EffectiveSecurityHealthAnalyticsCustomModule) ProtoReflect() protoreflect.Messagefunc (*EffectiveSecurityHealthAnalyticsCustomModule) Reset
func (x *EffectiveSecurityHealthAnalyticsCustomModule) Reset()func (*EffectiveSecurityHealthAnalyticsCustomModule) String
func (x *EffectiveSecurityHealthAnalyticsCustomModule) String() stringEffectiveSecurityHealthAnalyticsCustomModule_EnablementState
type EffectiveSecurityHealthAnalyticsCustomModule_EnablementState int32The enablement state of the module.
EffectiveSecurityHealthAnalyticsCustomModule_ENABLEMENT_STATE_UNSPECIFIED, EffectiveSecurityHealthAnalyticsCustomModule_ENABLED, EffectiveSecurityHealthAnalyticsCustomModule_DISABLED
const (
// Default value. This value is unused.
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.EnumDescriptorfunc (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Enum
func (x EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Enum() *EffectiveSecurityHealthAnalyticsCustomModule_EnablementStatefunc (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor
func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)Deprecated: Use EffectiveSecurityHealthAnalyticsCustomModule_EnablementState.Descriptor instead.
func (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Number
func (x EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Number() protoreflect.EnumNumberfunc (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) String
func (x EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) String() stringfunc (EffectiveSecurityHealthAnalyticsCustomModule_EnablementState) Type
EventThreatDetectionCustomModule
type EventThreatDetectionCustomModule struct {
// Identifier. The resource name of the Event Threat Detection custom module,
// in one of the following formats:
//
// * `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
// * `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
// * `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Configuration for the module. For the resident module, its
// configuration value is defined at this level. For the inherited module, its
// configuration 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 custom module's 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 `protobuf:"varint,4,opt,name=enablement_state,json=enablementState,proto3,enum=google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule_EnablementState" json:"enablement_state,omitempty"`
// Optional. Type for the module. For example, `CONFIGURABLE_BAD_IP`.
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
// Optional. The human-readable name of the module.
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. A description of 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
}A Security Command Center resource that contains the configuration and enablement state of a custom module, which enables Event Threat Detection to write certain findings to Security Command Center.
func (*EventThreatDetectionCustomModule) Descriptor
func (*EventThreatDetectionCustomModule) Descriptor() ([]byte, []int)Deprecated: Use EventThreatDetectionCustomModule.ProtoReflect.Descriptor instead.
func (*EventThreatDetectionCustomModule) GetAncestorModule
func (x *EventThreatDetectionCustomModule) GetAncestorModule() stringfunc (*EventThreatDetectionCustomModule) GetConfig
func (x *EventThreatDetectionCustomModule) GetConfig() *structpb.Structfunc (*EventThreatDetectionCustomModule) GetDescription
func (x *EventThreatDetectionCustomModule) GetDescription() stringfunc (*EventThreatDetectionCustomModule) GetDisplayName
func (x *EventThreatDetectionCustomModule) GetDisplayName() stringfunc (*EventThreatDetectionCustomModule) GetEnablementState
func (x *EventThreatDetectionCustomModule) GetEnablementState() EventThreatDetectionCustomModule_EnablementStatefunc (*EventThreatDetectionCustomModule) GetLastEditor
func (x *EventThreatDetectionCustomModule) GetLastEditor() stringfunc (*EventThreatDetectionCustomModule) GetName
func (x *EventThreatDetectionCustomModule) GetName() stringfunc (*EventThreatDetectionCustomModule) GetType
func (x *EventThreatDetectionCustomModule) GetType() stringfunc (*EventThreatDetectionCustomModule) GetUpdateTime
func (x *EventThreatDetectionCustomModule) GetUpdateTime() *timestamppb.Timestampfunc (*EventThreatDetectionCustomModule) ProtoMessage
func (*EventThreatDetectionCustomModule) ProtoMessage()func (*EventThreatDetectionCustomModule) ProtoReflect
func (x *EventThreatDetectionCustomModule) ProtoReflect() protoreflect.Messagefunc (*EventThreatDetectionCustomModule) Reset
func (x *EventThreatDetectionCustomModule) Reset()func (*EventThreatDetectionCustomModule) String
func (x *EventThreatDetectionCustomModule) String() stringEventThreatDetectionCustomModule_EnablementState
type EventThreatDetectionCustomModule_EnablementState int32The enablement state of the module.
EventThreatDetectionCustomModule_ENABLEMENT_STATE_UNSPECIFIED, EventThreatDetectionCustomModule_ENABLED, EventThreatDetectionCustomModule_DISABLED, EventThreatDetectionCustomModule_INHERITED
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. If you try to set a top-level
// module (a module with no parent) to the `INHERITED` state, you receive an
// `INVALID_ARGUMENT` error.
EventThreatDetectionCustomModule_INHERITED EventThreatDetectionCustomModule_EnablementState = 3
)func (EventThreatDetectionCustomModule_EnablementState) Descriptor
func (EventThreatDetectionCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptorfunc (EventThreatDetectionCustomModule_EnablementState) Enum
func (x EventThreatDetectionCustomModule_EnablementState) Enum() *EventThreatDetectionCustomModule_EnablementStatefunc (EventThreatDetectionCustomModule_EnablementState) EnumDescriptor
func (EventThreatDetectionCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)Deprecated: Use EventThreatDetectionCustomModule_EnablementState.Descriptor instead.
func (EventThreatDetectionCustomModule_EnablementState) Number
func (x EventThreatDetectionCustomModule_EnablementState) Number() protoreflect.EnumNumberfunc (EventThreatDetectionCustomModule_EnablementState) String
func (x EventThreatDetectionCustomModule_EnablementState) String() stringfunc (EventThreatDetectionCustomModule_EnablementState) Type
GetEffectiveEventThreatDetectionCustomModuleRequest
type GetEffectiveEventThreatDetectionCustomModuleRequest struct {
// Required. The resource name of the Event Threat Detection custom module, in
// one of the following formats:
//
// * `organizations/{organization}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
// * `folders/{folder}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
// * `projects/{project}/locations/{location}/effectiveEventThreatDetectionCustomModules/{custom_module}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.GetEffectiveEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveEventThreatDetectionCustomModule].
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) Descriptor
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEffectiveEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) GetName
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) GetName() stringfunc (*GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoMessage
func (*GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoMessage()func (*GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoReflect
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetEffectiveEventThreatDetectionCustomModuleRequest) Reset
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) Reset()func (*GetEffectiveEventThreatDetectionCustomModuleRequest) String
func (x *GetEffectiveEventThreatDetectionCustomModuleRequest) String() stringGetEffectiveSecurityHealthAnalyticsCustomModuleRequest
type GetEffectiveSecurityHealthAnalyticsCustomModuleRequest struct {
// Required. The full resource name of the custom module, specified in one of
// the following formats:
//
// * `organizations/organization/{location}/effectiveSecurityHealthAnalyticsCustomModules/{custom_module}`
// * `folders/folder/{location}/effectiveSecurityHealthAnalyticsCustomModules/{custom_module}`
// * `projects/project/{location}/effectiveSecurityHealthAnalyticsCustomModules/{custom_module}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.GetEffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveSecurityHealthAnalyticsCustomModule].
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Descriptor
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEffectiveSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) GetName
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) GetName() stringfunc (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage
func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Reset
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) Reset()func (*GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) String
func (x *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) String() stringGetEventThreatDetectionCustomModuleRequest
type GetEventThreatDetectionCustomModuleRequest struct {
// Required. The resource name of the Event Threat Detection custom module, in
// one of the following formats:
//
// * `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
// * `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
// * `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.GetEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEventThreatDetectionCustomModule].
func (*GetEventThreatDetectionCustomModuleRequest) Descriptor
func (*GetEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetEventThreatDetectionCustomModuleRequest) GetName
func (x *GetEventThreatDetectionCustomModuleRequest) GetName() stringfunc (*GetEventThreatDetectionCustomModuleRequest) ProtoMessage
func (*GetEventThreatDetectionCustomModuleRequest) ProtoMessage()func (*GetEventThreatDetectionCustomModuleRequest) ProtoReflect
func (x *GetEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetEventThreatDetectionCustomModuleRequest) Reset
func (x *GetEventThreatDetectionCustomModuleRequest) Reset()func (*GetEventThreatDetectionCustomModuleRequest) String
func (x *GetEventThreatDetectionCustomModuleRequest) String() stringGetSecurityCenterServiceRequest
type GetSecurityCenterServiceRequest struct {
// Required. The Security Command Center service to retrieve, in one of the
// following formats:
//
// * organizations/{organization}/locations/{location}/securityCenterServices/{service}
// * folders/{folder}/locations/{location}/securityCenterServices/{service}
// * projects/{project}/locations/{location}/securityCenterServices/{service}
//
// The following values are valid for `{service}`:
//
// * `container-threat-detection`
// * `event-threat-detection`
// * `security-health-analytics`
// * `vm-threat-detection`
// * `web-security-scanner`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Set to `true` to show only modules that are in scope. By default, all
// modules are shown.
ShowEligibleModulesOnly bool `protobuf:"varint,2,opt,name=show_eligible_modules_only,json=showEligibleModulesOnly,proto3" json:"show_eligible_modules_only,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.GetSecurityCenterService][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityCenterService].
func (*GetSecurityCenterServiceRequest) Descriptor
func (*GetSecurityCenterServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSecurityCenterServiceRequest.ProtoReflect.Descriptor instead.
func (*GetSecurityCenterServiceRequest) GetName
func (x *GetSecurityCenterServiceRequest) GetName() stringfunc (*GetSecurityCenterServiceRequest) GetShowEligibleModulesOnly
func (x *GetSecurityCenterServiceRequest) GetShowEligibleModulesOnly() boolfunc (*GetSecurityCenterServiceRequest) ProtoMessage
func (*GetSecurityCenterServiceRequest) ProtoMessage()func (*GetSecurityCenterServiceRequest) ProtoReflect
func (x *GetSecurityCenterServiceRequest) ProtoReflect() protoreflect.Messagefunc (*GetSecurityCenterServiceRequest) Reset
func (x *GetSecurityCenterServiceRequest) Reset()func (*GetSecurityCenterServiceRequest) String
func (x *GetSecurityCenterServiceRequest) String() stringGetSecurityHealthAnalyticsCustomModuleRequest
type GetSecurityHealthAnalyticsCustomModuleRequest struct {
// Required. Name of the resource, in the format
// `projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.GetSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityHealthAnalyticsCustomModule].
func (*GetSecurityHealthAnalyticsCustomModuleRequest) Descriptor
func (*GetSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*GetSecurityHealthAnalyticsCustomModuleRequest) GetName
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) GetName() stringfunc (*GetSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage
func (*GetSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()func (*GetSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetSecurityHealthAnalyticsCustomModuleRequest) Reset
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) Reset()func (*GetSecurityHealthAnalyticsCustomModuleRequest) String
func (x *GetSecurityHealthAnalyticsCustomModuleRequest) String() stringListDescendantEventThreatDetectionCustomModulesRequest
type ListDescendantEventThreatDetectionCustomModulesRequest struct {
// Required. Name of parent to list custom modules, in one of the following
// formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `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 pagination token returned from a previous request. Provide this
// token to retrieve the next page of results.
//
// When paginating, the rest of the request must match the request that
// generated 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 [SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules].
func (*ListDescendantEventThreatDetectionCustomModulesRequest) Descriptor
func (*ListDescendantEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDescendantEventThreatDetectionCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListDescendantEventThreatDetectionCustomModulesRequest) GetPageSize
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetPageSize() int32func (*ListDescendantEventThreatDetectionCustomModulesRequest) GetPageToken
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetPageToken() stringfunc (*ListDescendantEventThreatDetectionCustomModulesRequest) GetParent
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) GetParent() stringfunc (*ListDescendantEventThreatDetectionCustomModulesRequest) ProtoMessage
func (*ListDescendantEventThreatDetectionCustomModulesRequest) ProtoMessage()func (*ListDescendantEventThreatDetectionCustomModulesRequest) ProtoReflect
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDescendantEventThreatDetectionCustomModulesRequest) Reset
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) Reset()func (*ListDescendantEventThreatDetectionCustomModulesRequest) String
func (x *ListDescendantEventThreatDetectionCustomModulesRequest) String() stringListDescendantEventThreatDetectionCustomModulesResponse
type ListDescendantEventThreatDetectionCustomModulesResponse struct {
// The list of custom modules.
EventThreatDetectionCustomModules []*EventThreatDetectionCustomModule `protobuf:"bytes,1,rep,name=event_threat_detection_custom_modules,json=eventThreatDetectionCustomModules,proto3" json:"event_threat_detection_custom_modules,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
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 [SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules].
func (*ListDescendantEventThreatDetectionCustomModulesResponse) Descriptor
func (*ListDescendantEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDescendantEventThreatDetectionCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListDescendantEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules() []*EventThreatDetectionCustomModulefunc (*ListDescendantEventThreatDetectionCustomModulesResponse) GetNextPageToken
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) GetNextPageToken() stringfunc (*ListDescendantEventThreatDetectionCustomModulesResponse) ProtoMessage
func (*ListDescendantEventThreatDetectionCustomModulesResponse) ProtoMessage()func (*ListDescendantEventThreatDetectionCustomModulesResponse) ProtoReflect
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDescendantEventThreatDetectionCustomModulesResponse) Reset
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) Reset()func (*ListDescendantEventThreatDetectionCustomModulesResponse) String
func (x *ListDescendantEventThreatDetectionCustomModulesResponse) String() stringListDescendantSecurityHealthAnalyticsCustomModulesRequest
type ListDescendantSecurityHealthAnalyticsCustomModulesRequest struct {
// Required. Name of the parent organization, folder, or project in which to
// list custom modules, in one of the following formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `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 pagination token returned from a previous request. Provide this
// token to retrieve the next page of results.
//
// When paginating, the rest of the request must match the request that
// generated 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 [SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules].
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Descriptor
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDescendantSecurityHealthAnalyticsCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageSize
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageToken
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() stringfunc (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetParent
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) GetParent() stringfunc (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage
func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Reset
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) Reset()func (*ListDescendantSecurityHealthAnalyticsCustomModulesRequest) String
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) String() stringListDescendantSecurityHealthAnalyticsCustomModulesResponse
type ListDescendantSecurityHealthAnalyticsCustomModulesResponse struct {
// The list of SecurityHealthAnalyticsCustomModules
SecurityHealthAnalyticsCustomModules []*SecurityHealthAnalyticsCustomModule `protobuf:"bytes,1,rep,name=security_health_analytics_custom_modules,json=securityHealthAnalyticsCustomModules,proto3" json:"security_health_analytics_custom_modules,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
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 [SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules].
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Descriptor
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDescendantSecurityHealthAnalyticsCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() stringfunc (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules() []*SecurityHealthAnalyticsCustomModulefunc (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage
func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Reset
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) Reset()func (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse) String
func (x *ListDescendantSecurityHealthAnalyticsCustomModulesResponse) String() stringListEffectiveEventThreatDetectionCustomModulesRequest
type ListEffectiveEventThreatDetectionCustomModulesRequest struct {
// Required. Name of parent to list effective custom modules, in one of the
// following formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `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 pagination token returned from a previous request. Provide this
// token to retrieve the next page of results.
//
// When paginating, the rest of the request must match the request that
// generated 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 [SecurityCenterManagement.ListEffectiveEventThreatDetectionCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveEventThreatDetectionCustomModules].
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) Descriptor
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEffectiveEventThreatDetectionCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageSize
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageSize() int32func (*ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageToken
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetPageToken() stringfunc (*ListEffectiveEventThreatDetectionCustomModulesRequest) GetParent
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) GetParent() stringfunc (*ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoMessage
func (*ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoMessage()func (*ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoReflect
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListEffectiveEventThreatDetectionCustomModulesRequest) Reset
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) Reset()func (*ListEffectiveEventThreatDetectionCustomModulesRequest) String
func (x *ListEffectiveEventThreatDetectionCustomModulesRequest) String() stringListEffectiveEventThreatDetectionCustomModulesResponse
type ListEffectiveEventThreatDetectionCustomModulesResponse struct {
// The list of effective Event Threat Detection custom modules.
EffectiveEventThreatDetectionCustomModules []*EffectiveEventThreatDetectionCustomModule `protobuf:"bytes,1,rep,name=effective_event_threat_detection_custom_modules,json=effectiveEventThreatDetectionCustomModules,proto3" json:"effective_event_threat_detection_custom_modules,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
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 [SecurityCenterManagement.ListEffectiveEventThreatDetectionCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveEventThreatDetectionCustomModules].
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) Descriptor
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEffectiveEventThreatDetectionCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) GetEffectiveEventThreatDetectionCustomModules
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) GetEffectiveEventThreatDetectionCustomModules() []*EffectiveEventThreatDetectionCustomModulefunc (*ListEffectiveEventThreatDetectionCustomModulesResponse) GetNextPageToken
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) GetNextPageToken() stringfunc (*ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoMessage
func (*ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoMessage()func (*ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoReflect
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListEffectiveEventThreatDetectionCustomModulesResponse) Reset
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) Reset()func (*ListEffectiveEventThreatDetectionCustomModulesResponse) String
func (x *ListEffectiveEventThreatDetectionCustomModulesResponse) String() stringListEffectiveSecurityHealthAnalyticsCustomModulesRequest
type ListEffectiveSecurityHealthAnalyticsCustomModulesRequest struct {
// Required. Name of parent to list effective custom modules, in one of the
// following formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `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 pagination token returned from a previous request. Provide this
// token to retrieve the next page of results.
//
// When paginating, the rest of the request must match the request that
// generated 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 [SecurityCenterManagement.ListEffectiveSecurityHealthAnalyticsCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveSecurityHealthAnalyticsCustomModules].
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Descriptor
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEffectiveSecurityHealthAnalyticsCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageSize
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageToken
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() stringfunc (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetParent
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) GetParent() stringfunc (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Reset
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) Reset()func (*ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) String
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) String() stringListEffectiveSecurityHealthAnalyticsCustomModulesResponse
type ListEffectiveSecurityHealthAnalyticsCustomModulesResponse struct {
// The list of effective Security Health Analytics custom modules.
EffectiveSecurityHealthAnalyticsCustomModules []*EffectiveSecurityHealthAnalyticsCustomModule `protobuf:"bytes,1,rep,name=effective_security_health_analytics_custom_modules,json=effectiveSecurityHealthAnalyticsCustomModules,proto3" json:"effective_security_health_analytics_custom_modules,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
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 [SecurityCenterManagement.ListEffectiveSecurityHealthAnalyticsCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveSecurityHealthAnalyticsCustomModules].
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Descriptor
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEffectiveSecurityHealthAnalyticsCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetEffectiveSecurityHealthAnalyticsCustomModules
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetEffectiveSecurityHealthAnalyticsCustomModules() []*EffectiveSecurityHealthAnalyticsCustomModulefunc (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() stringfunc (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage
func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Reset
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) Reset()func (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) String
func (x *ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) String() stringListEventThreatDetectionCustomModulesRequest
type ListEventThreatDetectionCustomModulesRequest struct {
// Required. Name of parent to list custom modules, in one of the following
// formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `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 modules 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 pagination token returned from a previous request. Provide this
// token to retrieve the next page of results.
//
// When paginating, the rest of the request must match the request that
// generated 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 [SecurityCenterManagement.ListEventThreatDetectionCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEventThreatDetectionCustomModules].
func (*ListEventThreatDetectionCustomModulesRequest) Descriptor
func (*ListEventThreatDetectionCustomModulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEventThreatDetectionCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListEventThreatDetectionCustomModulesRequest) GetPageSize
func (x *ListEventThreatDetectionCustomModulesRequest) GetPageSize() int32func (*ListEventThreatDetectionCustomModulesRequest) GetPageToken
func (x *ListEventThreatDetectionCustomModulesRequest) GetPageToken() stringfunc (*ListEventThreatDetectionCustomModulesRequest) GetParent
func (x *ListEventThreatDetectionCustomModulesRequest) GetParent() stringfunc (*ListEventThreatDetectionCustomModulesRequest) ProtoMessage
func (*ListEventThreatDetectionCustomModulesRequest) ProtoMessage()func (*ListEventThreatDetectionCustomModulesRequest) ProtoReflect
func (x *ListEventThreatDetectionCustomModulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListEventThreatDetectionCustomModulesRequest) Reset
func (x *ListEventThreatDetectionCustomModulesRequest) Reset()func (*ListEventThreatDetectionCustomModulesRequest) String
func (x *ListEventThreatDetectionCustomModulesRequest) String() stringListEventThreatDetectionCustomModulesResponse
type ListEventThreatDetectionCustomModulesResponse struct {
// The list of custom modules.
EventThreatDetectionCustomModules []*EventThreatDetectionCustomModule `protobuf:"bytes,1,rep,name=event_threat_detection_custom_modules,json=eventThreatDetectionCustomModules,proto3" json:"event_threat_detection_custom_modules,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
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 [SecurityCenterManagement.ListEventThreatDetectionCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEventThreatDetectionCustomModules].
func (*ListEventThreatDetectionCustomModulesResponse) Descriptor
func (*ListEventThreatDetectionCustomModulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEventThreatDetectionCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules
func (x *ListEventThreatDetectionCustomModulesResponse) GetEventThreatDetectionCustomModules() []*EventThreatDetectionCustomModulefunc (*ListEventThreatDetectionCustomModulesResponse) GetNextPageToken
func (x *ListEventThreatDetectionCustomModulesResponse) GetNextPageToken() stringfunc (*ListEventThreatDetectionCustomModulesResponse) ProtoMessage
func (*ListEventThreatDetectionCustomModulesResponse) ProtoMessage()func (*ListEventThreatDetectionCustomModulesResponse) ProtoReflect
func (x *ListEventThreatDetectionCustomModulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListEventThreatDetectionCustomModulesResponse) Reset
func (x *ListEventThreatDetectionCustomModulesResponse) Reset()func (*ListEventThreatDetectionCustomModulesResponse) String
func (x *ListEventThreatDetectionCustomModulesResponse) String() stringListSecurityCenterServicesRequest
type ListSecurityCenterServicesRequest struct {
// Required. The name of the parent to list Security Command Center services,
// in one of the following formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `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 pagination token returned from a previous request. Provide this
// token to retrieve the next page of results.
//
// When paginating, the rest of the request must match the request that
// generated the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Flag that, when set, is used to filter the module settings that are shown.
// The default setting is that all modules are shown.
ShowEligibleModulesOnly bool `protobuf:"varint,4,opt,name=show_eligible_modules_only,json=showEligibleModulesOnly,proto3" json:"show_eligible_modules_only,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.ListSecurityCenterServices][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityCenterServices].
func (*ListSecurityCenterServicesRequest) Descriptor
func (*ListSecurityCenterServicesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSecurityCenterServicesRequest.ProtoReflect.Descriptor instead.
func (*ListSecurityCenterServicesRequest) GetPageSize
func (x *ListSecurityCenterServicesRequest) GetPageSize() int32func (*ListSecurityCenterServicesRequest) GetPageToken
func (x *ListSecurityCenterServicesRequest) GetPageToken() stringfunc (*ListSecurityCenterServicesRequest) GetParent
func (x *ListSecurityCenterServicesRequest) GetParent() stringfunc (*ListSecurityCenterServicesRequest) GetShowEligibleModulesOnly
func (x *ListSecurityCenterServicesRequest) GetShowEligibleModulesOnly() boolfunc (*ListSecurityCenterServicesRequest) ProtoMessage
func (*ListSecurityCenterServicesRequest) ProtoMessage()func (*ListSecurityCenterServicesRequest) ProtoReflect
func (x *ListSecurityCenterServicesRequest) ProtoReflect() protoreflect.Messagefunc (*ListSecurityCenterServicesRequest) Reset
func (x *ListSecurityCenterServicesRequest) Reset()func (*ListSecurityCenterServicesRequest) String
func (x *ListSecurityCenterServicesRequest) String() stringListSecurityCenterServicesResponse
type ListSecurityCenterServicesResponse struct {
// The list of services.
SecurityCenterServices []*SecurityCenterService `protobuf:"bytes,1,rep,name=security_center_services,json=securityCenterServices,proto3" json:"security_center_services,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
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 [SecurityCenterManagement.ListSecurityCenterServices][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityCenterServices].
func (*ListSecurityCenterServicesResponse) Descriptor
func (*ListSecurityCenterServicesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSecurityCenterServicesResponse.ProtoReflect.Descriptor instead.
func (*ListSecurityCenterServicesResponse) GetNextPageToken
func (x *ListSecurityCenterServicesResponse) GetNextPageToken() stringfunc (*ListSecurityCenterServicesResponse) GetSecurityCenterServices
func (x *ListSecurityCenterServicesResponse) GetSecurityCenterServices() []*SecurityCenterServicefunc (*ListSecurityCenterServicesResponse) ProtoMessage
func (*ListSecurityCenterServicesResponse) ProtoMessage()func (*ListSecurityCenterServicesResponse) ProtoReflect
func (x *ListSecurityCenterServicesResponse) ProtoReflect() protoreflect.Messagefunc (*ListSecurityCenterServicesResponse) Reset
func (x *ListSecurityCenterServicesResponse) Reset()func (*ListSecurityCenterServicesResponse) String
func (x *ListSecurityCenterServicesResponse) String() stringListSecurityHealthAnalyticsCustomModulesRequest
type ListSecurityHealthAnalyticsCustomModulesRequest struct {
// Required. Name of the parent organization, folder, or project in which to
// list custom modules, in one of the following formats:
//
// * `organizations/{organization}/locations/{location}`
// * `folders/{folder}/locations/{location}`
// * `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 pagination token returned from a previous request. Provide this
// token to retrieve the next page of results.
//
// When paginating, the rest of the request must match the request that
// generated 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 [SecurityCenterManagement.ListSecurityHealthAnalyticsCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityHealthAnalyticsCustomModules].
func (*ListSecurityHealthAnalyticsCustomModulesRequest) Descriptor
func (*ListSecurityHealthAnalyticsCustomModulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSecurityHealthAnalyticsCustomModulesRequest.ProtoReflect.Descriptor instead.
func (*ListSecurityHealthAnalyticsCustomModulesRequest) GetPageSize
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetPageSize() int32func (*ListSecurityHealthAnalyticsCustomModulesRequest) GetPageToken
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetPageToken() stringfunc (*ListSecurityHealthAnalyticsCustomModulesRequest) GetParent
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) GetParent() stringfunc (*ListSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage
func (*ListSecurityHealthAnalyticsCustomModulesRequest) ProtoMessage()func (*ListSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListSecurityHealthAnalyticsCustomModulesRequest) Reset
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) Reset()func (*ListSecurityHealthAnalyticsCustomModulesRequest) String
func (x *ListSecurityHealthAnalyticsCustomModulesRequest) String() stringListSecurityHealthAnalyticsCustomModulesResponse
type ListSecurityHealthAnalyticsCustomModulesResponse struct {
// The list of Security Health Analytics custom modules.
SecurityHealthAnalyticsCustomModules []*SecurityHealthAnalyticsCustomModule `protobuf:"bytes,1,rep,name=security_health_analytics_custom_modules,json=securityHealthAnalyticsCustomModules,proto3" json:"security_health_analytics_custom_modules,omitempty"`
// A pagination token. To retrieve the next page of results, call the method
// again with this token.
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 [SecurityCenterManagement.ListSecurityHealthAnalyticsCustomModules][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityHealthAnalyticsCustomModules].
func (*ListSecurityHealthAnalyticsCustomModulesResponse) Descriptor
func (*ListSecurityHealthAnalyticsCustomModulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSecurityHealthAnalyticsCustomModulesResponse.ProtoReflect.Descriptor instead.
func (*ListSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) GetNextPageToken() stringfunc (*ListSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) GetSecurityHealthAnalyticsCustomModules() []*SecurityHealthAnalyticsCustomModulefunc (*ListSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage
func (*ListSecurityHealthAnalyticsCustomModulesResponse) ProtoMessage()func (*ListSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListSecurityHealthAnalyticsCustomModulesResponse) Reset
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) Reset()func (*ListSecurityHealthAnalyticsCustomModulesResponse) String
func (x *ListSecurityHealthAnalyticsCustomModulesResponse) String() stringSecurityCenterManagementClient
type SecurityCenterManagementClient interface {
// Returns a list of all
// [EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule]
// resources for the given parent. This includes resident modules defined at
// the scope of the parent, and inherited modules, inherited from ancestor
// organizations, folders, and projects (no descendants).
ListEffectiveSecurityHealthAnalyticsCustomModules(ctx context.Context, in *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, opts ...grpc.CallOption) (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, error)
// Gets details of a single
// [EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule].
GetEffectiveSecurityHealthAnalyticsCustomModule(ctx context.Context, in *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*EffectiveSecurityHealthAnalyticsCustomModule, error)
// Returns a list of all
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// resources for the given parent. This includes resident modules defined at
// the scope of the parent, and inherited modules, inherited from ancestor
// organizations, folders, and projects (no descendants).
ListSecurityHealthAnalyticsCustomModules(ctx context.Context, in *ListSecurityHealthAnalyticsCustomModulesRequest, opts ...grpc.CallOption) (*ListSecurityHealthAnalyticsCustomModulesResponse, error)
// Returns a list of all resident
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// resources under the given organization, folder, or project and all of its
// descendants.
ListDescendantSecurityHealthAnalyticsCustomModules(ctx context.Context, in *ListDescendantSecurityHealthAnalyticsCustomModulesRequest, opts ...grpc.CallOption) (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse, error)
// Retrieves a
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule].
GetSecurityHealthAnalyticsCustomModule(ctx context.Context, in *GetSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*SecurityHealthAnalyticsCustomModule, error)
// Creates a resident
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// at the scope of the given organization, folder, or project, and also
// creates inherited `SecurityHealthAnalyticsCustomModule` resources for all
// folders and projects that are 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][google.cloud.securitycentermanagement.v1.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 configuration of a module is supported
// on resident modules only.
UpdateSecurityHealthAnalyticsCustomModule(ctx context.Context, in *UpdateSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*SecurityHealthAnalyticsCustomModule, error)
// Deletes the specified
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// and all of its descendants in the resource hierarchy. This method is only
// supported for resident custom modules.
DeleteSecurityHealthAnalyticsCustomModule(ctx context.Context, in *DeleteSecurityHealthAnalyticsCustomModuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Simulates the result of using a
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// to check a 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 the effective Event Threat Detection custom module at the given level.
//
// The difference between an
// [EffectiveEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule]
// and an
// [EventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule]
// is that the fields for an `EffectiveEventThreatDetectionCustomModule` are
// computed from ancestors if needed. For example, the enablement state for an
// `EventThreatDetectionCustomModule` can be `ENABLED`, `DISABLED`, or
// `INHERITED`. In contrast, the enablement state for an
// `EffectiveEventThreatDetectionCustomModule` is always computed as `ENABLED`
// or `DISABLED`.
GetEffectiveEventThreatDetectionCustomModule(ctx context.Context, in *GetEffectiveEventThreatDetectionCustomModuleRequest, opts ...grpc.CallOption) (*EffectiveEventThreatDetectionCustomModule, error)
// Lists all Event Threat Detection custom modules for the given organization,
// folder, or project. 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 for the given
// organization, folder, or project 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 organization, folder, or project, and 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 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)
// Gets service settings for the specified Security Command Center service.
GetSecurityCenterService(ctx context.Context, in *GetSecurityCenterServiceRequest, opts ...grpc.CallOption) (*SecurityCenterService, error)
// Returns a list of all Security Command Center services for the given
// parent.
ListSecurityCenterServices(ctx context.Context, in *ListSecurityCenterServicesRequest, opts ...grpc.CallOption) (*ListSecurityCenterServicesResponse, error)
// Updates a Security Command Center service using the given update mask.
UpdateSecurityCenterService(ctx context.Context, in *UpdateSecurityCenterServiceRequest, opts ...grpc.CallOption) (*SecurityCenterService, error)
}SecurityCenterManagementClient is the client API for SecurityCenterManagement service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSecurityCenterManagementClient
func NewSecurityCenterManagementClient(cc grpc.ClientConnInterface) SecurityCenterManagementClientSecurityCenterManagementServer
type SecurityCenterManagementServer interface {
// Returns a list of all
// [EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule]
// resources for the given parent. This includes resident modules defined at
// the scope of the parent, and inherited modules, inherited from ancestor
// organizations, folders, and projects (no descendants).
ListEffectiveSecurityHealthAnalyticsCustomModules(context.Context, *ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) (*ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, error)
// Gets details of a single
// [EffectiveSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.EffectiveSecurityHealthAnalyticsCustomModule].
GetEffectiveSecurityHealthAnalyticsCustomModule(context.Context, *GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) (*EffectiveSecurityHealthAnalyticsCustomModule, error)
// Returns a list of all
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// resources for the given parent. This includes resident modules defined at
// the scope of the parent, and inherited modules, inherited from ancestor
// organizations, folders, and projects (no descendants).
ListSecurityHealthAnalyticsCustomModules(context.Context, *ListSecurityHealthAnalyticsCustomModulesRequest) (*ListSecurityHealthAnalyticsCustomModulesResponse, error)
// Returns a list of all resident
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// resources under the given organization, folder, or project and all of its
// descendants.
ListDescendantSecurityHealthAnalyticsCustomModules(context.Context, *ListDescendantSecurityHealthAnalyticsCustomModulesRequest) (*ListDescendantSecurityHealthAnalyticsCustomModulesResponse, error)
// Retrieves a
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule].
GetSecurityHealthAnalyticsCustomModule(context.Context, *GetSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
// Creates a resident
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// at the scope of the given organization, folder, or project, and also
// creates inherited `SecurityHealthAnalyticsCustomModule` resources for all
// folders and projects that are descendants of the given parent. These
// modules are enabled by default.
CreateSecurityHealthAnalyticsCustomModule(context.Context, *CreateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
// Updates the
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.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 configuration of a module is supported
// on resident modules only.
UpdateSecurityHealthAnalyticsCustomModule(context.Context, *UpdateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)
// Deletes the specified
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// and all of its descendants in the resource hierarchy. This method is only
// supported for resident custom modules.
DeleteSecurityHealthAnalyticsCustomModule(context.Context, *DeleteSecurityHealthAnalyticsCustomModuleRequest) (*emptypb.Empty, error)
// Simulates the result of using a
// [SecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule]
// to check a 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 the effective Event Threat Detection custom module at the given level.
//
// The difference between an
// [EffectiveEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EffectiveEventThreatDetectionCustomModule]
// and an
// [EventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.EventThreatDetectionCustomModule]
// is that the fields for an `EffectiveEventThreatDetectionCustomModule` are
// computed from ancestors if needed. For example, the enablement state for an
// `EventThreatDetectionCustomModule` can be `ENABLED`, `DISABLED`, or
// `INHERITED`. In contrast, the enablement state for an
// `EffectiveEventThreatDetectionCustomModule` is always computed as `ENABLED`
// or `DISABLED`.
GetEffectiveEventThreatDetectionCustomModule(context.Context, *GetEffectiveEventThreatDetectionCustomModuleRequest) (*EffectiveEventThreatDetectionCustomModule, error)
// Lists all Event Threat Detection custom modules for the given organization,
// folder, or project. 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 for the given
// organization, folder, or project 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 organization, folder, or project, and 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 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)
// Gets service settings for the specified Security Command Center service.
GetSecurityCenterService(context.Context, *GetSecurityCenterServiceRequest) (*SecurityCenterService, error)
// Returns a list of all Security Command Center services for the given
// parent.
ListSecurityCenterServices(context.Context, *ListSecurityCenterServicesRequest) (*ListSecurityCenterServicesResponse, error)
// Updates a Security Command Center service using the given update mask.
UpdateSecurityCenterService(context.Context, *UpdateSecurityCenterServiceRequest) (*SecurityCenterService, error)
}SecurityCenterManagementServer is the server API for SecurityCenterManagement service. All implementations should embed UnimplementedSecurityCenterManagementServer for forward compatibility
SecurityCenterService
type SecurityCenterService struct {
// Identifier. The name of the service, in one of the following formats:
//
// * `organizations/{organization}/locations/{location}/securityCenterServices/{service}`
// * `folders/{folder}/locations/{location}/securityCenterServices/{service}`
// * `projects/{project}/locations/{location}/securityCenterServices/{service}`
//
// The following values are valid for `{service}`:
//
// * `container-threat-detection`
// * `event-threat-detection`
// * `security-health-analytics`
// * `vm-threat-detection`
// * `web-security-scanner`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The intended enablement state for the service at its level of the
// resource hierarchy. A `DISABLED` state will override all module enablement
// states to `DISABLED`.
IntendedEnablementState SecurityCenterService_EnablementState `protobuf:"varint,2,opt,name=intended_enablement_state,json=intendedEnablementState,proto3,enum=google.cloud.securitycentermanagement.v1.SecurityCenterService_EnablementState" json:"intended_enablement_state,omitempty"`
// Output only. The effective enablement state for the service at its level of
// the resource hierarchy. If the intended state is set to `INHERITED`, the
// effective state will be inherited from the enablement state of an ancestor.
// This state may differ from the intended enablement state due to billing
// eligibility or onboarding status.
EffectiveEnablementState SecurityCenterService_EnablementState `protobuf:"varint,3,opt,name=effective_enablement_state,json=effectiveEnablementState,proto3,enum=google.cloud.securitycentermanagement.v1.SecurityCenterService_EnablementState" json:"effective_enablement_state,omitempty"`
// Optional. The module configurations, including the enablement state for the
// service's modules. The absence of a module in the map implies that its
// configuration is inherited from its parents.
Modules map[string]*SecurityCenterService_ModuleSettings `protobuf:"bytes,4,rep,name=modules,proto3" json:"modules,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The time the service was last updated. This could be due to an
// explicit user update or due to a side effect of another system change, such
// as billing subscription expiry.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Additional service-specific configuration. Not all services will
// utilize this field.
ServiceConfig *structpb.Struct `protobuf:"bytes,6,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`
// contains filtered or unexported fields
}Represents a particular Security Command Center service. This includes settings information such as top-level enablement in addition to individual module settings. Service settings can be configured at the organization, folder, or project level. Service settings at the organization or folder level are inherited by those in descendant folders and projects.
func (*SecurityCenterService) Descriptor
func (*SecurityCenterService) Descriptor() ([]byte, []int)Deprecated: Use SecurityCenterService.ProtoReflect.Descriptor instead.
func (*SecurityCenterService) GetEffectiveEnablementState
func (x *SecurityCenterService) GetEffectiveEnablementState() SecurityCenterService_EnablementStatefunc (*SecurityCenterService) GetIntendedEnablementState
func (x *SecurityCenterService) GetIntendedEnablementState() SecurityCenterService_EnablementStatefunc (*SecurityCenterService) GetModules
func (x *SecurityCenterService) GetModules() map[string]*SecurityCenterService_ModuleSettingsfunc (*SecurityCenterService) GetName
func (x *SecurityCenterService) GetName() stringfunc (*SecurityCenterService) GetServiceConfig
func (x *SecurityCenterService) GetServiceConfig() *structpb.Structfunc (*SecurityCenterService) GetUpdateTime
func (x *SecurityCenterService) GetUpdateTime() *timestamppb.Timestampfunc (*SecurityCenterService) ProtoMessage
func (*SecurityCenterService) ProtoMessage()func (*SecurityCenterService) ProtoReflect
func (x *SecurityCenterService) ProtoReflect() protoreflect.Messagefunc (*SecurityCenterService) Reset
func (x *SecurityCenterService) Reset()func (*SecurityCenterService) String
func (x *SecurityCenterService) String() stringSecurityCenterService_EnablementState
type SecurityCenterService_EnablementState int32Represents the possible enablement states for a service or module.
SecurityCenterService_ENABLEMENT_STATE_UNSPECIFIED, SecurityCenterService_INHERITED, SecurityCenterService_ENABLED, SecurityCenterService_DISABLED, SecurityCenterService_INGEST_ONLY
const (
// Default value. This value is unused.
SecurityCenterService_ENABLEMENT_STATE_UNSPECIFIED SecurityCenterService_EnablementState = 0
// State is inherited from the parent resource. Valid as an intended
// enablement state, but not as an effective enablement state.
SecurityCenterService_INHERITED SecurityCenterService_EnablementState = 1
// State is enabled.
SecurityCenterService_ENABLED SecurityCenterService_EnablementState = 2
// State is disabled.
SecurityCenterService_DISABLED SecurityCenterService_EnablementState = 3
// Security Command Center is configured to ingest findings from this
// service, but not to enable this service. This state indicates that
// Security Command Center is misconfigured. You can't set this state
// yourself.
SecurityCenterService_INGEST_ONLY SecurityCenterService_EnablementState = 4
)func (SecurityCenterService_EnablementState) Descriptor
func (SecurityCenterService_EnablementState) Descriptor() protoreflect.EnumDescriptorfunc (SecurityCenterService_EnablementState) Enum
func (SecurityCenterService_EnablementState) EnumDescriptor
func (SecurityCenterService_EnablementState) EnumDescriptor() ([]byte, []int)Deprecated: Use SecurityCenterService_EnablementState.Descriptor instead.
func (SecurityCenterService_EnablementState) Number
func (x SecurityCenterService_EnablementState) Number() protoreflect.EnumNumberfunc (SecurityCenterService_EnablementState) String
func (x SecurityCenterService_EnablementState) String() stringfunc (SecurityCenterService_EnablementState) Type
func (SecurityCenterService_EnablementState) Type() protoreflect.EnumTypeSecurityCenterService_ModuleSettings
type SecurityCenterService_ModuleSettings struct {
// Optional. The intended enablement state for the module at its level of
// the resource hierarchy.
IntendedEnablementState SecurityCenterService_EnablementState `protobuf:"varint,1,opt,name=intended_enablement_state,json=intendedEnablementState,proto3,enum=google.cloud.securitycentermanagement.v1.SecurityCenterService_EnablementState" json:"intended_enablement_state,omitempty"`
// Output only. The effective enablement state for the module at its level
// of the resource hierarchy. If the intended state is set to `INHERITED`,
// the effective state will be inherited from the enablement state of an
// ancestor. This state may differ from the intended enablement state due to
// billing eligibility or onboarding status.
EffectiveEnablementState SecurityCenterService_EnablementState `protobuf:"varint,2,opt,name=effective_enablement_state,json=effectiveEnablementState,proto3,enum=google.cloud.securitycentermanagement.v1.SecurityCenterService_EnablementState" json:"effective_enablement_state,omitempty"`
// contains filtered or unexported fields
}The settings for individual modules.
func (*SecurityCenterService_ModuleSettings) Descriptor
func (*SecurityCenterService_ModuleSettings) Descriptor() ([]byte, []int)Deprecated: Use SecurityCenterService_ModuleSettings.ProtoReflect.Descriptor instead.
func (*SecurityCenterService_ModuleSettings) GetEffectiveEnablementState
func (x *SecurityCenterService_ModuleSettings) GetEffectiveEnablementState() SecurityCenterService_EnablementStatefunc (*SecurityCenterService_ModuleSettings) GetIntendedEnablementState
func (x *SecurityCenterService_ModuleSettings) GetIntendedEnablementState() SecurityCenterService_EnablementStatefunc (*SecurityCenterService_ModuleSettings) ProtoMessage
func (*SecurityCenterService_ModuleSettings) ProtoMessage()func (*SecurityCenterService_ModuleSettings) ProtoReflect
func (x *SecurityCenterService_ModuleSettings) ProtoReflect() protoreflect.Messagefunc (*SecurityCenterService_ModuleSettings) Reset
func (x *SecurityCenterService_ModuleSettings) Reset()func (*SecurityCenterService_ModuleSettings) String
func (x *SecurityCenterService_ModuleSettings) String() stringSecurityHealthAnalyticsCustomModule
type SecurityHealthAnalyticsCustomModule struct {
// Identifier. The full resource name of the custom module, in one of the
// following formats:
//
// * `organizations/{organization}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}`
// * `folders/{folder}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}`
// * `projects/{project}/locations/{location}/securityHealthAnalyticsCustomModules/{custom_module}`
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 `protobuf:"varint,3,opt,name=enablement_state,json=enablementState,proto3,enum=google.cloud.securitycentermanagement.v1.SecurityHealthAnalyticsCustomModule_EnablementState" json:"enablement_state,omitempty"`
// 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 descendant folders and projects.
func (*SecurityHealthAnalyticsCustomModule) Descriptor
func (*SecurityHealthAnalyticsCustomModule) Descriptor() ([]byte, []int)Deprecated: Use SecurityHealthAnalyticsCustomModule.ProtoReflect.Descriptor instead.
func (*SecurityHealthAnalyticsCustomModule) GetAncestorModule
func (x *SecurityHealthAnalyticsCustomModule) GetAncestorModule() stringfunc (*SecurityHealthAnalyticsCustomModule) GetCustomConfig
func (x *SecurityHealthAnalyticsCustomModule) GetCustomConfig() *CustomConfigfunc (*SecurityHealthAnalyticsCustomModule) GetDisplayName
func (x *SecurityHealthAnalyticsCustomModule) GetDisplayName() stringfunc (*SecurityHealthAnalyticsCustomModule) GetEnablementState
func (x *SecurityHealthAnalyticsCustomModule) GetEnablementState() SecurityHealthAnalyticsCustomModule_EnablementStatefunc (*SecurityHealthAnalyticsCustomModule) GetLastEditor
func (x *SecurityHealthAnalyticsCustomModule) GetLastEditor() stringfunc (*SecurityHealthAnalyticsCustomModule) GetName
func (x *SecurityHealthAnalyticsCustomModule) GetName() stringfunc (*SecurityHealthAnalyticsCustomModule) GetUpdateTime
func (x *SecurityHealthAnalyticsCustomModule) GetUpdateTime() *timestamppb.Timestampfunc (*SecurityHealthAnalyticsCustomModule) ProtoMessage
func (*SecurityHealthAnalyticsCustomModule) ProtoMessage()func (*SecurityHealthAnalyticsCustomModule) ProtoReflect
func (x *SecurityHealthAnalyticsCustomModule) ProtoReflect() protoreflect.Messagefunc (*SecurityHealthAnalyticsCustomModule) Reset
func (x *SecurityHealthAnalyticsCustomModule) Reset()func (*SecurityHealthAnalyticsCustomModule) String
func (x *SecurityHealthAnalyticsCustomModule) String() stringSecurityHealthAnalyticsCustomModule_EnablementState
type SecurityHealthAnalyticsCustomModule_EnablementState int32Possible enablement states of a custom module.
SecurityHealthAnalyticsCustomModule_ENABLEMENT_STATE_UNSPECIFIED, SecurityHealthAnalyticsCustomModule_ENABLED, SecurityHealthAnalyticsCustomModule_DISABLED, SecurityHealthAnalyticsCustomModule_INHERITED
const (
// Default value. This value is unused.
SecurityHealthAnalyticsCustomModule_ENABLEMENT_STATE_UNSPECIFIED SecurityHealthAnalyticsCustomModule_EnablementState = 0
// The module is enabled at the given organization, folder, or project.
SecurityHealthAnalyticsCustomModule_ENABLED SecurityHealthAnalyticsCustomModule_EnablementState = 1
// The module is disabled at the given organization, folder, or project.
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 resource hierarchy. If you try to set a top-level
// module (a module with no parent) to the `INHERITED` state, you receive an
// `INVALID_ARGUMENT` error.
SecurityHealthAnalyticsCustomModule_INHERITED SecurityHealthAnalyticsCustomModule_EnablementState = 3
)func (SecurityHealthAnalyticsCustomModule_EnablementState) Descriptor
func (SecurityHealthAnalyticsCustomModule_EnablementState) Descriptor() protoreflect.EnumDescriptorfunc (SecurityHealthAnalyticsCustomModule_EnablementState) Enum
func (x SecurityHealthAnalyticsCustomModule_EnablementState) Enum() *SecurityHealthAnalyticsCustomModule_EnablementStatefunc (SecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor
func (SecurityHealthAnalyticsCustomModule_EnablementState) EnumDescriptor() ([]byte, []int)Deprecated: Use SecurityHealthAnalyticsCustomModule_EnablementState.Descriptor instead.
func (SecurityHealthAnalyticsCustomModule_EnablementState) Number
func (x SecurityHealthAnalyticsCustomModule_EnablementState) Number() protoreflect.EnumNumberfunc (SecurityHealthAnalyticsCustomModule_EnablementState) String
func (x SecurityHealthAnalyticsCustomModule_EnablementState) String() stringfunc (SecurityHealthAnalyticsCustomModule_EnablementState) Type
SimulateSecurityHealthAnalyticsCustomModuleRequest
type SimulateSecurityHealthAnalyticsCustomModuleRequest struct {
// Required. The relative resource name of the organization, project, or
// folder. For more information about relative resource names, see [AIP-122:
// Resource names](https://google.aip.dev/122). 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 for [SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule]. The maximum size of the request is 4 MiB.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) Descriptor
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) GetCustomConfig
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetCustomConfig() *CustomConfigfunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest) GetParent
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetParent() stringfunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest) GetResource
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) GetResource() *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResourcefunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest) Reset
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) Reset()func (*SimulateSecurityHealthAnalyticsCustomModuleRequest) String
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest) String() stringSimulateSecurityHealthAnalyticsCustomModuleRequest_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.
//
// If the custom module evaluates only the IAM allow policy, then you can
// omit this field.
ResourceData *structpb.Struct `protobuf:"bytes,2,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"`
// Optional. A representation of the IAM allow policy.
//
// If the custom module evaluates only the resource data, then you can omit
// this field.
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 information about a resource.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Descriptor
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Descriptor() ([]byte, []int)Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetIamPolicyData
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetIamPolicyData() *iampb.Policyfunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceData
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceData() *structpb.Structfunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceType
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) GetResourceType() stringfunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoMessage
func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoMessage()func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoReflect
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) ProtoReflect() protoreflect.Messagefunc (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Reset
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) Reset()func (*SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) String
func (x *SimulateSecurityHealthAnalyticsCustomModuleRequest_SimulatedResource) String() stringSimulateSecurityHealthAnalyticsCustomModuleResponse
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 [SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule].
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) Descriptor
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) Descriptor() ([]byte, []int)Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleResponse.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) GetResult
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) GetResult() *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResultfunc (*SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoMessage
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoMessage()func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoReflect
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) ProtoReflect() protoreflect.Messagefunc (*SimulateSecurityHealthAnalyticsCustomModuleResponse) Reset
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) Reset()func (*SimulateSecurityHealthAnalyticsCustomModuleResponse) String
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse) String() stringSimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult
type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult struct {
// The result of the simulation.
//
// Types that are valid to be assigned 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
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Descriptor() ([]byte, []int)Deprecated: Use SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult.ProtoReflect.Descriptor instead.
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetError
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetError() *status.Statusfunc (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetFinding
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetFinding() *SimulatedFindingfunc (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetNoViolation
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetNoViolation() *emptypb.Emptyfunc (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetResult
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) GetResult() isSimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Resultfunc (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoMessage
func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoMessage()func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoReflect
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) ProtoReflect() protoreflect.Messagefunc (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Reset
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) Reset()func (*SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) String
func (x *SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult) String() stringSimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Error
type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_Error struct {
// Error encountered during the test.
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}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"`
}SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_NoViolation
type SimulateSecurityHealthAnalyticsCustomModuleResponse_SimulatedResult_NoViolation struct {
// Indicates that the test case does not trigger any violation.
NoViolation *emptypb.Empty `protobuf:"bytes,2,opt,name=no_violation,json=noViolation,proto3,oneof"`
}SimulatedFinding
type SimulatedFinding struct {
// Identifier. The [relative resource name](https://google.aip.dev/122) of the
// finding, in one of the following formats:
//
// * `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](https://google.aip.dev/122) of the source the
// finding belongs to. For example,
// `organizations/{organization_id}/sources/{source_id}`. This field is
// immutable after creation time.
Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
// For findings on Google Cloud resources, the
// [full resource name](https://google.aip.dev/122#full-resource-names) of the
// Google Cloud resource this finding is for. When the finding is for a
// non-Google Cloud resource, the value 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. For
// example, `XSS_FLASH_INJECTION`. This field is immutable after creation
// time.
Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
// Output only. The state of the finding.
State SimulatedFinding_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.securitycentermanagement.v1.SimulatedFinding_State" json:"state,omitempty"`
// Source-specific properties. These properties are managed by the source
// that writes the finding. The key names must be between 1 and 255
// characters; they must start with a letter and contain alphanumeric
// characters or underscores only.
SourceProperties map[string]*structpb.Value `protobuf:"bytes,6,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// The time the finding was first detected. If an existing finding is updated,
// then this is the time the update occurred. If the finding is later
// resolved, then this time reflects when the finding was resolved.
//
// 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.
//
// The event time 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 `protobuf:"varint,8,opt,name=severity,proto3,enum=google.cloud.securitycentermanagement.v1.SimulatedFinding_Severity" json:"severity,omitempty"`
// The class of the finding.
FindingClass SimulatedFinding_FindingClass `protobuf:"varint,9,opt,name=finding_class,json=findingClass,proto3,enum=google.cloud.securitycentermanagement.v1.SimulatedFinding_FindingClass" json:"finding_class,omitempty"`
// contains filtered or unexported fields
}The minimum set of fields needed to represent a simulated finding from a Security Health Analytics custom module.
func (*SimulatedFinding) Descriptor
func (*SimulatedFinding) Descriptor() ([]byte, []int)Deprecated: Use SimulatedFinding.ProtoReflect.Descriptor instead.
func (*SimulatedFinding) GetCategory
func (x *SimulatedFinding) GetCategory() stringfunc (*SimulatedFinding) GetEventTime
func (x *SimulatedFinding) GetEventTime() *timestamppb.Timestampfunc (*SimulatedFinding) GetFindingClass
func (x *SimulatedFinding) GetFindingClass() SimulatedFinding_FindingClassfunc (*SimulatedFinding) GetName
func (x *SimulatedFinding) GetName() stringfunc (*SimulatedFinding) GetParent
func (x *SimulatedFinding) GetParent() stringfunc (*SimulatedFinding) GetResourceName
func (x *SimulatedFinding) GetResourceName() stringfunc (*SimulatedFinding) GetSeverity
func (x *SimulatedFinding) GetSeverity() SimulatedFinding_Severityfunc (*SimulatedFinding) GetSourceProperties
func (x *SimulatedFinding) GetSourceProperties() map[string]*structpb.Valuefunc (*SimulatedFinding) GetState
func (x *SimulatedFinding) GetState() SimulatedFinding_Statefunc (*SimulatedFinding) ProtoMessage
func (*SimulatedFinding) ProtoMessage()func (*SimulatedFinding) ProtoReflect
func (x *SimulatedFinding) ProtoReflect() protoreflect.Messagefunc (*SimulatedFinding) Reset
func (x *SimulatedFinding) Reset()func (*SimulatedFinding) String
func (x *SimulatedFinding) String() stringSimulatedFinding_FindingClass
type SimulatedFinding_FindingClass int32Represents what kind of finding it is.
SimulatedFinding_FINDING_CLASS_UNSPECIFIED, SimulatedFinding_THREAT, SimulatedFinding_VULNERABILITY, SimulatedFinding_MISCONFIGURATION, SimulatedFinding_OBSERVATION, SimulatedFinding_SCC_ERROR, SimulatedFinding_POSTURE_VIOLATION, SimulatedFinding_TOXIC_COMBINATION
const (
// Default value. This value is unused.
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, and availability.
SimulatedFinding_VULNERABILITY SimulatedFinding_FindingClass = 2
// Describes a potential weakness in cloud resource or 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 Security Command Center from working
// correctly.
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
// Describes a combination of security issues that represent a more severe
// security problem when taken together.
SimulatedFinding_TOXIC_COMBINATION SimulatedFinding_FindingClass = 7
)func (SimulatedFinding_FindingClass) Descriptor
func (SimulatedFinding_FindingClass) Descriptor() protoreflect.EnumDescriptorfunc (SimulatedFinding_FindingClass) Enum
func (x SimulatedFinding_FindingClass) Enum() *SimulatedFinding_FindingClassfunc (SimulatedFinding_FindingClass) EnumDescriptor
func (SimulatedFinding_FindingClass) EnumDescriptor() ([]byte, []int)Deprecated: Use SimulatedFinding_FindingClass.Descriptor instead.
func (SimulatedFinding_FindingClass) Number
func (x SimulatedFinding_FindingClass) Number() protoreflect.EnumNumberfunc (SimulatedFinding_FindingClass) String
func (x SimulatedFinding_FindingClass) String() stringfunc (SimulatedFinding_FindingClass) Type
func (SimulatedFinding_FindingClass) Type() protoreflect.EnumTypeSimulatedFinding_Severity
type SimulatedFinding_Severity int32The severity of the finding.
SimulatedFinding_SEVERITY_UNSPECIFIED, SimulatedFinding_CRITICAL, SimulatedFinding_HIGH, SimulatedFinding_MEDIUM, SimulatedFinding_LOW
const (
// Default value. This value is unused.
SimulatedFinding_SEVERITY_UNSPECIFIED SimulatedFinding_Severity = 0
// For vulnerabilities: 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.
//
// For threats: Indicates a threat that is able to access, modify, or delete
// data or execute unauthorized code within existing resources.
SimulatedFinding_CRITICAL SimulatedFinding_Severity = 1
// For vulnerabilities: 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.
//
// For threats: 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
// For vulnerabilities: 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.
//
// For threats: Indicates a threat that is able to cause operational impact
// but may not access data or execute unauthorized code.
SimulatedFinding_MEDIUM SimulatedFinding_Severity = 3
// For vulnerabilities: 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.
//
// For threats: 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.EnumDescriptorfunc (SimulatedFinding_Severity) Enum
func (x SimulatedFinding_Severity) Enum() *SimulatedFinding_Severityfunc (SimulatedFinding_Severity) EnumDescriptor
func (SimulatedFinding_Severity) EnumDescriptor() ([]byte, []int)Deprecated: Use SimulatedFinding_Severity.Descriptor instead.
func (SimulatedFinding_Severity) Number
func (x SimulatedFinding_Severity) Number() protoreflect.EnumNumberfunc (SimulatedFinding_Severity) String
func (x SimulatedFinding_Severity) String() stringfunc (SimulatedFinding_Severity) Type
func (SimulatedFinding_Severity) Type() protoreflect.EnumTypeSimulatedFinding_State
type SimulatedFinding_State int32The state of the finding.
SimulatedFinding_STATE_UNSPECIFIED, SimulatedFinding_ACTIVE, SimulatedFinding_INACTIVE
const (
// Default value. This value is unused.
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.EnumDescriptorfunc (SimulatedFinding_State) Enum
func (x SimulatedFinding_State) Enum() *SimulatedFinding_Statefunc (SimulatedFinding_State) EnumDescriptor
func (SimulatedFinding_State) EnumDescriptor() ([]byte, []int)Deprecated: Use SimulatedFinding_State.Descriptor instead.
func (SimulatedFinding_State) Number
func (x SimulatedFinding_State) Number() protoreflect.EnumNumberfunc (SimulatedFinding_State) String
func (x SimulatedFinding_State) String() stringfunc (SimulatedFinding_State) Type
func (SimulatedFinding_State) Type() protoreflect.EnumTypeUnimplementedSecurityCenterManagementServer
type UnimplementedSecurityCenterManagementServer struct {
}UnimplementedSecurityCenterManagementServer should 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) GetSecurityCenterService
func (UnimplementedSecurityCenterManagementServer) GetSecurityCenterService(context.Context, *GetSecurityCenterServiceRequest) (*SecurityCenterService, 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) ListSecurityCenterServices
func (UnimplementedSecurityCenterManagementServer) ListSecurityCenterServices(context.Context, *ListSecurityCenterServicesRequest) (*ListSecurityCenterServicesResponse, 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) UpdateSecurityCenterService
func (UnimplementedSecurityCenterManagementServer) UpdateSecurityCenterService(context.Context, *UpdateSecurityCenterServiceRequest) (*SecurityCenterService, error)func (UnimplementedSecurityCenterManagementServer) UpdateSecurityHealthAnalyticsCustomModule
func (UnimplementedSecurityCenterManagementServer) UpdateSecurityHealthAnalyticsCustomModule(context.Context, *UpdateSecurityHealthAnalyticsCustomModuleRequest) (*SecurityHealthAnalyticsCustomModule, error)func (UnimplementedSecurityCenterManagementServer) ValidateEventThreatDetectionCustomModule
func (UnimplementedSecurityCenterManagementServer) ValidateEventThreatDetectionCustomModule(context.Context, *ValidateEventThreatDetectionCustomModuleRequest) (*ValidateEventThreatDetectionCustomModuleResponse, error)UnsafeSecurityCenterManagementServer
type UnsafeSecurityCenterManagementServer interface {
// contains filtered or unexported methods
}UnsafeSecurityCenterManagementServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecurityCenterManagementServer will result in compilation errors.
UpdateEventThreatDetectionCustomModuleRequest
type UpdateEventThreatDetectionCustomModuleRequest struct {
// Required. The fields to update. If omitted, then all fields are updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The module being updated.
EventThreatDetectionCustomModule *EventThreatDetectionCustomModule `protobuf:"bytes,2,opt,name=event_threat_detection_custom_module,json=eventThreatDetectionCustomModule,proto3" json:"event_threat_detection_custom_module,omitempty"`
// Optional. When set to `true`, the request will be validated (including IAM
// checks), but no module will be updated. An `OK` response indicates that the
// request is valid, while an error response indicates that the request is
// invalid.
//
// If the request is valid, a subsequent request to update the module could
// still fail for one of the following reasons:
//
// - The state of your cloud resources changed; for example, you lost a
// required IAM permission
// - An error 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 updating a EventThreatDetectionCustomModule
func (*UpdateEventThreatDetectionCustomModuleRequest) Descriptor
func (*UpdateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule
func (x *UpdateEventThreatDetectionCustomModuleRequest) GetEventThreatDetectionCustomModule() *EventThreatDetectionCustomModulefunc (*UpdateEventThreatDetectionCustomModuleRequest) GetUpdateMask
func (x *UpdateEventThreatDetectionCustomModuleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateEventThreatDetectionCustomModuleRequest) GetValidateOnly
func (x *UpdateEventThreatDetectionCustomModuleRequest) GetValidateOnly() boolfunc (*UpdateEventThreatDetectionCustomModuleRequest) ProtoMessage
func (*UpdateEventThreatDetectionCustomModuleRequest) ProtoMessage()func (*UpdateEventThreatDetectionCustomModuleRequest) ProtoReflect
func (x *UpdateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateEventThreatDetectionCustomModuleRequest) Reset
func (x *UpdateEventThreatDetectionCustomModuleRequest) Reset()func (*UpdateEventThreatDetectionCustomModuleRequest) String
func (x *UpdateEventThreatDetectionCustomModuleRequest) String() stringUpdateSecurityCenterServiceRequest
type UpdateSecurityCenterServiceRequest struct {
// Required. The updated service.
SecurityCenterService *SecurityCenterService `protobuf:"bytes,1,opt,name=security_center_service,json=securityCenterService,proto3" json:"security_center_service,omitempty"`
// Required. The fields to update. Accepts the following values:
//
// * `intended_enablement_state`
// * `modules`
//
// If omitted, then all eligible fields are updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. When set to `true`, the request will be validated (including IAM
// checks), but no service will be updated. An `OK` response indicates that
// the request is valid, while an error response indicates that the request is
// invalid.
//
// If the request is valid, a subsequent request to update the service could
// still fail for one of the following reasons:
//
// - The state of your cloud resources changed; for example, you lost a
// required IAM permission
// - An error occurred during update of the service
//
// Defaults to `false`.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.UpdateSecurityCenterService][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityCenterService].
func (*UpdateSecurityCenterServiceRequest) Descriptor
func (*UpdateSecurityCenterServiceRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSecurityCenterServiceRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecurityCenterServiceRequest) GetSecurityCenterService
func (x *UpdateSecurityCenterServiceRequest) GetSecurityCenterService() *SecurityCenterServicefunc (*UpdateSecurityCenterServiceRequest) GetUpdateMask
func (x *UpdateSecurityCenterServiceRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSecurityCenterServiceRequest) GetValidateOnly
func (x *UpdateSecurityCenterServiceRequest) GetValidateOnly() boolfunc (*UpdateSecurityCenterServiceRequest) ProtoMessage
func (*UpdateSecurityCenterServiceRequest) ProtoMessage()func (*UpdateSecurityCenterServiceRequest) ProtoReflect
func (x *UpdateSecurityCenterServiceRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSecurityCenterServiceRequest) Reset
func (x *UpdateSecurityCenterServiceRequest) Reset()func (*UpdateSecurityCenterServiceRequest) String
func (x *UpdateSecurityCenterServiceRequest) String() stringUpdateSecurityHealthAnalyticsCustomModuleRequest
type UpdateSecurityHealthAnalyticsCustomModuleRequest struct {
// Required. The fields to update. The following values are valid:
//
// * `custom_config`
// * `enablement_state`
//
// If you omit this field or set it to the wildcard value `*`, then all
// eligible fields 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 `protobuf:"bytes,2,opt,name=security_health_analytics_custom_module,json=securityHealthAnalyticsCustomModule,proto3" json:"security_health_analytics_custom_module,omitempty"`
// Optional. When set to `true`, the request will be validated (including IAM
// checks), but no module will be updated. An `OK` response indicates that the
// request is valid, while an error response indicates that the request is
// invalid.
//
// If the request is valid, a subsequent request to update the module could
// still fail for one of the following reasons:
//
// - The state of your cloud resources changed; for example, you lost a
// required IAM permission
// - An error 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
}Request message for [SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule].
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) Descriptor
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSecurityHealthAnalyticsCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetSecurityHealthAnalyticsCustomModule() *SecurityHealthAnalyticsCustomModulefunc (*UpdateSecurityHealthAnalyticsCustomModuleRequest) GetUpdateMask
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) GetValidateOnly() boolfunc (*UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage
func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoMessage()func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSecurityHealthAnalyticsCustomModuleRequest) Reset
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) Reset()func (*UpdateSecurityHealthAnalyticsCustomModuleRequest) String
func (x *UpdateSecurityHealthAnalyticsCustomModuleRequest) String() stringValidateEventThreatDetectionCustomModuleRequest
type ValidateEventThreatDetectionCustomModuleRequest struct {
// Required. Resource name of the parent to validate the custom modules under,
// in one of the following formats:
//
// * `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. For example, `CONFIGURABLE_BAD_IP`.
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}Request message for [SecurityCenterManagement.ValidateEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ValidateEventThreatDetectionCustomModule].
func (*ValidateEventThreatDetectionCustomModuleRequest) Descriptor
func (*ValidateEventThreatDetectionCustomModuleRequest) Descriptor() ([]byte, []int)Deprecated: Use ValidateEventThreatDetectionCustomModuleRequest.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleRequest) GetParent
func (x *ValidateEventThreatDetectionCustomModuleRequest) GetParent() stringfunc (*ValidateEventThreatDetectionCustomModuleRequest) GetRawText
func (x *ValidateEventThreatDetectionCustomModuleRequest) GetRawText() stringfunc (*ValidateEventThreatDetectionCustomModuleRequest) GetType
func (x *ValidateEventThreatDetectionCustomModuleRequest) GetType() stringfunc (*ValidateEventThreatDetectionCustomModuleRequest) ProtoMessage
func (*ValidateEventThreatDetectionCustomModuleRequest) ProtoMessage()func (*ValidateEventThreatDetectionCustomModuleRequest) ProtoReflect
func (x *ValidateEventThreatDetectionCustomModuleRequest) ProtoReflect() protoreflect.Messagefunc (*ValidateEventThreatDetectionCustomModuleRequest) Reset
func (x *ValidateEventThreatDetectionCustomModuleRequest) Reset()func (*ValidateEventThreatDetectionCustomModuleRequest) String
func (x *ValidateEventThreatDetectionCustomModuleRequest) String() stringValidateEventThreatDetectionCustomModuleResponse
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 message for [SecurityCenterManagement.ValidateEventThreatDetectionCustomModule][google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ValidateEventThreatDetectionCustomModule].
func (*ValidateEventThreatDetectionCustomModuleResponse) Descriptor
func (*ValidateEventThreatDetectionCustomModuleResponse) Descriptor() ([]byte, []int)Deprecated: Use ValidateEventThreatDetectionCustomModuleResponse.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleResponse) GetErrors
func (x *ValidateEventThreatDetectionCustomModuleResponse) GetErrors() []*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationErrorfunc (*ValidateEventThreatDetectionCustomModuleResponse) ProtoMessage
func (*ValidateEventThreatDetectionCustomModuleResponse) ProtoMessage()func (*ValidateEventThreatDetectionCustomModuleResponse) ProtoReflect
func (x *ValidateEventThreatDetectionCustomModuleResponse) ProtoReflect() protoreflect.Messagefunc (*ValidateEventThreatDetectionCustomModuleResponse) Reset
func (x *ValidateEventThreatDetectionCustomModuleResponse) Reset()func (*ValidateEventThreatDetectionCustomModuleResponse) String
func (x *ValidateEventThreatDetectionCustomModuleResponse) String() stringValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError
type ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError struct {
// A human-readable description of the error.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// The path, in [RFC 6901: JSON
// Pointer](https://datatracker.ietf.org/doc/html/rfc6901) format, to the
// field that failed validation. Omitted 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. Omitted if no specific position applies, or if the position 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.
// Omitted if no specific position applies, or if the position 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
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) Descriptor() ([]byte, []int)Deprecated: Use ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetDescription
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetDescription() stringfunc (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetEnd
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetEnd() *ValidateEventThreatDetectionCustomModuleResponse_Positionfunc (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetFieldPath
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetFieldPath() stringfunc (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetStart
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) GetStart() *ValidateEventThreatDetectionCustomModuleResponse_Positionfunc (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoMessage
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoMessage()func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoReflect
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) ProtoReflect() protoreflect.Messagefunc (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) Reset
func (*ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) String
func (x *ValidateEventThreatDetectionCustomModuleResponse_CustomModuleValidationError) String() stringValidateEventThreatDetectionCustomModuleResponse_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
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) Descriptor() ([]byte, []int)Deprecated: Use ValidateEventThreatDetectionCustomModuleResponse_Position.ProtoReflect.Descriptor instead.
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) GetColumnNumber
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) GetColumnNumber() int32func (*ValidateEventThreatDetectionCustomModuleResponse_Position) GetLineNumber
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) GetLineNumber() int32func (*ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoMessage
func (*ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoMessage()func (*ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoReflect
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) ProtoReflect() protoreflect.Messagefunc (*ValidateEventThreatDetectionCustomModuleResponse_Position) Reset
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) Reset()func (*ValidateEventThreatDetectionCustomModuleResponse_Position) String
func (x *ValidateEventThreatDetectionCustomModuleResponse_Position) String() string