gcloud alpha scc settings services modules update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha scc settings services modules update - update a module config in Security Command Center(SCC)
- SYNOPSIS
gcloud alpha scc settings services modules update--enablement-state=ENABLEMENT_STATE--module=MODULE_NAME--service=SERVICE_NAME[--clear-config|--config=CONFIG_VALUE][--folder=FOLDER_ID|--organization=ORGANIZATION_ID|--project=PROJECT_ID][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Update a module config in Security Command Center(SCC).- EXAMPLES
- To update the "CONFIGURABLE_BAD_DOMAIN" module in service EVENT_THREAT_DETECTIONof organization "12345", run:
gcloudalphasccsettingsservicesmodulesupdate--organization=12345--service=EVENT_THREAT_DETECTION--module=CONFIGURABLE_BAD_DOMAIN--enablement-state=ENABLED--config='{"domains": { "domain1": { "ed11": "ed-1", "ed12": "ed-2" } }, "metadata": { "module_name": "etd_bad_domain", "severity": "CRITICAL" } }'To clear the config value and disable the module in the"CONFIGURABLE_BAD_DOMAIN" module in service EVENT_THREAT_DETECTION oforganization "12345", run:
gcloudalphasccsettingsservicesmodulesupdate--organization=12345--service=EVENT_THREAT_DETECTION--module=CONFIGURABLE_BAD_DOMAIN--enablement-state=DISABLED--clear-config - REQUIRED FLAGS
--enablement-state=ENABLEMENT_STATE- Module enablement state in Security Command Center.
ENABLEMENT_STATEmust be one of:enabled,disabled. --module=MODULE_NAME- Module name in Security Command Center
--service=SERVICE_NAME- Service name in Security Command Center.
SERVICE_NAMEmust be one of:container-threat-detection,event-threat-detection,security-health-analytics,virtual-machine-threat-detection,web-security-scanner.
- OPTIONAL FLAGS
- Config value group in Security Command Center.
At most one of these can be specified:
--clear-config- Clear module config in Security Command Center
--config=CONFIG_VALUE- Module config in Security Command Center
- At most one of these can be specified:
--folder=FOLDER_ID- Folder ID
--organization=ORGANIZATION_ID- Organization ID
--project=PROJECT_ID- Project ID
- Config value group in Security Command Center.
- 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. - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist.
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-05-07 UTC.