View Source GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV1CustomConfig (google_api_security_center v0.29.0)

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.

Attributes

  • customOutput (type: GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV1CustomOutputSpec.t, default: nil) - Custom output properties.
  • description (type: String.t, default: nil) - 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 (type: GoogleApi.SecurityCenter.V1.Model.Expr.t, default: nil) - The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.
  • recommendation (type: String.t, default: nil) - 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.
  • resourceSelector (type: GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV1ResourceSelector.t, default: nil) - The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.
  • severity (type: String.t, default: nil) - The severity to assign to findings generated by the module.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV1CustomConfig{
    customOutput:
      GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV1CustomOutputSpec.t()
      | nil,
    description: String.t() | nil,
    predicate: GoogleApi.SecurityCenter.V1.Model.Expr.t() | nil,
    recommendation: String.t() | nil,
    resourceSelector:
      GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV1ResourceSelector.t()
      | nil,
    severity: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.