From d5093b21f4b593a2fb561011b867d24c4cad04a8 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 22 Aug 2021 07:43:12 +0000 Subject: [PATCH] post(aws-waf): move usage guide to repo - https://gitlab.com/curben/aws-scripts --- source/_posts/aws-waf.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/_posts/aws-waf.md b/source/_posts/aws-waf.md index ac14d8d..6644aef 100644 --- a/source/_posts/aws-waf.md +++ b/source/_posts/aws-waf.md @@ -12,14 +12,6 @@ I regularly need to audit my company's access control lists (ACLs) implemented i The script is [available here](https://gitlab.com/curben/aws-scripts/-/blob/main/waf-acl.py). It currently only supports Cloudfront ACL, feel free to extend it to support regional ACL. -``` -./waf-acl.py --profile {profile-name} --directory {output-dir} --original --wcu --total-wcu -``` - -**profile-name**: The profile name as listed in "~/.aws/credentials". -**directory**: Output directory. It will be created if not exist. Defaults to current folder. -**original**: Preserve the original ACL after conversion and save it with "-original" suffix. - ## ACL schema The underlying format of a web ACL is JSON. In this use case, I'm only concern with two keys: