akamai / cli-appsec

Akamai CLI for Application Security
https://developer.akamai.com/cli
Apache License 2.0
13 stars 9 forks source link

Akamai WAF Attack Group - Add Exceptions #44

Open rahul8172q opened 1 year ago

rahul8172q commented 1 year ago

Is there a way, i can add any exception ( Header name & Value)to all Attack groups and all Security policies at once. I am descent with coding loops but not an expert.

If i can run per policy that would be fine as well.

This is what i am using: Modify the conditions and exceptions for an evaluation rule PUT https://{hostname}/appsec/v1/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/eval-rules/{ruleId}/condition-exception