1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00
gcloud-help/gcloud/beta/scc/sources/describe

76 lines
2.9 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud beta scc sources describe - describe a source given its display name
or source id
SYNOPSIS
2024-09-18 09:49:45 +00:00
gcloud beta scc sources describe [PARENT]
2022-03-01 04:29:52 +00:00
(--source=SOURCE | --source-display-name=SOURCE_DISPLAY_NAME)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Describe a source given its display name or source id.
EXAMPLES
2024-09-18 09:49:45 +00:00
Describe source with display name Security Scanner:
2022-03-01 04:29:52 +00:00
$ gcloud beta scc sources describe 123456 \
--source-display-name="Security Scanner"
Describe source with source id '5678':
$ gcloud beta scc sources describe 123456 --source=5678
POSITIONAL ARGUMENTS
2024-09-18 09:49:45 +00:00
Parent resource - parent organization, folder, or project in the Google
Cloud resource hierarchy to be used for the gcloud scc command. Specify
the argument as either [RESOURCE_TYPE/RESOURCE_ID] or [RESOURCE_ID], as
shown in the preceding examples. This represents a Cloud resource.
[PARENT]
ID of the parent or fully qualified identifier for the parent.
To set the parent attribute:
▸ provide the argument parent on the command line;
▸ Set the parent property in configuration using gcloud config set
scc/parent if it is not specified in command line.
2022-03-01 04:29:52 +00:00
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
2024-10-09 09:55:07 +00:00
This command uses the securitycenter/v2 API. The full documentation for
2022-03-01 04:29:52 +00:00
this API can be found at: https://cloud.google.com/security-command-center
NOTES
This command is currently in beta and might change without notice. These
variants are also available:
$ gcloud scc sources describe
$ gcloud alpha scc sources describe