Skip to content

Commit

Permalink
GetContactInformation perm added (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-penacho-sysdig authored Jun 6, 2024
1 parent ff90b95 commit 1d110e5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions modules/services/trust-relationship/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@ data "aws_iam_policy_document" "custom_resources_policy" {
"*"
]
}

statement {
sid = "AccessAccountContactInfo"

effect = "Allow"

actions = [
"account:GetContactInformation",
]

resources = [
"*",
]
}
}

#----------------------------------------------------------
Expand Down Expand Up @@ -175,6 +189,11 @@ Resources:
- "lambda:GetRuntimeManagementConfig"
- "lambda:GetFunction"
Resource: "*"
- Sid: "AccessAccountContactInfo"
Effect: "Allow"
Action:
- "account:GetContactInformation"
Resource: "*"
TEMPLATE
}

Expand Down

0 comments on commit 1d110e5

Please sign in to comment.