1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00
gcloud-help/gcloud/scc/sources/describe
2022-03-01 04:29:52 +00:00

72 lines
2.7 KiB
Text

NAME
gcloud scc sources describe - describe a source given its display name or
source id
SYNOPSIS
gcloud scc sources describe [ORGANIZATION]
(--source=SOURCE | --source-display-name=SOURCE_DISPLAY_NAME)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Describe a source given its display name or source id.
EXAMPLES
Describe source with display name 'Security Scanner':
$ gcloud scc sources describe 123456 \
--source-display-name="Security Scanner"
Describe source with source id '5678':
$ gcloud scc sources describe 123456 --source=5678
POSITIONAL ARGUMENTS
Organization resource - The organization to be used for the SCC (Security
Command Center) command. This represents a Cloud resource.
[ORGANIZATION]
ID of the organization or fully qualified identifier for the
organization. To set the organization attribute:
▸ provide the argument organization on the command line;
▸ Set the organization property in configuration using gcloud
config set scc/organization if it is not specified in command
line..
REQUIRED FLAGS
Exactly one of these must be specified:
--source=SOURCE
Cloud SCC specific source. It's derived from the the source's
relative resource name. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name.
For Example: For the given source name:
"organizations/123/sources/456", 456 represents source id.
--source-display-name=SOURCE_DISPLAY_NAME
Source's display name must be unique amongst its siblings, for
example, two sources with the same parent can't share the same
display name. Display name must start and end with a letter or digit,
may contain letters, digits, spaces, hyphens, and underscores, and
can be no longer than 32 characters. This is captured by the regular
expression: [\p{L}\p{N}]({\p{L}\p{N}- ]{0,30}[\p{L}\p{N}])?. For
example: 'Cloud Security Scanner' is the source display name.
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.
API REFERENCE
This command uses the securitycenter/v1 API. The full documentation for
this API can be found at: https://cloud.google.com/security-command-center
NOTES
These variants are also available:
$ gcloud alpha scc sources describe
$ gcloud beta scc sources describe