Created
March 23, 2022 20:39
-
-
Save Israphel/ea30f58e7195cae251c7e89e32aa8e09 to your computer and use it in GitHub Desktop.
This file contains hidden or 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": [ | |
{ | |
"Sid": "BasePermissions", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets", | |
"sns:GetSubscriptionAttributes", | |
"sns:GetTopicAttributes", | |
"sns:ListSubscriptions", | |
"sns:ListSubscriptionsByTopic", | |
"sns:ListTopics", | |
"sqs:ListQueues" | |
], | |
"Resource": [ | |
"*" | |
] | |
}, | |
{ | |
"Sid": "SQSPermissions", | |
"Effect": "Allow", | |
"Action": [ | |
"sqs:DeleteMessage", | |
"sqs:GetQueueAttributes", | |
"sqs:GetQueueUrl", | |
"sqs:ListDeadLetterSourceQueues", | |
"sqs:ListQueueTags", | |
"sqs:ReceiveMessage" | |
], | |
"Resource": [ | |
"${lacework_sqs_queue_arn}" | |
] | |
}, | |
{ | |
"Sid": "S3BasePermissions", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetBucketAcl", | |
"s3:GetBucketLocation", | |
"s3:GetBucketLogging", | |
"s3:GetBucketPolicy", | |
"s3:ListBucket" | |
], | |
"Resource": [ | |
"${lacework_s3_bucket_arn}" | |
] | |
}, | |
{ | |
"Sid": "S3GetPermissions", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetObject*" | |
], | |
"Resource": [ | |
"${lacework_s3_bucket_arn}/AWSLogs/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment