Skip to content

Commit

Permalink
feat: add AWS personalize service permissions (#125)
Browse files Browse the repository at this point in the history
Signed-off-by: ljohnny <[email protected]>
  • Loading branch information
ljohnny-git authored Jan 3, 2025
1 parent c0ccfb8 commit a40e918
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,6 @@ The audit policy is comprised of the following permissions:
| | aps:DescribeRuleGroupsNamespace | |
| APPSTREAM | appstream:Describe* | |
| | appstream:List* | |
| PERSONALIZE | personalize:Describe* | |
| | personalize:List* | |
| | personalize:GetSolutionMetrics | |
9 changes: 9 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,15 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
]
resources = ["*"]
}

statement {
sid = "PERSONALIZE"
actions = ["personalize:Describe*",
"personalize:List*",
"personalize:GetSolutionMetrics",
]
resources = ["*"]
}
}

resource "aws_iam_policy" "lacework_audit_policy" {
Expand Down

0 comments on commit a40e918

Please sign in to comment.