1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/scc/muteconfigs/list
2024-02-29 10:17:22 +00:00

101 lines
3.8 KiB
Text

NAME
gcloud scc muteconfigs list - listSecurity Command Center mute configs
SYNOPSIS
gcloud scc muteconfigs list
(--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT)
[--location=LOCATION; default="global"] [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
List Security Command Center mute configs.
EXAMPLES
List mute configs under organization 123:
$ gcloud scc muteconfigs list --organization=123
List mute configs under folder 456:
$ gcloud scc muteconfigs list --folder=456
List mute configs under project 789:
$ gcloud scc muteconfigs list --project=789
List mute configs under organization `_123_` and `location=eu`:
$ gcloud scc muteconfigs list --organization=123 --location=eu
REQUIRED FLAGS
Exactly one of these must be specified:
--folder=FOLDER
Folder where the mute config resides. Formatted as folders/456 or
just 456.
--organization=ORGANIZATION
Organization where the mute config resides. Formatted as
organizations/123 or just 123.
--project=PROJECT
Project (id or number) where the mute config resides. Formatted as
projects/789 or just 789.
FLAGS
--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.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.
If the expression evaluates True, then that item is listed. For more
details and examples of filter expressions, run $ gcloud topic filters.
This flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
--sort-by=[FIELD,...]
Comma-separated list of resource field key names to sort by. The
default order is ascending. Prefix a field with ``~'' for descending
order on that field. This flag interacts with other flags that are
applied in this order: --flatten, --sort-by, --filter, --limit.
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,
see Security Command Center API.
(https://cloud.google.com/security-command-center/docs/reference/rest)
NOTES
This variant is also available:
$ gcloud alpha scc muteconfigs list