- NAME
-
- gcloud alpha scc manage services describe - get the details of a Security Command Center service
- SYNOPSIS
-
-
gcloud alpha scc manage services describe
SERVICE_NAME
(--folder
=FOLDER_ID
|--organization
=ORGANIZATION_ID
|--parent
=PARENT
|--project
=PROJECT_ID_OR_NUMBER
) [--filter-modules
=FILTER_MODULES
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Get the details of a Security Command Center service. It resolves INHERITED enablement states to ENABLED or DISABLED for services at ancestor levels. For example, if the service is enabled at the ancestor level, services for all child resources will have the enablement state set to ENABLED. - EXAMPLES
-
To get the details of a Security Command Center service with name
sha
for organization123
, run:gcloud alpha scc manage services describe sha --organization=123
To get the details of a Security Command Center service with name
sha
for folder456
, run:gcloud alpha scc manage services describe sha --folder=456
To get the details of a Security Command Center service with ID
sha
for project789
, run:gcloud alpha scc manage services describe sha --project=789
You can also specify the parent more generally:
gcloud alpha scc manage services describe sha --parent=organizations/123
To get the details of modules,
[ABC, DEF]
of a Security Command Center service with namesha
for organization123
, run:gcloud alpha scc manage services describe sha --module-list=[ABC, DEF] --organization=123
- POSITIONAL ARGUMENTS
-
SERVICE_NAME
-
The service name, provided either in lowercase hyphenated form (e.g.
security-health-analytics), or in abbreviated form (e.g. sha) if applicable.
The list of supported services is:
- security-health-analytics (can be abbreviated as sha)
- event-threat-detection (can be abbreviated as etd)
- container-threat-detection (can be abbreviated as ctd)
- vm-threat-detection (can be abbreviated as vmtd)
- web-security-scanner (can be abbreviated as wss)
- REQUIRED FLAGS
-
-
Exactly one of these must be specified:
--folder
=FOLDER_ID
- Folder associated with the custom module.
--organization
=ORGANIZATION_ID
- Organization associated with the custom module.
--parent
=PARENT
- Parent associated with the custom module. Can be one of organizations/<id>, projects/<id or name>, folders/<id>
--project
=PROJECT_ID_OR_NUMBER
- Project associated with the custom module.
-
Exactly one of these must be specified:
- OPTIONAL FLAGS
-
--filter-modules
=FILTER_MODULES
- If provided, only prints module information for modules specified in the list. Provided as a comma separated list of module names in SCREAMING_SNAKE_CASE format (e.g. WEB_UI_ENABLED, API_KEY_NOT_ROTATED). A single module name is also valid.
- 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. This variant is also available:
gcloud scc manage services describe
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-05-29 UTC.