1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +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

@ -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