gcloud scc sources describe Stay organized with collections Save and categorize content based on your preferences.
- 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:gcloudsccsourcesdescribe123456--source-display-name="Security Scanner"Describe source with source id '5678':
gcloudsccsourcesdescribe123456--source=5678 - POSITIONAL ARGUMENTS
- Parent resource - parent organization, folder, or project in the Google Cloudresource hierarchy to be used for the
gcloud scccommand. Specify theargument as either [RESOURCE_TYPE/RESOURCE_ID] or [RESOURCE_ID], as shown in thepreceding examples. This represents a Cloud resource. - [
PARENT] - ID of the parent or fully qualified identifier for the parent.
To set the
parentattribute:- provide the argument
parenton the command line; - Set the parent property in configuration using
gcloud config setscc/parentif it is not specified in command line.
- provide the argument
- Parent resource - parent organization, folder, or project in the Google Cloudresource hierarchy to be used for the
- REQUIRED FLAGS
- Exactly one of these must be specified:
--source=SOURCE- Cloud SCC specific source. It's derived from the the source's relative resourcename. See:https://cloud.google.com/apis/design/resource_names#relative_resource_name.For Example: For the given source name: "organizations/123/sources/456", 456represents source id.
--source-display-name=SOURCE_DISPLAY_NAME- Source's display name must be unique amongst its siblings, for example, twosources with the same parent can't share the same display name. Display namemust 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 iscaptured 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 sourcedisplay name.
- Exactly one of these must be specified:
- 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 helpfor details. - API REFERENCE
- This command uses the
securitycenter/v2API. The full documentationfor this API can be found at:https://cloud.google.com/security-command-center - NOTES
- These variants are also available:
gcloudalphasccsourcesdescribegcloudbetasccsourcesdescribe
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-21 UTC.