gcloud scc notifications list

NAME
gcloud scc notifications list - list Security Command Center notification configs
SYNOPSIS
gcloud scc notifications list[PARENT][--location=LOCATION; default="global"][--folder=FOLDER    |--organization=ORGANIZATION    |--project=PROJECT][--filter=EXPRESSION][--limit=LIMIT][--page-size=PAGE_SIZE][--sort-by=[FIELD,…]][GCLOUD_WIDE_FLAG]
DESCRIPTION
List Security Command Center notification configs.
NotificationConfigsthatarecreatedwithSecurityCommandCenterAPIV2andlaterincludea`location`attribute.Includethe`--location`flagtolistNotificationConfigswith`location`attributeotherthan`global`.
EXAMPLES
List notification configs from organization123
gcloudsccnotificationslist123gcloudsccnotificationslistorganizations/123

List notification configs from folder456

gcloudsccnotificationslistfolders/456

List notification configs from project789

gcloudsccnotificationslistprojects/789

List notification configs from organization123 andlocation=eu

gcloudsccnotificationslist123--location=eugcloudsccnotificationslistorganizations/123--location=locations/eu
POSITIONAL ARGUMENTS
Parent resource - parent organization, folder, or project in the Google Cloudresource hierarchy to be used for thegcloud scc command. Specify theargument as either [RESOURCE_TYPE/RESOURCE_ID] or [RESOURCE_ID], as shown in thepreceding examples. This represents a Cloud resource.
[PARENT]
ID of the parent or fully qualified identifier for the parent.

To set theparent attribute:

  • provide the argumentparent on the command line;
  • Set the parent property in configuration usinggcloud config setscc/parent if it is not specified in command line.
FLAGS
--location=LOCATION; default="global"
Required if either data residency is enabled or thenotificationConfig resources were created by using the API v2.

If data residency is enabled, specify the Security Command Center location inwhich the notifications are stored.

If data residency is not enabled, including/locations/``LOCATION´´ in the name or the--location flag in the command lists only thenotificationConfig resources that were created by using theSecurity Command Center API v2 and the only valid location isglobal.

At most one of these can be specified:
--folder=FOLDER
Folder where the notification config resides. Formatted asfolders/456 or just456.
--organization=ORGANIZATION
Organization where the notification config resides. Formatted asorganizations/123 or just123.
--project=PROJECT
Project (ID or number) where the notification config resides. Formatted asprojects/789 or just789.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filterEXPRESSION to each resource itemto be listed. If the expression evaluatesTrue, then that item islisted. For more details and examples of filter expressions, run $gcloud topic filters. This flaginteracts with other flags that are applied in this order:--flatten,--sort-by,--filter,--limit.
--limit=LIMIT
Maximum number of resources to list. The default isunlimited. Thisflag 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 themaximum number of resources per page. The default is determined by the serviceif it supports paging, otherwise it isunlimited (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 orderis ascending. Prefix a field with ``~´´ for descending order on thatfield. 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, seeSecurityCommand Center API.
NOTES
These variants are also available:
gcloudalphasccnotificationslist
gcloudbetasccnotificationslist

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-22 UTC.