Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud armor Doesn't show custom header values in logs

Hi everyone,

I have enabled a Cloud Armor security policy with a throttle rule based on Custom Authorization HTTP header. This rule is functioning as expected, and requests are being throttled as required. Now, I want to inspect this token in the header within the logs. Therefore, I have enabled logs with

gcloud compute security-policies update ca-policy-1 \
    --log-level=VERBOSE

But it doesn't show in logs instead it show part of jwt token

keys[
0"Bearer eyJ0eXAiOiJKV1QiLCJhbGciO"
]

Is there anything I have missed here, and how can I configure Cloud Armor to display custom headers in logs

1 3 1,369