mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
65 lines
2.2 KiB
Text
65 lines
2.2 KiB
Text
NAME
|
|
gcloud compute security-policies update - update a Compute Engine security
|
|
policy
|
|
|
|
SYNOPSIS
|
|
gcloud compute security-policies update NAME [--description=DESCRIPTION]
|
|
[--enable-layer7-ddos-defense] [--json-parsing=JSON_PARSING]
|
|
[--layer7-ddos-defense-rule-visibility=VISIBILITY_TYPE]
|
|
[--log-level=LOG_LEVEL]
|
|
[--recaptcha-redirect-site-key=RECAPTCHA_REDIRECT_SITE_KEY]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
gcloud compute security-policies update is used to update security
|
|
policies.
|
|
|
|
EXAMPLES
|
|
To update the description run this:
|
|
|
|
$ gcloud compute security-policies update SECURITY_POLICY \
|
|
--description='new description'
|
|
|
|
POSITIONAL ARGUMENTS
|
|
NAME
|
|
Name of the security policy to update.
|
|
|
|
FLAGS
|
|
--description=DESCRIPTION
|
|
An optional, textual description for the security policy.
|
|
|
|
--enable-layer7-ddos-defense
|
|
Whether to enable Cloud Armor Layer 7 DDoS Defense Adaptive Protection.
|
|
|
|
--json-parsing=JSON_PARSING
|
|
The JSON parsing behavior for this rule. Must be one of the following
|
|
values: [DISABLED, STANDARD]. JSON_PARSING must be one of: DISABLED,
|
|
STANDARD.
|
|
|
|
--layer7-ddos-defense-rule-visibility=VISIBILITY_TYPE
|
|
The visibility type indicates whether the rules are opaque or
|
|
transparent. VISIBILITY_TYPE must be one of: STANDARD, PREMIUM.
|
|
|
|
--log-level=LOG_LEVEL
|
|
The level of detail to display for WAF logging. LOG_LEVEL must be one
|
|
of: NORMAL, VERBOSE.
|
|
|
|
--recaptcha-redirect-site-key=RECAPTCHA_REDIRECT_SITE_KEY
|
|
The reCAPTCHA site key to be used for rules using the redirect action
|
|
and the google-recaptcha redirect type under the security policy.
|
|
|
|
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.
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha compute security-policies update
|
|
|
|
$ gcloud beta compute security-policies update
|
|
|