gcloud alpha scc settings services enable - enable a service in Security Command Center(SCC)
gcloud alpha scc settings services enable --service=SERVICE_NAME [--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --project=PROJECT_ID] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Enable a service in Security Command Center(SCC).
To enable WEB_SECURITY_SCANNER of organization id="12345", run:
$ gcloud alpha scc settings services enable --organization=12345 \ --service=WEB_SECURITY_SCANNER
- --service=SERVICE_NAME
Service name in Security Command Center. SERVICE_NAME must be one of: container-threat-detection, event-threat-detection, rapid-vulnerability-detection, security-health-analytics, virtual-machine-threat-detection, web-security-scanner.
- At most one of these can be specified:
- --folder=FOLDER_ID
Folder ID
- --organization=ORGANIZATION_ID
Organization ID
- --project=PROJECT_ID
Project ID
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 is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.