- 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 argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--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..
-
provide the argument
-
Operation resource - Cloud SCC's API operation to describe. The arguments in
this group can be used to specify the attributes of this 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 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
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 2024-02-06 UTC.