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
- (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::CustomOutputSpec) — Optional. Custom output properties.
#custom_output=
def custom_output=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::CustomOutputSpec
Parameter
- value (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::CustomOutputSpec) — Optional. Custom output properties.
Returns
- (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::CustomOutputSpec) — Optional. Custom output properties.
#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
- (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::ResourceSelector) — Optional. The Cloud Asset Inventory resource types that the custom module operates on. For information about resource types, see Supported asset types. Each custom module can specify up to 5 resource types.
#resource_selector=
def resource_selector=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::ResourceSelector
Parameter
- value (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::ResourceSelector) — Optional. The Cloud Asset Inventory resource types that the custom module operates on. For information about resource types, see Supported asset types. Each custom module can specify up to 5 resource types.
Returns
- (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::ResourceSelector) — Optional. The Cloud Asset Inventory resource types that the custom module operates on. For information about resource types, see Supported asset types. Each custom module can specify up to 5 resource types.
#severity
def severity() -> ::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::Severity
Returns
- (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::Severity) — Optional. The severity to assign to findings generated by the module.
#severity=
def severity=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::Severity
Parameter
- value (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::Severity) — Optional. The severity to assign to findings generated by the module.
Returns
- (::Google::Cloud::SecurityCenterManagement::V1::CustomConfig::Severity) — Optional. The severity to assign to findings generated by the module.