gcloud scc notifications list Stay organized with collections Save and categorize content based on your preferences.
- 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 organization
123gcloudsccnotificationslist123gcloudsccnotificationslistorganizations/123List notification configs from folder
456gcloudsccnotificationslistfolders/456List notification configs from project
789gcloudsccnotificationslistprojects/789List notification configs from organization
123andlocation=eugcloudsccnotificationslist123--location=eugcloudsccnotificationslistorganizations/123--location=locations/eu - POSITIONAL ARGUMENTS
- Parent resource - parent organization, folder, or project in the Google Cloudresource hierarchy to be used for the
gcloud scccommand. 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 the
parentattribute:- provide the argument
parenton the command line; - Set the parent property in configuration using
gcloud config setscc/parentif it is not specified in command line.
- provide the argument
- [
- Parent resource - parent organization, folder, or project in the Google Cloudresource hierarchy to be used for the
- FLAGS
--location=LOCATION; default="global"- Required if either data residency is enabled or the
notificationConfigresources 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--locationflag in the command lists only thenotificationConfigresources 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 as
or justfolders/456.456 --organization=ORGANIZATION- Organization where the notification config resides. Formatted as
or justorganizations/123.123 --project=PROJECT- Project (ID or number) where the notification config resides. Formatted as
or justprojects/789.789
- LIST COMMAND FLAGS
--filter=EXPRESSION- Apply a Boolean filter
EXPRESSIONto 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 is
unlimited. 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 is
unlimited(no paging).Paging may be applied before or after--filterand--limitdepending 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 helpfor details. - API REFERENCE
- This command uses the Security Command Center API. For more information, seeSecurityCommand Center API.
- NOTES
- These variants are also available:
gcloudalphasccnotificationslistgcloudbetasccnotificationslist
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.