File: //snap/google-cloud-cli/current/help/man/man1/gcloud_scc_assets_run-discovery.1
.TH "GCLOUD_SCC_ASSETS_RUN\-DISCOVERY" 1
.SH "NAME"
.HP
gcloud scc assets run\-discovery \- scan an organization for new/modified/deleted assets
.SH "SYNOPSIS"
.HP
\f5gcloud scc assets run\-discovery\fR [\fIORGANIZATION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(DEPRECATED)\fR Security Command Center Asset APIs are deprecated and will be
removed on or after June 26, 2024. Use Cloud Asset Inventory instead (gcloud
asset) (https://cloud.google.com/sdk/gcloud/reference/asset). For more
information, see the deprecation notice at Assets Page
(https://cloud.google.com/security\-command\-center/docs/how\-to\-use\-security\-command\-center#assets_page).
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.
.SH "EXAMPLES"
Run new scan for organization (123456):
.RS 2m
$ gcloud scc assets run\-discovery 123456
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Organization resource \- The organization for which scan should be run. This
represents a Cloud resource.
.RS 2m
.TP 2m
[\fIORGANIZATION\fR]
ID of the organization or fully qualified identifier for the organization.
To set the \f5organization\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5organization\fR on the command line;
.IP "\(bu" 2m
Set the organization property in configuration using \f5gcloud config set
scc/organization\fR if it is not specified in command line..
.RE
.sp
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the \fBsecuritycenter/v1\fR API. The full documentation for
this API can be found at: https://cloud.google.com/security\-command\-center
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha scc assets run\-discovery
.RE
.RS 2m
$ gcloud beta scc assets run\-discovery
.RE