Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOG-6197 - Limit SQS permissions only to those really needed #127

Merged
merged 1 commit into from Feb 10, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Limit SQS permissions only to those really needed

  • Loading branch information
Jiri Tomek
Jiri Tomek committed Feb 7, 2020
commit f33eb9a1bb3b91153b5ea37a09944797b1116f19
@@ -30,7 +30,12 @@ class AWS:
"Principal": {
"AWS": "arn:aws:iam::%(account_number)s:root"
},
"Action": "SQS:*",
"Action": [
"sqs:ReceiveMessage",
"sqs:GetQueueUrl",
"sqs:GetQueueAttributes",
"sqs:DeleteMessage"
],
"Resource": "%(queue_arn)s"
}
"""
@@ -73,7 +78,10 @@ class AWS:
{
"Effect": "Allow",
"Action": [
"sqs:*"
"sqs:ReceiveMessage",
"sqs:GetQueueUrl",
"sqs:GetQueueAttributes",
"sqs:DeleteMessage"
],
"Resource": [
"%(queue_arn)s"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.