Skip to content

Commit

Permalink
feat(RAIN-90851): Add permission for two glue APIs (#84)
Browse files Browse the repository at this point in the history
* Add glue permission

* addAnotherAPI

* addGlue

* resolve one error
  • Loading branch information
jjzhangjjzhang authored Nov 15, 2023
1 parent 3e5a30d commit 601e098
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,8 @@ The audit policy is comprised of the following permissions:
| | apigatewayv2:GetRouteResponses | |
| | apigatewayv2:GetStages | |
| | apigatewayv2:GetVpcLinks | |
| GLUE | glue:ListWorkflows | * |
| | glue:BatchGetWorkflows | |
| | glue:GetTags | |
| CODEBUILD | codebuild:ListBuilds | * |
| | codebuild:BatchGetBuilds | |
| | codebuild:BatchGetBuilds | |
7 changes: 7 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
"apigatewayv2:GetVpcLinks"]
resources = ["*"]
}
statement {
sid = "GLUE"
actions = ["glue:ListWorkflows",
"glue:BatchGetWorkflows",
"glue:GetTags"]
resources = ["*"]
}

statement {
sid = "CODEBUILD"
Expand Down

0 comments on commit 601e098

Please sign in to comment.