1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 15:39:42 +00:00
gcloud-help/gcloud/alpha/scc/settings/services/inherit
2022-07-20 08:59:31 +00:00

49 lines
1.7 KiB
Text

NAME
gcloud alpha scc settings services inherit - set service enablement state
to "inherited" in Security Command Center(SCC)
SYNOPSIS
gcloud alpha scc settings services inherit --service=SERVICE_NAME
[--folder=FOLDER_ID | --project=PROJECT_ID] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Set service enablement state to "inherited" in Security Command
Center(SCC).
EXAMPLES
To set WEB_SECURITY_SCANNER enablement state to "inherited" for folder
"12345", run:
$ gcloud alpha scc settings services inherit --folder=12345 \
--service=WEB_SECURITY_SCANNER
REQUIRED FLAGS
--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.
OPTIONAL FLAGS
At most one of these can be specified:
--folder=FOLDER_ID
Folder ID
--project=PROJECT_ID
Project ID
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.
NOTES
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.