Skip to content

Commit

Permalink
mergeMain
Browse files Browse the repository at this point in the history
  • Loading branch information
jjzhangjjzhang committed Nov 15, 2023
2 parents e5e5219 + 3e5a30d commit d0ae261
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,6 @@ The audit policy is comprised of the following permissions:
| | apigatewayv2:GetVpcLinks | |
| GLUE | glue:ListWorkflows | * |
| | glue:BatchGetWorkflows | |
| | glue:GetTags | |
| | glue:GetTags | |
| CODEBUILD | codebuild:ListBuilds | * |
| | codebuild:BatchGetBuilds | |
10 changes: 8 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,17 @@ data "aws_iam_policy_document" "lacework_audit_policy" {
sid = "GLUE"
actions = ["glue:ListWorkflows",
"glue:BatchGetWorkflows",
"glue:GetTags"
"glue:GetTags"]
}

statement {
sid = "CODEBUILD"
actions = ["codebuild:ListBuilds",
"codebuild:BatchGetBuilds",
]
resources = ["*"]
}
}


resource "aws_iam_policy" "lacework_audit_policy" {
count = var.use_existing_iam_role_policy ? 0 : 1
Expand Down

0 comments on commit d0ae261

Please sign in to comment.