Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::CustomConfig (v1.3.0)

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

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#custom_output

def custom_output() -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec

#custom_output=

def custom_output=(value) -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::CustomOutputSpec
Parameter

#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

#resource_selector=

def resource_selector=(value) -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::ResourceSelector
Parameter
Returns

#severity

def severity() -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::Severity
Returns

#severity=

def severity=(value) -> ::Google::Cloud::SecurityCenter::V1::CustomConfig::Severity
Parameter
Returns