File: //snap/google-cloud-cli/current/help/man/man1/gcloud_scc_findings_bulk-mute.1
.TH "GCLOUD_SCC_FINDINGS_BULK\-MUTE" 1
.SH "NAME"
.HP
gcloud scc findings bulk\-mute \- bulk mute Security Command Center findings based on a filter
.SH "SYNOPSIS"
.HP
\f5gcloud scc findings bulk\-mute\fR \fB\-\-filter\fR=\fIFILTER\fR (\fB\-\-folder\fR=\fIFOLDER\fR\ |\ \fB\-\-organization\fR=\fIORGANIZATION\fR\ |\ \fB\-\-project\fR=\fIPROJECT\fR) [\fB\-\-location\fR=\fILOCATION\fR;\ default="global"] [\fB\-\-mute\-state\fR=\fIMUTE_STATE\fR;\ default="muted"] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Bulk mute Security Command Center findings based on a filter.
.SH "EXAMPLES"
To bulk mute findings given organization \f5\fI123\fR\fR based on a filter on
category that equals \f5\fIXSS_SCRIPTING\fR\fR, run:
.RS 2m
$ gcloud scc findings bulk\-mute \-\-organization=organizations/123 \e
\-\-filter="category=\e"XSS_SCRIPTING\e""
.RE
To bulk mute findings given folder \f5\fI123\fR\fR based on a filter on category
that equals \f5\fIXSS_SCRIPTING\fR\fR, run:
.RS 2m
$ gcloud scc findings bulk\-mute \-\-folder=folders/123 \e
\-\-filter="category=\e"XSS_SCRIPTING\e""
.RE
To bulk mute findings given project \f5\fI123\fR\fR based on a filter on
category that equals \f5\fIXSS_SCRIPTING\fR\fR, run:
.RS 2m
$ gcloud scc findings bulk\-mute \-\-project=projects/123 \e
\-\-filter="category=\e"XSS_SCRIPTING\e""
.RE
To bulk mute findings given organization \f5\fI123\fR\fR based on a filter on
category that equals \f5\fIXSS_SCRIPTING\fR\fR and \f5location=eu\fR run:
.RS 2m
$ gcloud scc findings bulk\-mute \-\-organization=organizations/123 \e
\-\-filter="category=\e"XSS_SCRIPTING\e"" \-\-location=locations/eu
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-filter\fR=\fIFILTER\fR
Expression that identifies findings that should be muted.
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-folder\fR=\fIFOLDER\fR
Folder where the findings reside. Formatted as \f5\fIfolders/456\fR\fR or just
\f5\fI456\fR\fR.
.TP 2m
\fB\-\-organization\fR=\fIORGANIZATION\fR
Organization where the findings reside. 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 findings reside. Formatted as
\f5\fIprojects/789\fR\fR or just \f5\fI789\fR\fR.
.RE
.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\-\-mute\-state\fR=\fIMUTE_STATE\fR; default="muted"
Desired mute state of the finding. \fIMUTE_STATE\fR must be one of: \fBmuted\fR,
\fBundefined\fR.
.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 bulk\-mute
.RE