mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Thu Oct 5 11:50:15 UTC 2023
This commit is contained in:
parent
6c60d7f07f
commit
9641ff6585
118 changed files with 2726 additions and 214 deletions
67
gcloud/alpha/scc/posture-deployments/create
Normal file
67
gcloud/alpha/scc/posture-deployments/create
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
NAME
|
||||
gcloud alpha scc posture-deployments create - create a Cloud Security
|
||||
Command Center posture deployment
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc posture-deployments create POSTURE_DEPLOYMENT_PARENT
|
||||
POSTURE_DEPLOYMENT_ID --posture-name=POSTURE_NAME
|
||||
--posture-revision-id=POSTURE_REVISION_ID
|
||||
--target-resource=TARGET_RESOURCE [--description=DESCRIPTION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a Cloud Security Command Center (SCC) posture deployment.
|
||||
First argument is the parent of the posture-deployment to be created.
|
||||
Second argument is the name of the posture-deployment to be created. It is
|
||||
followed by details of the posture to be deployed and the target_resource
|
||||
to be deployed on.
|
||||
|
||||
LRO operation ID is returned as the response of the command.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
POSTURE_DEPLOYMENT_PARENT
|
||||
Name of the organization of the workload where posture-deployment is to
|
||||
be created. Format: organizations/<organizationID>/locations/<location>
|
||||
|
||||
POSTURE_DEPLOYMENT_ID
|
||||
Name of the posture-deployment to be created. It has to be unique for
|
||||
an organization.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--posture-name=POSTURE_NAME
|
||||
Posture that needs to be deployed. Format:
|
||||
organizations/<organizationID>/locations/global/postures/<postureID>
|
||||
|
||||
--posture-revision-id=POSTURE_REVISION_ID
|
||||
Posture revision that needs to be deployed.
|
||||
|
||||
--target-resource=TARGET_RESOURCE
|
||||
Name of the workload on which posture deployment is to be created. It
|
||||
could be an organization, folder or a project. Possible formats: |
|
||||
organizations/<organizationID> | folders/<folderID> |
|
||||
projects/<projectID> The above mentioned IDs need to have numeric
|
||||
format.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--description=DESCRIPTION
|
||||
User provided description of the posture-deployment.
|
||||
|
||||
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 securityposture/v1alpha 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.
|
||||
|
||||
61
gcloud/alpha/scc/posture-deployments/delete
Normal file
61
gcloud/alpha/scc/posture-deployments/delete
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
NAME
|
||||
gcloud alpha scc posture-deployments delete - delete a Cloud Security
|
||||
Command Center posture deployment
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc posture-deployments delete POSTURE_DEPLOYMENT_NAME
|
||||
[--etag=ETAG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Delete a Cloud Security Command Center (SCC) posture deployment.
|
||||
|
||||
EXAMPLES
|
||||
Delete the posture deployment named
|
||||
organizations/123/locations/global/postureDeployments/posture-deployment-foo
|
||||
(i.e. a posture deployment in organization 123, location global, with id
|
||||
posture-deployment-foo):
|
||||
|
||||
$ gcloud alpha scc posture-deployments delete \
|
||||
organizations/123/locations/global/postureDeployments/\
|
||||
posture-deployment-foo
|
||||
|
||||
Delete the posture deployment named
|
||||
organizations/123/locations/global/postureDeployments/posture-deployment-foo
|
||||
(i.e. a posture deployment in organization 123, location global, with id
|
||||
posture-deployment-foo) for the ETAG
|
||||
ABcdO1Rf5clu7Yhlkwgelo7Vl4tiqd7Sy5iP5SdkSVU
|
||||
|
||||
$ gcloud alpha scc posture-deployments delete \
|
||||
organizations/123/locations/global/postureDeployments/\
|
||||
posture-deployment-foo \
|
||||
--etag=ABcdO1Rf5clu7Yhlkwgelo7Vl4tiqd7Sy5iI5SdkSVU
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
POSTURE_DEPLOYMENT_NAME
|
||||
Relative resource name of the posture deployment, like
|
||||
organizations/<organizationID>/locations/<location>/postureDeployments/<postureID>.
|
||||
|
||||
FLAGS
|
||||
--etag=ETAG
|
||||
Etag is an optional flag. If the provided Etag doesn't match the server
|
||||
generated Etag, the delete operation won't proceed.
|
||||
|
||||
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 securityposture/v1alpha 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.
|
||||
|
||||
44
gcloud/alpha/scc/posture-deployments/describe
Normal file
44
gcloud/alpha/scc/posture-deployments/describe
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
NAME
|
||||
gcloud alpha scc posture-deployments describe - describe a Cloud Security
|
||||
Command Center posture deployment
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc posture-deployments describe POSTURE_DEPLOYMENT_NAME
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe a Cloud Security Command Center (SCC) posture deployment.
|
||||
|
||||
EXAMPLES
|
||||
Describe a posture-deployment present on an organization: organizations/123/locations/global/postureDeployments/posture-deployment-foo-1
|
||||
(i.e. a posture-deployment
|
||||
in organization 123, location global, with id posture-deployment-foo-1):
|
||||
|
||||
$ gcloud alpha scc posture-deployments describe \
|
||||
organizations/123/locations/global/postureDeployments/\
|
||||
posture-deployment-foo-1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
POSTURE_DEPLOYMENT_NAME
|
||||
Relative resource name of the posture-deployment, like
|
||||
organizations/<organizationID>/locations/<location>/postureDeployments/<postureDeploymentID>.
|
||||
|
||||
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 securityposture/v1alpha 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.
|
||||
|
||||
44
gcloud/alpha/scc/posture-deployments/help
Normal file
44
gcloud/alpha/scc/posture-deployments/help
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
NAME
|
||||
gcloud alpha scc posture-deployments - manage Cloud Security Command Center
|
||||
posture deployments
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc posture-deployments COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Manage Cloud Security Command Center (SCC) posture deployments.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create a Cloud Security Command Center (SCC) posture
|
||||
deployment.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a Cloud Security Command Center (SCC) posture
|
||||
deployment.
|
||||
|
||||
describe
|
||||
(ALPHA) Describe a Cloud Security Command Center (SCC) posture
|
||||
deployment.
|
||||
|
||||
list
|
||||
(ALPHA) List the details of Cloud Security Command Center (SCC) posture
|
||||
deployments.
|
||||
|
||||
update
|
||||
(ALPHA) Update the given Cloud Security Command Center (SCC) posture
|
||||
deployment.
|
||||
|
||||
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.
|
||||
|
||||
71
gcloud/alpha/scc/posture-deployments/list
Normal file
71
gcloud/alpha/scc/posture-deployments/list
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
NAME
|
||||
gcloud alpha scc posture-deployments list - list the details of Cloud
|
||||
Security Command Center posture deployments
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc posture-deployments list PARENT [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List the details of the Cloud Security Command Center (SCC) posture
|
||||
deployments for the specified organization.
|
||||
|
||||
EXAMPLES
|
||||
To list Cloud Security Command Center posture deployments for organization
|
||||
123, run:
|
||||
|
||||
$ gcloud alpha scc posture-deployments list \
|
||||
organizations/123/locations/global
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
PARENT
|
||||
Organization for listing the Cloud Security Command Center posture
|
||||
deployments available at the organization level. Formatted as
|
||||
organizations/<organizationID>/locations/<location>.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
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 securityposture/v1alpha 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.
|
||||
|
||||
78
gcloud/alpha/scc/posture-deployments/update
Normal file
78
gcloud/alpha/scc/posture-deployments/update
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
NAME
|
||||
gcloud alpha scc posture-deployments update - update the given Cloud
|
||||
Security Command Center posture deployment
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc posture-deployments update POSTURE_DEPLOYMENT_NAME
|
||||
[--description=DESCRIPTION] [--etag=ETAG] [--update-mask=UPDATE_MASK]
|
||||
[--posture-id=POSTURE_ID --posture-revision-id=POSTURE_REVISION_ID]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Update a Cloud Security Command Center (SCC) posture deployment.
|
||||
|
||||
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.
|
||||
|
||||
EXAMPLES
|
||||
Update the description of the posture deployment named
|
||||
foo-posture-deployment in the organization
|
||||
organizations/123/locations/global: $ gcloud alpha scc posture-deployments update \
|
||||
organizations/123/locations/global/postureDeployments/\
|
||||
foo-posture-deployment --update-mask=description \
|
||||
--description="updated-description"
|
||||
|
||||
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 \
|
||||
--update-mask=posture_id,posture_revision-id \
|
||||
--posture-id=foo-posture --posture-revision-id=abcdefgh
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
POSTURE_DEPLOYMENT_NAME
|
||||
Relative resource name of the posture-deployment, like
|
||||
organizations/<organizationID>/locations/<location>/postureDeployments/<postureDeploymentID>.
|
||||
|
||||
FLAGS
|
||||
--description=DESCRIPTION
|
||||
Updated description of posture deployment.
|
||||
|
||||
--etag=ETAG
|
||||
Etag is an optional flag. If the provided Etag doesn't match the server
|
||||
generated Etag, the update operation won't proceed.
|
||||
|
||||
--update-mask=UPDATE_MASK
|
||||
Comma-separated string containing list of fields to be updated.
|
||||
|
||||
--posture-id=POSTURE_ID
|
||||
Relative name of the posture to be updated, like
|
||||
organizations/<organizationID>/locations/<location>/postures/<postureID>.
|
||||
|
||||
--posture-revision-id=POSTURE_REVISION_ID
|
||||
Revision ID of the posture to be updated.
|
||||
|
||||
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 securityposture/v1alpha 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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue