mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 07:29:40 +00:00
69 lines
2.6 KiB
Text
69 lines
2.6 KiB
Text
NAME
|
|
gcloud alpha scc operations describe - describe a Cloud SCC's long running
|
|
scan operation
|
|
|
|
SYNOPSIS
|
|
gcloud alpha scc operations describe
|
|
(OPERATION : --organization=ORGANIZATION) [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Describe a Cloud SCC's long running scan operation.
|
|
|
|
EXAMPLES
|
|
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 alpha scc operations describe \
|
|
9c5fa5e5-e368-439a-baa4-08c17b77ec23 --organization=123456
|
|
|
|
POSITIONAL ARGUMENTS
|
|
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 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..
|
|
|
|
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 help for details.
|
|
|
|
API REFERENCE
|
|
This command uses the securitycenter/v1 API. The full documentation for
|
|
this API can be found at: https://cloud.google.com/security-command-center
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud scc operations describe
|
|
|
|
$ gcloud beta scc operations describe
|
|
|