gcloud alpha compute security-policies - read and manipulate Cloud Armor security policies
gcloud alpha compute security-policies GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(ALPHA) Read and manipulate Cloud Armor security policies.
Security policies are used to control access to Google Cloud HTTP/HTTPS load balancers.
For more information about security policies, see Security policies for HTTPS load balancing https://cloud.google.com/armor/docs/security-policy-concepts#security_policies_for_https_load_balancing.
See also: Security policies API https://cloud.google.com/compute/docs/reference/rest/v1/securityPolicies.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- rules
(ALPHA) Read and manipulate Compute Engine security policies rules.
COMMAND is one of the following:
- create
(ALPHA) Create a Compute Engine security policy.
- delete
(ALPHA) Delete security policies.
- describe
(ALPHA) Describe a Compute Engine security policy.
- export
(ALPHA) Export security policy configs into YAML or JSON files.
- import
(ALPHA) Import security policy configs into your project.
- list
(ALPHA) List Google Compute Engine security policies.
- list-preconfigured-expression-sets
(ALPHA) List all available preconfigured expression sets.
- update
(ALPHA) Update a Compute Engine security policy.
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 compute security-policies
$ gcloud beta compute security-policies