gcloud scc sources describe

NAME
gcloud scc sources describe - describe a source given its display name or source id
SYNOPSIS
gcloud scc sources describe [PARENT] (--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
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.
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/v2 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