Skip to content

Commit

Permalink
Add macie2:ListClassificationJobs permission
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinadhruve10 committed Mar 8, 2024
1 parent 8c58165 commit 334598a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions modules/services/trust-relationship/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@ data "aws_iam_policy_document" "custom_resources_policy" {
"arn:aws:waf-regional:*:*:rulegroup/*"
]
}

statement {
sid = "ListJobsOnConsole"

effect = "Allow"

actions = [
"macie2:ListClassificationJobs",
]

resources = [
"*",
]
}
}

#----------------------------------------------------------
Expand Down Expand Up @@ -132,6 +146,10 @@ Resources:
Resource:
- "arn:aws:waf-regional:*:*:rule/*"
- "arn:aws:waf-regional:*:*:rulegroup/*"
- Sid: "ListJobsOnConsole"
Effect: "Allow"
Action: "macie2:ListClassificationJobs"
Resource: "*"
TEMPLATE
}

Expand Down

0 comments on commit 334598a

Please sign in to comment.