gcloud scc findings set-mute

NAME
gcloud scc findings set-mute - update a Security Command Center finding's mute state
SYNOPSIS
gcloud scc findings set-muteFINDING--mute=MUTE[--location=LOCATION; default="global"][--source=SOURCE][--folder=FOLDER    |--organization=ORGANIZATION    |--project=PROJECT][GCLOUD_WIDE_FLAG]
DESCRIPTION
Update a Security Command Center finding's mute state.
EXAMPLES
To update finding's mute state toMUTED,given findingorganizations/123/sources/456/findings/789, run:
gcloudsccfindingsset-mute789--organization=organizations/123--source=456--mute=MUTED

To update finding's mute state toUNMUTED,given findingorganizations/123/sources/456/findings/789, run:

gcloudsccfindingsset-mute789--organization=organizations/123--source=456--mute=UNMUTED

To update finding's mute state toMUTED,given findingfolders/123/sources/456/findings/789, run:

gcloudsccfindingsset-mute789--folder=folders/123--source=456--mute=MUTED

To update finding's mute state toMUTED,given findingprojects/123/sources/456/findings/789, run:

gcloudsccfindingsset-mute789--project=projects/123--source=456--mute=MUTED

To update finding's mute state toMUTED,given findingorganizations/123/sources/456/findings/789 andlocation=eu, run:

gcloudsccfindingsset-mute789--organization=organizations/123--source=456--mute=MUTED--location=locations/eu
POSITIONAL ARGUMENTS
FINDING
ID of the finding or the full resource name of the finding.
REQUIRED FLAGS
--mute=MUTE
Desired mute state of the finding.MUTE must be one of:muted,unmuted,undefined.
OPTIONAL FLAGS
--location=LOCATION; default="global"
When data residency controls are enabled, this attribute specifies the locationin which the resource is located and applicable. Thelocationattribute can be provided as part of the fully specified resource name or withthe--location argument on the command line. The default locationisglobal.

NOTE: If you override the endpoint to aregionalendpoint you must specify the correctdatalocation using this flag. The default location on this command is unrelatedto the default location that is specified when data residency controls areenabled for Security Command Center.

NOTE: If no location is specified, the default location isglobalAND the request will be routed to the SCC V1 API. To use the SCC V2 API - pleaseexplicitly specify the flag.

--source=SOURCE
ID of the source.
At most one of these can be specified:
--folder=FOLDER
Folder where the finding resides. Formatted asfolders/456 or just456.
--organization=ORGANIZATION
Organization where the finding resides. Formatted asorganizations/123 or just123.
--project=PROJECT
Project (id or number) where the finding resides. Formatted asprojects/789 or just789.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

API REFERENCE
This command uses the Security Command Center API. For more information, seeSecurityCommand Center API.
NOTES
This variant is also available:
gcloudalphasccfindingsset-mute

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-21 UTC.