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.
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:
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eMuteConfig is a resource in the Security Command Center v2 API used to configure the muting of finding creation/update events.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilter\u003c/code\u003e property is required and defines the criteria for which finding events are to be muted, supporting various field and operator combinations.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of a MuteConfig include \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eExpiryTime\u003c/code\u003e, \u003ccode\u003eMostRecentEditor\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, which track the configuration's lifecycle and modifications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eType\u003c/code\u003e property determines the type of mute state the config affects, which is immutable once it is created.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class MuteConfig (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.MuteConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.MuteConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.MuteConfig) \n\n public sealed class MuteConfig : IMessage\u003cMuteConfig\u003e, IEquatable\u003cMuteConfig\u003e, IDeepCloneable\u003cMuteConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class MuteConfig.\n\nA mute config is a Cloud SCC resource that contains the configuration\nto mute create/update events of findings. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e MuteConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MuteConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.MuteConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MuteConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.MuteConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MuteConfig](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.MuteConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### MuteConfig()\n\n public MuteConfig()\n\n### MuteConfig(MuteConfig)\n\n public MuteConfig(MuteConfig other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time at which the mute config was created.\nThis field is set by the server and will be ignored if provided on config\ncreation.\n\n### Description\n\n public string Description { get; set; }\n\nA description of the mute config.\n\n### ExpiryTime\n\n public Timestamp ExpiryTime { get; set; }\n\nOptional. The expiry of the mute config. Only applicable for dynamic\nconfigs. If the expiry is set, when the config expires, it is removed from\nall findings.\n\n### Filter\n\n public string Filter { get; set; }\n\nRequired. An expression that defines the filter to apply across\ncreate/update events of findings. While creating a filter string, be\nmindful of the scope in which the mute configuration is being created.\nE.g., If a filter contains project = X but is created under the project = Y\nscope, it might not match any findings.\n\nThe following field and operator combinations are supported:\n\n- severity: `=`, `:`\n- category: `=`, `:`\n- resource.name: `=`, `:`\n- resource.project_name: `=`, `:`\n- resource.project_display_name: `=`, `:`\n- resource.folders.resource_folder: `=`, `:`\n- resource.parent_name: `=`, `:`\n- resource.parent_display_name: `=`, `:`\n- resource.type: `=`, `:`\n- finding_class: `=`, `:`\n- indicator.ip_addresses: `=`, `:`\n- indicator.domains: `=`, `:`\n\n### MostRecentEditor\n\n public string MostRecentEditor { get; set; }\n\nOutput only. Email address of the user who last edited the mute config.\nThis field is set by the server and will be ignored if provided on config\ncreation or update.\n\n### MuteConfigName\n\n public MuteConfigName MuteConfigName { get; set; }\n\n[MuteConfigName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.MuteConfigName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.MuteConfig#Google_Cloud_SecurityCenter_V2_MuteConfig_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. This field will be ignored if provided on config creation. The\nfollowing list shows some examples of the format:\n\n- `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}`\n- `folders/{folder}/muteConfigs/{mute_config}`\n- `folders/{folder}/locations/{location}/muteConfigs/{mute_config}`\n- `projects/{project}/muteConfigs/{mute_config}`\n- `projects/{project}/locations/{location}/muteConfigs/{mute_config}`\n\n### Type\n\n public MuteConfig.Types.MuteConfigType Type { get; set; }\n\nRequired. The type of the mute config, which determines what type of mute\nstate the config affects. Immutable after creation.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The most recent time at which the mute config was updated.\nThis field is set by the server and will be ignored if provided on config\ncreation or update."]]