public sealed class MuteConfig : IMessage<MuteConfig>, IEquatable<MuteConfig>, IDeepCloneable<MuteConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1 API class MuteConfig.
A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.
Implements
IMessageMuteConfig, IEquatableMuteConfig, IDeepCloneableMuteConfig, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V1Assembly
Google.Cloud.SecurityCenter.V1.dll
Constructors
MuteConfig()
public MuteConfig()
MuteConfig(MuteConfig)
public MuteConfig(MuteConfig other)
Parameter | |
---|---|
Name | Description |
other |
MuteConfig |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
A description of the mute config.
Property Value | |
---|---|
Type | Description |
string |
DisplayName
[Obsolete]
public string DisplayName { get; set; }
The human readable name to be displayed for the mute config.
Property Value | |
---|---|
Type | Description |
string |
ExpiryTime
public Timestamp ExpiryTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
Filter
public string Filter { get; set; }
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:
=
,:
Property Value | |
---|---|
Type | Description |
string |
MostRecentEditor
public string MostRecentEditor { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
MuteConfigName
public MuteConfigName MuteConfigName { get; set; }
MuteConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
MuteConfigName |
Name
public string Name { get; set; }
This field will be ignored if provided on config creation. Format
organizations/{organization}/muteConfigs/{mute_config}
folders/{folder}/muteConfigs/{mute_config}
projects/{project}/muteConfigs/{mute_config}
organizations/{organization}/locations/global/muteConfigs/{mute_config}
folders/{folder}/locations/global/muteConfigs/{mute_config}
projects/{project}/locations/global/muteConfigs/{mute_config}
Property Value | |
---|---|
Type | Description |
string |
Type
public MuteConfig.Types.MuteConfigType Type { get; set; }
Optional. The type of the mute config, which determines what type of mute state the config affects. The static mute state takes precedence over the dynamic mute state. Immutable after creation. STATIC by default if not set during creation.
Property Value | |
---|---|
Type | Description |
MuteConfigTypesMuteConfigType |
UpdateTime
public Timestamp UpdateTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |