Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
Created September 3, 2018 17:36
Show Gist options
  • Save kwilczynski/856ec5eca0c10709fe4e8c717e3499b1 to your computer and use it in GitHub Desktop.
Save kwilczynski/856ec5eca0c10709fe4e8c717e3499b1 to your computer and use it in GitHub Desktop.
Enhanced Read Only IAM policy (to be added alongside "arn:aws:iam::aws:policy/ReadOnlyAccess")
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": [
"cloudformation:GetTemplate",
"dynamodb:GetItem",
"dynamodb:BatchGetItem",
"dynamodb:Query",
"dynamodb:Scan",
"ec2:GetConsoleOutput",
"ec2:GetConsoleScreenshot",
"ecr:BatchGetImage",
"ecr:GetAuthorizationToken",
"ecr:GetDownloadUrlForLayer",
"kinesis:Get*",
"lambda:GetFunction",
"logs:GetLogEvents",
"s3:GetObject",
"sdb:Select*",
"sqs:ReceiveMessage"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment