gcloud scc muteconfigs list - list Cloud Security Command Center mute configs
gcloud scc muteconfigs list (--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT) [--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
List Cloud Security Command Center mute configs.
List mute configs under organization 123:
$ gcloud scc muteconfigs list --organization=organizations/123 $ gcloud scc muteconfigs list --organization=123
List mute configs under folder 456:
$ gcloud scc muteconfigs list --folder=folders/456 $ gcloud scc muteconfigs list --folder=456
List mute configs under project 789:
$ gcloud scc muteconfigs list --project=projects/789 $ gcloud scc muteconfigs list --project=789
- 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.
- --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.
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.
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 variant is also available:
$ gcloud alpha scc muteconfigs list