diff options
Diffstat (limited to 'devtools')
| -rwxr-xr-x | devtools/describe_cloud_armor.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devtools/describe_cloud_armor.sh b/devtools/describe_cloud_armor.sh new file mode 100755 index 00000000..fe85edb2 --- /dev/null +++ b/devtools/describe_cloud_armor.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# Display the state of the Cloud Armor rules for the prod frontend. + +echo 'Cloud Armor rule for prod. Note rateLimitOptions.' + +gcloud compute security-policies describe prod-frontend + +echo +echo 'To modify:' +echo '- Obtain the necessary permissions.' +echo '- Visit https://console.google.com/net-security/securitypolicies/details/prod-frontend?project=$PROJECT&hl=en&tab=rules' +echo '- Click Edit' |
