Created
March 26, 2019 22:02
-
-
Save 0xdabbad00/5d1d5fd619a20ba2ee899c56f8d6787f to your computer and use it in GitHub Desktop.
WARNING: Only tested in a test account, beware, this could break things.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"apigateway:*", | |
"autoscaling:*", | |
"cloudtrail:*", | |
"cloudwatch:*", | |
"cloudformation:*", | |
"dynamodb:*", | |
"elasticloadbalancing:*", | |
"ec2:*", | |
"health:*", | |
"iam:*", | |
"kms:*", | |
"rds:*", | |
"s3:*", | |
"sts:*", | |
"trustedadvisor:*" | |
], | |
"Effect": "Allow", | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Deny", | |
"Action": "*", | |
"Resource": "*", | |
"Condition": { | |
"Bool": { | |
"aws:SecureTransport": false | |
} | |
} | |
}, | |
{ | |
"Effect": "Deny", | |
"Action": "*", | |
"Resource": "*", | |
"Condition": { | |
"StringLike": { | |
"aws:PrincipalARN": "arn:aws:iam::*:root" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment