- gcloud alpha scc assets run-discovery - scan an organization for new/modified/deleted assets
(ALPHA)Scan an organization for new/modified/deleted assets. Note that this API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.
- POSITIONAL ARGUMENTS
Organization resource - The organization for which scan should be run. This
represents a Cloud resource.
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/organizationif it is not specified in command line..
- Organization resource - The organization for which scan should be run. This represents a Cloud resource.
- GCLOUD WIDE FLAGS
These flags are available to all commands:
$ gcloud helpfor details.
- API REFERENCE
This command uses the
securitycenter/v1API. The full documentation for this API can be found at: https://cloud.google.com/security-command-center
Run new scan for organization (123456):
gcloud alpha scc assets run-discovery 123456
- This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access allowlist. These variants are also available:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-01-07 UTC.