Skip to content

Commit

Permalink
Merge pull request #63 from mathieu-benoit/cloud-armor-log-level-verbose
Browse files Browse the repository at this point in the history
Cloud Armor `advancedOptionsConfig.logLevel: VERBOSE`
  • Loading branch information
Mathieu Benoit authored Aug 24, 2022
2 parents 0017203 + 4d2cf86 commit 3d4c0f2
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions content/ingress-gateway/set-up-cloud-armor.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ spec:
adaptiveProtectionConfig:
layer7DdosDefenseConfig:
enable: true
advancedOptionsConfig:
logLevel: VERBOSE
rule:
- action: allow
description: "Default rule"
Expand Down Expand Up @@ -157,12 +159,3 @@ gcloud compute ssl-policies list \
--project $TENANT_PROJECT_ID
```
Wait and re-run this command above until you see the resources created.

## Enable Cloud Armor logging

We also want to configure the Cloud Armor logging, it's not supported yet to do that via Config Connector, so we do that via this `gcloud` command:
```Bash
gcloud compute security-policies update ${SECURITY_POLICY_NAME} \
--project ${TENANT_PROJECT_ID} \
--log-level=VERBOSE
```

0 comments on commit 3d4c0f2

Please sign in to comment.