1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00
gcloud-help/gcloud/alpha/scc/manage/services/describe
2025-03-26 10:55:24 +00:00

105 lines
3.8 KiB
Text

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
organization 123, run:
$ gcloud alpha scc manage services describe sha --organization=123
To get the details of a Security Command Center service with name sha for
folder 456, run:
$ gcloud alpha scc manage services describe sha --folder=456
To get the details of a Security Command Center service with ID sha for
project 789, 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 name sha for organization 123, 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)
◆ vm-threat-detection-aws (can be abbreviated as vmtd-aws)
◆ cloud-run-threat-detection (can be abbreviated as crtd)
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.
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