gcloud beta compute security-policies

NAME
gcloud beta compute security-policies - read and manipulate Cloud Armor security policies
SYNOPSIS
gcloud beta compute security-policiesGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Read and manipulate Cloud Armor security policies.

Security policies are used to control access to Google Cloud HTTP/HTTPS loadbalancers.

For more information about security policies, seeSecuritypolicies for HTTPS load balancing.

See also:Securitypolicies API.

GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
rules
(BETA) Read and manipulate Compute Engine security policies rules.
COMMANDS
COMMAND is one of the following:
add-layer7-ddos-defense-threshold-config
(BETA) Add a layer7 ddos defense threshold config to a ComputeEngine security policy.
add-user-defined-field
(BETA) Add a user defined field to a Compute Engine securitypolicy.
create
(BETA) Create a Compute Engine security policy.
delete
(BETA) Delete security policies.
describe
(BETA) Describe a Compute Engine security policy.
export
(BETA) Export security policy configs into YAML or JSON files.
import
(BETA) Import security policy configs into your project.
list
(BETA) List security policies.
list-preconfigured-expression-sets
(BETA) List all available preconfigured expression sets.
remove-layer7-ddos-defense-threshold-config
(BETA) Remove a layer7 ddos defense threshold config from a ComputeEngine security policy.
remove-user-defined-field
(BETA) Remove a user defined field from a Compute Engine securitypolicy.
update
(BETA) Update a Compute Engine security policy.
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudcomputesecurity-policies
gcloudalphacomputesecurity-policies

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.