NAME

gcloud alpha scc sources describe - describe a source given its display name or source id

SYNOPSIS

gcloud alpha scc sources describe [ORGANIZATION] (--source=SOURCE | --source-display-name=SOURCE_DISPLAY_NAME) [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) Describe a source given its display name or source id.

EXAMPLES

Describe source with display name 'Security Scanner':

$ gcloud alpha scc sources describe 123456 \ --source-display-name="Security Scanner"

Describe source with source id '5678':

$ gcloud alpha 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

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. These variants are also available:

$ gcloud scc sources describe

$ gcloud beta scc sources describe