- 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
,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
-
At most one of these can be specified:
- 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.
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 2024-07-23 UTC.