From 91ad80b8684447b0bae4855f60bc47725a727dc5 Mon Sep 17 00:00:00 2001 From: x p k Date: Wed, 5 May 2021 14:40:42 +0800 Subject: [PATCH] dump-scp.sh --- aws/dump-scp.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 aws/dump-scp.sh diff --git a/aws/dump-scp.sh b/aws/dump-scp.sh new file mode 100644 index 0000000..8661c5d --- /dev/null +++ b/aws/dump-scp.sh @@ -0,0 +1 @@ +aws organizations list-policies --filter SERVICE_CONTROL_POLICY | jq -cr '.Policies[] | .Id' | while read i; do aws organizations describe-policy --policy-id $i --output text | tee $i.txt; done