Skip to content

Commit

Permalink
Add glacier permission (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjzhangjjzhang authored Dec 13, 2023
1 parent b868fe3 commit 6c4c163
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ The audit policy is comprised of the following permissions:
| | apigatewayv2:GetRouteResponses | |
| | apigatewayv2:GetStages | |
| | apigatewayv2:GetVpcLinks | |
| GLACIER | glacier:ListTagsForVault | * |
| WAFREGIONAL | waf-regional:ListRules | * |
| | waf-regional:GetRule | |
| | waf-regional:ListRuleGroups | |
Expand Down
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
"apigatewayv2:GetVpcLinks"]
resources = ["*"]
}
statement {
sid = "GLACIER"
actions = ["glacier:ListTagsForVault"]
resources = ["*"]
}
statement {
sid = "WAFREGIONAL"
actions = ["waf-regional:ListRules",
Expand Down

0 comments on commit 6c4c163

Please sign in to comment.