mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
72 lines
2.8 KiB
Text
72 lines
2.8 KiB
Text
NAME
|
|
gcloud beta compute security-policies
|
|
add-layer7-ddos-defense-threshold-config - add a layer7 ddos defense
|
|
threshold config to a Compute Engine security policy
|
|
|
|
SYNOPSIS
|
|
gcloud beta compute security-policies
|
|
add-layer7-ddos-defense-threshold-config NAME
|
|
--threshold-config-name=THRESHOLD_CONFIG_NAME
|
|
[--auto-deploy-confidence-threshold=AUTO_DEPLOY_CONFIDENCE_THRESHOLD]
|
|
[--auto-deploy-expiration-sec=AUTO_DEPLOY_EXPIRATION_SEC]
|
|
[--auto-deploy-impacted-baseline-threshold=AUTO_DEPLOY_IMPACTED_BASELINE_THRESHOLD]
|
|
[--auto-deploy-load-threshold=AUTO_DEPLOY_LOAD_THRESHOLD]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) gcloud beta compute security-policies
|
|
add-layer7-ddos-defense-threshold-config is used to add layer7 ddos defense
|
|
threshold configs to security policies.
|
|
|
|
EXAMPLES
|
|
To add a layer7 ddos defense threshold config run the following command:
|
|
|
|
$ gcloud beta compute security-policies \
|
|
add-layer7-ddos-defense-threshold-config NAME \
|
|
--threshold-config-name=my-threshold-config-name \
|
|
--auto-deploy-load-threshold=0.7 \
|
|
--auto-deploy-confidence-threshold=0.8 \
|
|
--auto-deploy-impacted-baseline-threshold=0.1 \
|
|
--auto-deploy-expiration-sec=4800
|
|
|
|
POSITIONAL ARGUMENTS
|
|
NAME
|
|
Name of the security policy to update.
|
|
|
|
REQUIRED FLAGS
|
|
--threshold-config-name=THRESHOLD_CONFIG_NAME
|
|
The name for the threshold config.
|
|
|
|
OPTIONAL FLAGS
|
|
--auto-deploy-confidence-threshold=AUTO_DEPLOY_CONFIDENCE_THRESHOLD
|
|
The threshold of the confidence of an identified attack over which
|
|
auto-deploy takes action.
|
|
|
|
--auto-deploy-expiration-sec=AUTO_DEPLOY_EXPIRATION_SEC
|
|
The duration of actions, if any, taken by auto-deploy.
|
|
|
|
--auto-deploy-impacted-baseline-threshold=AUTO_DEPLOY_IMPACTED_BASELINE_THRESHOLD
|
|
The threshold on the estimated impact to the baseline traffic of a
|
|
suggested mitigation, below which auto-deploy takes action.
|
|
|
|
--auto-deploy-load-threshold=AUTO_DEPLOY_LOAD_THRESHOLD
|
|
The threshold on backend's load over which auto-deploy takes action.
|
|
|
|
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
|
|
This command is currently in beta and might change without notice. These
|
|
variants are also available:
|
|
|
|
$ gcloud compute security-policies \
|
|
add-layer7-ddos-defense-threshold-config
|
|
|
|
$ gcloud alpha compute security-policies \
|
|
add-layer7-ddos-defense-threshold-config
|
|
|