Resource: MuteConfig
A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
JSON representation |
---|
{
"name": string,
"description": string,
"filter": string,
"createTime": string,
"updateTime": string,
"mostRecentEditor": string,
"type": enum ( |
Fields | |
---|---|
name |
Identifier. This field will be ignored if provided on config creation. The following list shows some examples of the format:
|
description |
A description of the mute config. |
filter |
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:
|
create |
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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
most |
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. |
type |
Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation. |
expiry |
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. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Creates a mute config. |
|
Deletes an existing mute config. |
|
Gets a mute config. |
|
Lists mute configs. |
|
Updates a mute config. |