Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::CustomConfig.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_output
def custom_output() -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec
Returns
- (::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec) — Custom output properties.
#custom_output=
def custom_output=(value) -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec
Parameter
- value (::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec) — Custom output properties.
Returns
- (::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec) — Custom output properties.
#description
def description() -> ::String
Returns
- (::String) — 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=
def description=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#predicate
def predicate() -> ::Google::Type::Expr
Returns
- (::Google::Type::Expr) — The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.
#predicate=
def predicate=(value) -> ::Google::Type::Expr
Parameter
- value (::Google::Type::Expr) — The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.
Returns
- (::Google::Type::Expr) — The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.
#recommendation
def recommendation() -> ::String
Returns
-
(::String) — An explanation of the recommended steps that security teams can take to
resolve the detected issue. This explanation is returned with each finding
generated by this module in the
nextSteps
property of the finding JSON.
#recommendation=
def recommendation=(value) -> ::String
Parameter
-
value (::String) — An explanation of the recommended steps that security teams can take to
resolve the detected issue. This explanation is returned with each finding
generated by this module in the
nextSteps
property of the finding JSON.
Returns
-
(::String) — An explanation of the recommended steps that security teams can take to
resolve the detected issue. This explanation is returned with each finding
generated by this module in the
nextSteps
property of the finding JSON.
#resource_selector
def resource_selector() -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::ResourceSelector
Returns
- (::Google::Cloud::SecurityCenter::V1::CustomConfig::ResourceSelector) — The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.
#resource_selector=
def resource_selector=(value) -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::ResourceSelector
Parameter
- value (::Google::Cloud::SecurityCenter::V1::CustomConfig::ResourceSelector) — The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.
Returns
- (::Google::Cloud::SecurityCenter::V1::CustomConfig::ResourceSelector) — The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.
#severity
def severity() -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::Severity
Returns
- (::Google::Cloud::SecurityCenter::V1::CustomConfig::Severity) — The severity to assign to findings generated by the module.
#severity=
def severity=(value) -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::Severity
Parameter
- value (::Google::Cloud::SecurityCenter::V1::CustomConfig::Severity) — The severity to assign to findings generated by the module.
Returns
- (::Google::Cloud::SecurityCenter::V1::CustomConfig::Severity) — The severity to assign to findings generated by the module.