mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Thu Feb 29 10:17:22 UTC 2024
This commit is contained in:
parent
8778dcbd7e
commit
37dd57701a
203 changed files with 3473 additions and 5938 deletions
|
|
@ -1,62 +1,45 @@
|
|||
NAME
|
||||
gcloud alpha scc muteconfigs create - create a Cloud Security Command
|
||||
Center mute config
|
||||
gcloud alpha scc muteconfigs create - create a Security Command Center mute
|
||||
config
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc muteconfigs create MUTE_CONFIG [--description=DESCRIPTION]
|
||||
[--filter=FILTER]
|
||||
[--filter=FILTER] [--location=LOCATION; default="global"]
|
||||
[--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a Cloud Security Command Center mute config.
|
||||
(ALPHA) Create a Security Command Center mute config.
|
||||
|
||||
EXAMPLES
|
||||
To create a mute config my-mute-config given organization 123 with a filter
|
||||
on category that equals to XSS_SCRIPTING, run:
|
||||
To create a mute config test-mute-config given organization 123 with a
|
||||
filter on category that equals to XSS_SCRIPTING, run:
|
||||
|
||||
$ gcloud alpha scc muteconfigs create my-mute-config \
|
||||
--organization=organizations/123 \
|
||||
--description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
$ gcloud alpha scc muteconfigs create my-mute-config \
|
||||
$ gcloud alpha scc muteconfigs create test-mute-config \
|
||||
--organization=123 --description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
$ gcloud alpha scc muteconfigs create \
|
||||
organizations/123/muteConfigs/my-mute-config \
|
||||
--description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
|
||||
To create a mute config my-mute-config given folder 456 with a filter on
|
||||
To create a mute config test-mute-config given folder 456 with a filter on
|
||||
category that equals to XSS_SCRIPTING, run:
|
||||
|
||||
$ gcloud alpha scc muteconfigs create my-mute-config \
|
||||
--folder=folders/456 \
|
||||
--description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
$ gcloud alpha scc muteconfigs create my-mute-config --folder=456 \
|
||||
--description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
$ gcloud alpha scc muteconfigs create \
|
||||
folders/456/muteConfigs/my-mute-config \
|
||||
--description="This is a test mute config" \
|
||||
$ gcloud alpha scc muteconfigs create test-mute-config \
|
||||
--folder=456 --description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
|
||||
To create a mute config my-mute-config given project 789 with a filter on
|
||||
To create a mute config test-mute-config given project 789 with a filter on
|
||||
category that equals to XSS_SCRIPTING, run:
|
||||
|
||||
$ gcloud alpha scc muteconfigs create my-mute-config \
|
||||
--project=projects/789 \
|
||||
--description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
$ gcloud alpha scc muteconfigs create my-mute-config --project=789 \
|
||||
--description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
$ gcloud alpha scc muteconfigs create \
|
||||
projects/789/muteConfigs/my-mute-config \
|
||||
--description="This is a test mute config" \
|
||||
$ gcloud alpha scc muteconfigs create test-mute-config \
|
||||
--project=789 --description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\""
|
||||
|
||||
To create a mute config test-mute-config given organization 123,
|
||||
location=eu with a filter on category that equals to XSS_SCRIPTING, run:
|
||||
|
||||
$ gcloud alpha scc muteconfigs create test-mute-config \
|
||||
--organization=123 --description="This is a test mute config" \
|
||||
--filter="category=\"XSS_SCRIPTING\"" --location=eu
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
MUTE_CONFIG
|
||||
ID of the mute config or the full resource name of the mute config.
|
||||
|
|
@ -69,6 +52,17 @@ FLAGS
|
|||
The filter string which will applied to findings muted by a mute
|
||||
configuration.
|
||||
|
||||
--location=LOCATION; default="global"
|
||||
When data residency controls are enabled, this attribute specifies the
|
||||
location in which the resource is located and applicable. The location
|
||||
attribute can be provided as part of the fully specified resource name
|
||||
or with the --location argument on the command line. The default
|
||||
location is global.
|
||||
|
||||
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.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--folder=FOLDER
|
||||
|
|
@ -92,8 +86,9 @@ GCLOUD WIDE FLAGS
|
|||
Run $ gcloud help for details.
|
||||
|
||||
API REFERENCE
|
||||
This command uses the securitycenter/v1 API. The full documentation for
|
||||
this API can be found at: https://cloud.google.com/security-command-center
|
||||
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)
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue