gcloud scc notifications update NOTIFICATION_CONFIG_ID [--description=DESCRIPTION] [--filter=FILTER] [--location=LOCATION; default="global"] [--pubsub-topic=PUBSUB_TOPIC] [--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT] [GCLOUD_WIDE_FLAG …]
location attribute. If the location
attribute is included in the resource name of a Notification configs, you must
specify it when referencing the Notification config. For example, the following
Notification configs name has location=eu:
organizations/123/locations/eu/notificationConfigs/test-config.
test-config
(description + pubsub topic + filter):
gcloud scc notifications update scc notifications update test-config --organization=123 --description="New description" --pubsub-topic="projects/22222/topics/newtopic"
Update all mutable fields under a folder parent test-config
(description + pubsub topic + filter):
gcloud scc notifications update scc notifications update test-config --folder=456 --description="New description" --pubsub-topic="projects/22222/topics/newtopic"
Update all mutable fields under a project parent test-config
(description + pubsub topic + filter):
gcloud scc notifications update scc notifications update test-config --project=789 --description="New description" --pubsub-topic="projects/22222/topics/newtopic"Update test-config's description
gcloud scc notifications update test-config --organization=123 --description="New description"Update test-config's pubsub-topic
gcloud scc notifications update test-config --organization=123 --pubsub-topic="projects/22222/topics/newtopic"Update test-config's filter
gcloud scc notifications update test-config --organization=123 --filter='state = \"ACTIVE\"'
Update all mutable fields for test-config with
location=global under an organization parent (description + pubsub
topic + filter):
gcloud scc notifications update scc notifications update test-config --organization=123 --description="New description" --pubsub-topic="projects/22222/topics/newtopic" --location=globalNOTIFICATION_CONFIG_ID--description=DESCRIPTION--filter=FILTER--location=LOCATION; default="global"notificationConfig was created by using the API v2.
If data residency is enabled, specify the Security Command Center location in which the notification is stored.
If data residency is not enabled, include/locations/``LOCATION´´ in the full name or specify the
--location flag only if the notificationConfig
resource was created by using the Security Command Center API v2, in which case,
the only valid location is global.
--pubsub-topic=PUBSUB_TOPIC--folder=FOLDERfolders/456 or just
456.
--organization=ORGANIZATIONorganizations/123 or just
123.
--project=PROJECTprojects/789 or just
789.
--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.
gcloud alpha scc notifications updategcloud beta scc notifications update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.