gcloud beta scc operations describe - describe a Cloud SCC's long running scan operation
gcloud beta scc operations describe (OPERATION : --organization=ORGANIZATION) [GCLOUD_WIDE_FLAG ...]
(BETA) Describe a Cloud SCC's long running scan operation.
Return long running scan operation status for operation id (9c5fa5e5-e368-439a-baa4-08c17b77ec23) and organization 123456. Operation id is obtained using run-discovery command:
$ gcloud beta scc operations describe \ 9c5fa5e5-e368-439a-baa4-08c17b77ec23 --organization=123456
- Operation resource - Cloud SCC's API operation to describe. The arguments in
this group can be used to specify the attributes of this resource.
This must be specified.
- OPERATION
ID of the operation or fully qualified identifier for the operation. To set the operation attribute:
provide the argument operation on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- --organization=ORGANIZATION
(Optional) If the full resource name isn't provided e.g. organizations/123, then provide the organization id which is the suffix of the organization. Example: organizations/123, the id is 123.
To set the organization attribute:
provide the argument operation on the command line with a fully specified name;
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..
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.
This command uses the securitycenter/v1 API. The full documentation for this API can be found at: https://cloud.google.com/security-command-center
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud scc operations describe
$ gcloud alpha scc operations describe