mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 16:37:00 +00:00
96 lines
3.3 KiB
Text
96 lines
3.3 KiB
Text
NAME
|
|
gcloud scc manage services describe - get the details of a Security Command
|
|
Center service
|
|
|
|
SYNOPSIS
|
|
gcloud 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
|
|
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 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 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 scc manage services describe sha --project=789
|
|
|
|
You can also specify the parent more generally:
|
|
|
|
$ gcloud 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 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.
|
|
|
|
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 variant is also available:
|
|
|
|
$ gcloud alpha scc manage services describe
|
|
|