File: //snap/google-cloud-cli/current/help/man/man1/gcloud_scc_findings_set-mute.1
.TH "GCLOUD_SCC_FINDINGS_SET\-MUTE" 1
.SH "NAME"
.HP
gcloud scc findings set\-mute \- update a Security Command Center finding's mute state
.SH "SYNOPSIS"
.HP
\f5gcloud scc findings set\-mute\fR \fIFINDING\fR \fB\-\-mute\fR=\fIMUTE\fR [\fB\-\-location\fR=\fILOCATION\fR;\ default="global"] [\fB\-\-source\fR=\fISOURCE\fR] [\fB\-\-folder\fR=\fIFOLDER\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION\fR\ |\ \fB\-\-project\fR=\fIPROJECT\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Update a Security Command Center finding's mute state.
.SH "EXAMPLES"
To update finding's mute state to \f5\fIMUTED\fR\fR, given finding
\f5organizations/123/sources/456/findings/789\fR, run:
.RS 2m
$ gcloud scc findings set\-mute 789 \e
\-\-organization=organizations/123 \-\-source=456 \-\-mute=MUTED
.RE
To update finding's mute state to \f5\fIUNMUTED\fR\fR, given finding
\f5organizations/123/sources/456/findings/789\fR, run:
.RS 2m
$ gcloud scc findings set\-mute 789 \e
\-\-organization=organizations/123 \-\-source=456 \-\-mute=UNMUTED
.RE
To update finding's mute state to \f5\fIMUTED\fR\fR, given finding
\f5folders/123/sources/456/findings/789\fR, run:
.RS 2m
$ gcloud scc findings set\-mute 789 \-\-folder=folders/123 \e
\-\-source=456 \-\-mute=MUTED
.RE
To update finding's mute state to \f5\fIMUTED\fR\fR, given finding
\f5projects/123/sources/456/findings/789\fR, run:
.RS 2m
$ gcloud scc findings set\-mute 789 \-\-project=projects/123 \e
\-\-source=456 \-\-mute=MUTED
.RE
To update finding's mute state to \f5\fIMUTED\fR\fR, given finding
\f5organizations/123/sources/456/findings/789\fR and \f5location=eu\fR, run:
.RS 2m
$ gcloud scc findings set\-mute 789 \e
\-\-organization=organizations/123 \-\-source=456 \-\-mute=MUTED \e
\-\-location=locations/eu
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIFINDING\fR
ID of the finding or the full resource name of the finding.
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-mute\fR=\fIMUTE\fR
Desired mute state of the finding. \fIMUTE\fR must be one of: \fBmuted\fR,
\fBunmuted\fR, \fBundefined\fR.
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR; default="global"
When data residency controls are enabled, this attribute specifies the location
in which the resource is located and applicable. The \f5location\fR attribute
can be provided as part of the fully specified resource name or with the
\f5\-\-location\fR argument on the command line. The default location is
\f5global\fR.
NOTE: If you override the endpoint to a regional endpoint
(https://cloud.google.com/security\-command\-center/docs/reference/rest/index.html?rep_location=global#regional\-service\-endpoint)
you must specify the correct data location
(https://cloud.google.com/security\-command\-center/docs/data\-residency\-support#locations)
using this flag. The default location on this command is unrelated to the
default location that is specified when data residency controls are enabled for
Security Command Center.
NOTE: If no location is specified, the default location is \f5global\fR AND the
request will be routed to the SCC V1 API. To use the SCC V2 API \- please
explicitly specify the flag.
.TP 2m
\fB\-\-source\fR=\fISOURCE\fR
ID of the source.
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-folder\fR=\fIFOLDER\fR
Folder where the finding resides. Formatted as \f5\fIfolders/456\fR\fR or just
\f5\fI456\fR\fR.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION\fR
Organization where the finding resides. Formatted as
\f5\fIorganizations/123\fR\fR or just \f5\fI123\fR\fR.
.TP 2m
\fB\-\-project\fR=\fIPROJECT\fR
Project (id or number) where the finding resides. Formatted as
\f5\fIprojects/789\fR\fR or just \f5\fI789\fR\fR.
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the Security Command Center API. For more information, see
Security Command Center API.
(https://cloud.google.com/security\-command\-center/docs/reference/rest)
.SH "NOTES"
This variant is also available:
.RS 2m
$ gcloud alpha scc findings set\-mute
.RE