1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00

gcloud: Wed Jan 31 10:36:17 UTC 2024

This commit is contained in:
Automated 2024-01-31 10:36:17 +00:00
parent 7a546ffea4
commit fa6c1dc7ec
142 changed files with 1981 additions and 793 deletions

View file

@ -37,15 +37,15 @@ GROUPS
posture-deployments
(ALPHA) Manage Cloud Security Command Center (SCC) posture deployments.
posture-operations
(ALPHA) Manage Cloud Security Command Center (SCC) posture operations.
posture-templates
(ALPHA) Manage Cloud Security Command Center (SCC) posture templates.
postures
(ALPHA) Manage Cloud Security Command Center (SCC) postures.
securityposture-operations
(ALPHA) Manage Cloud Security Command Center (SCC) operations.
settings
(ALPHA) Manage Cloud SCC (Security Command Center) settings.

View file

@ -20,15 +20,18 @@ DESCRIPTION
EXAMPLES
Create a posture deployment named posture-deployment-foo-1 within parent
organizations/123/locations/global(i.e. a posture-deployment in
organization 123, location global, with id posture-deployment-foo-1, which
deploys posture organizations/123/locations/foo-posture with revision-id
foo-posture-revision-id):
organizations/123/locations/global on resource folders/456 (i.e. a
posture-deployment in organization 123, location global, with id
posture-deployment-foo-1, which deploys posture
organizations/123/locations/foo-posture with revision-id
foo-posture-revision-id on folders/456):
$ gcloud alpha scc posture-deployments create \
organizations/123/locations/global posture-deployment-foo-1 \
--posture-name=organizations/123/locations/global/foo-posture \
--posture-revision-id=foo-posture-revision-id
organizations/123/locations/global/postureDeployments/\
posture-deployment-foo-1 \
--posture-name=organizations/123/locations/global/foo-posture \
--posture-revision-id=foo-posture-revision-id \
--target-resource=projects/456
POSITIONAL ARGUMENTS
Posture deployment resource - The name of the posture deployment to be
@ -68,7 +71,7 @@ POSITIONAL ARGUMENTS
REQUIRED FLAGS
--posture-name=POSTURE_NAME
Posture that needs to be deployed. Format:
organizations/<organizationID>/locations/global/postures/<postureID>
organizations/<organizationID>/locations/<location>/postures/<postureID>
--posture-revision-id=POSTURE_REVISION_ID
Posture revision that needs to be deployed.

View file

@ -13,7 +13,7 @@ DESCRIPTION
EXAMPLES
To list Cloud Security Command Center posture deployments for organization
123, run:
123 in the global location, run:
$ gcloud alpha scc posture-deployments list \
organizations/123/locations/global

View file

@ -16,9 +16,11 @@ DESCRIPTION
Fields specified in update-mask flag are updated. Updatable fields are
description and posture_name with posture_revision-id. The target_resource
for a posture deployment cannot be updated. The posture deployment to be
updated should be in ACTIVE State. If posture details of posture deployment
need to be updated, then the desired posture needs to be in ACTIVE state.
LRO operation ID is returned as the response of the command.
updated should be in ACTIVE State. An empty or "" update-mask implies that
posture-id and posture-revision-id are to be updated. If posture details of
posture deployment need to be updated, then the desired posture needs to be
in ACTIVE state. LRO operation ID is returned as the response of the
command.
EXAMPLES
Update the description of the posture deployment named
@ -36,6 +38,12 @@ EXAMPLES
--update-mask=posture_id,posture_revision-id \
--posture-id=foo-posture --posture-revision-id=abcdefgh
Update posture deployment named `foo-posture-deployment` with the posture named `foo-posture` and revision_id `abcdefgh` in the organization `organizations/123/locations/global`:
$ gcloud alpha scc posture-deployments update \
organizations/123/locations/global/postureDeployments/\
foo-posture-deployment --posture-id=foo-posture \
--posture-revision-id=abcdefgh
POSITIONAL ARGUMENTS
Posture deployment resource - The posture deployment to update. For
example

View file

@ -1,20 +1,21 @@
NAME
gcloud alpha scc securityposture-operations describe - describe a SCC
Security Posture's long running scan operation
gcloud alpha scc posture-operations describe - describe a Cloud Security
Command Center posture long running operation
SYNOPSIS
gcloud alpha scc securityposture-operations describe OPERATION_NAME
gcloud alpha scc posture-operations describe OPERATION_NAME
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Describe a SCC Security Posture's long running scan operation.
(ALPHA) Describe a Cloud Security Command Center (SCC) posture long running
operation.
EXAMPLES
Return long running scan operation status for operation id
(operation-1694515698847-605272e4bcd7c-f93dade6-067467ae) for parent
organizations/123/locations/global
To return long running operation status for operation
(operation-1694515698847-605272e4bcd7c-f93dade6-067467ae) of parent
organizations/123/locations/global, run:
$ gcloud alpha scc securityposture-operations describe \
$ gcloud alpha scc posture-operations describe \
organizations/123/locations/global/operations/\
operation-1694515698847-605272e4bcd7c-f93dade6-067467ae
@ -40,5 +41,7 @@ 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.
access allowlist. This variant is also available:
$ gcloud scc posture-operations describe

View file

@ -0,0 +1,30 @@
NAME
gcloud alpha scc posture-operations - manage Cloud Security Command Center
posture operations
SYNOPSIS
gcloud alpha scc posture-operations COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Cloud Security Command Center (SCC) posture operations.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
describe
(ALPHA) Describe a Cloud Security Command Center (SCC) posture long
running operation.
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. This variant is also available:
$ gcloud scc posture-operations

View file

@ -30,7 +30,7 @@ EXAMPLES
secure_by_default --revision-id=v1.0.0
POSITIONAL ARGUMENTS
Posture template resource - The posture template to describe. For example
Posture template resource - Posture template to be described. For example
organizations/<organizationID>/locations/<location>/postureTemplates/<postureTemplateID>.
The arguments in this group can be used to specify the attributes of this
resource.
@ -65,7 +65,7 @@ POSITIONAL ARGUMENTS
FLAGS
--revision-id=REVISION_ID
ID of the specific posture template revision to describe. If not
ID of the specific posture template revision to be described. If not
specified, latest revision is described.
GCLOUD WIDE FLAGS

View file

@ -9,9 +9,9 @@ SYNOPSIS
DESCRIPTION
(ALPHA) Create a Cloud Security Command Center (SCC) posture. First
argument is the parent of the posture to be created. Second argument is the
name of the posture to be created. The posture details are provided in YAML
file. The file path is mentioned in posture-from-file flag.
argument consists of the parent and name of the posture to be created. The
posture details are provided in YAML file. The file path is mentioned in
--posture-from-file flag.
Created posture is returned as the response of the command. LRO operation
ID is printed as the standard output.
@ -19,10 +19,10 @@ DESCRIPTION
EXAMPLES
Create a posture named posture-foo-1 within parent
organizations/123/locations/global(i.e. a posture in organization 123,
location global, with id posture-foo-1):
location global, with ID posture-foo-1):
$ gcloud alpha scc postures create \
organizations/123/locations/global posture-foo-1 \
organizations/123/locations/global/postures/posture-foo-1 \
--posture-from-file=posture.yaml
POSITIONAL ARGUMENTS

View file

@ -10,7 +10,7 @@ SYNOPSIS
DESCRIPTION
(ALPHA) Delete a Cloud Security Command Center (SCC) posture.
Posture with all it's revisions is deleted. Deletion won't be allowed in
Posture with all its revisions is deleted. Deletion won't be allowed in
case any of the versions of the posture is deployed on a workload. ETAG can
be provided as an optional flag.
@ -32,7 +32,7 @@ EXAMPLES
--etag=ABcdO1Rf5clu7Yhlkwgelo7Vl4tiqd7Sy5iI5SdkSVU
POSITIONAL ARGUMENTS
Posture resource - The posture to delete. For example
Posture resource - The name of the posture to be deleted. For example
organizations/<organizationID>/locations/<location>/postures/<postureID>.
The arguments in this group can be used to specify the attributes of this
resource.

View file

@ -29,7 +29,7 @@ EXAMPLES
--revision-id=abcdefg
POSITIONAL ARGUMENTS
Posture resource - The posture to describe. For example
Posture resource - The posture to be described. For example
organizations/<organizationID>/locations/<location>/postures/<postureID>.
The arguments in this group can be used to specify the attributes of this
resource.
@ -63,7 +63,7 @@ POSITIONAL ARGUMENTS
FLAGS
--revision-id=REVISION_ID
ID of the specific posture revision to describe. If not specified,
ID of the specific posture revision to described. If not specified,
latest revision is described.
GCLOUD WIDE FLAGS

View file

@ -9,10 +9,9 @@ SYNOPSIS
DESCRIPTION
(ALPHA) Extract a Cloud Security Command Center (SCC) posture from a
workload. First argument is the parent of the posture to be created. Second
argument is the name of the posture to be created. The workload from where
the organization policies need to be extracted is provided via 'workload'
flag.
workload. First argument is the parent and name of the posture to be
created. The workload from where the organization policies need to be
extracted is provided via '--workload' flag.
Extracted posture is returned as the response of the command. LRO operation
ID is printed as the standard output.
@ -23,7 +22,7 @@ EXAMPLES
location global, with id posture-foo-1) from workload projects/456:
$ gcloud alpha scc postures extract \
organizations/123/locations/global posture-foo-1 \
organizations/123/locations/global/postures/posture-foo-1 \
--workload=projects/456
POSITIONAL ARGUMENTS

View file

@ -72,7 +72,7 @@ EXAMPLES
POSITIONAL ARGUMENTS
Posture resource - Arguments and flags that specify the Posture instance
to update. The arguments in this group can be used to specify the
to be updated. The arguments in this group can be used to specify the
attributes of this resource.
This must be specified.

View file

@ -1,27 +0,0 @@
NAME
gcloud alpha scc securityposture-operations - manage Cloud Security Command
Center operations
SYNOPSIS
gcloud alpha scc securityposture-operations COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Cloud Security Command Center (SCC) operations.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
describe
(ALPHA) Describe a SCC Security Posture's long running scan operation.
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.