Security Center Management V1 API - Class Google::Cloud::SecurityCenterManagement::V1::CustomConfig (v0.2.0)

Reference documentation and code samples for the Security Center Management V1 API class Google::Cloud::SecurityCenterManagement::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::SecurityCenterManagement::V1::CustomConfig::CustomOutputSpec
Returns

#custom_output=

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

#description

def description() -> ::String
Returns
  • (::String) — 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=

def description=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#predicate

def predicate() -> ::Google::Type::Expr
Returns
  • (::Google::Type::Expr) — Optional. 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) — Optional. 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) — Optional. 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) — Optional. An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the nextSteps property of the finding JSON.

#recommendation=

def recommendation=(value) -> ::String
Parameter
  • value (::String) — Optional. An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the nextSteps property of the finding JSON.
Returns
  • (::String) — Optional. An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the nextSteps property of the finding JSON.

#resource_selector

def resource_selector() -> ::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::ResourceSelector
Returns

#resource_selector=

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

#severity

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

#severity=

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