Skip to content

Locating unassociated WAF ACLs

0

Is it possible via CLI to locate WAF ACLs that are not associated with any resource. These have a cost associated with them however the API responses do not indicate association or not. The only means I can see at the moment to do this automatically is to iterate through all potential resources that could be used for association i.e. ELB, CloudFront etc. then perform a "get-web-acl-for-resource" for each and end up with a list of ACLs where it is not associated with any of these.

1 Answer
0

Never mind. After some more digging I realised using the "list-resources-for-web-acl" call would give me the output I needed.

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.