gcloud beta scc assets run-discovery Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta scc assets run-discovery - scan an organization for new/modified/deleted assets
- SYNOPSIS
gcloud beta scc assets run-discovery[ORGANIZATION][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)(DEPRECATED)Security Command Center Asset APIsare deprecated and will be removed on or after June 26, 2024. Use Cloud AssetInventory instead(gcloud asset).For more information,seethe deprecation notice at Assets Page.Scan an organization for new/modified/deleted assets. Note that this API canonly be called with limited frequency for an organization. If it is called toofrequently the caller will receive a TOO_MANY_REQUESTS error.- EXAMPLES
- Run new scan for organization (123456):
gcloudbetasccassetsrun-discovery123456 - POSITIONAL ARGUMENTS
- Organization resource - The organization for which scan should be run. Thisrepresents a Cloud resource.
- [
ORGANIZATION] - ID of the organization or fully qualified identifier for the organization.
To set the
organizationattribute:- provide the argument
organizationon the command line; - Set the organization property in configuration using
gcloud config setscc/organizationif it is not specified in command line..
- provide the argument
- [
- Organization resource - The organization for which scan should be run. Thisrepresents a Cloud resource.
- 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/v1API. The full documentationfor 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. Thesevariants are also available:
gcloudsccassetsrun-discoverygcloudalphasccassetsrun-discovery
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 2025-05-07 UTC.