GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2MuteConfig (google_api_security_center v0.39.0)

View Source

A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
  • description (type: String.t, default: nil) - A description of the mute config.
  • expiryTime (type: DateTime.t, default: nil) - Optional. The expiry of the mute config. Only applicable for dynamic configs. If the expiry is set, when the config expires, it is removed from all findings.
  • filter (type: String.t, default: nil) - Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: severity: =, : category: =, : resource.name: =, : resource.project_name: =, : resource.project_display_name: =, : resource.folders.resource_folder: =, : resource.parent_name: =, : resource.parent_display_name: =, : resource.type: =, : finding_class: =, : indicator.ip_addresses: =, : indicator.domains: =, :
  • mostRecentEditor (type: String.t, default: nil) - Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.
  • name (type: String.t, default: nil) - Identifier. This field will be ignored if provided on config creation. The following list shows some examples of the format: + organizations/{organization}/muteConfigs/{mute_config} + organizations/{organization}locations/{location}//muteConfigs/{mute_config} + folders/{folder}/muteConfigs/{mute_config} + folders/{folder}/locations/{location}/muteConfigs/{mute_config} + projects/{project}/muteConfigs/{mute_config} + projects/{project}/locations/{location}/muteConfigs/{mute_config}
  • type (type: String.t, default: nil) - Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.
  • updateTime (type: DateTime.t, default: nil) - Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2MuteConfig{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  expiryTime: DateTime.t() | nil,
  filter: String.t() | nil,
  mostRecentEditor: String.t() | nil,
  name: String.t() | nil,
  type: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.