Skip to content

Commit

Permalink
Adding necessary permissions for CFT aws lambda scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpais committed Apr 29, 2024
1 parent 20f2d71 commit 1bb20a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates_cspm/CloudAgentlessRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ Resources:
- Effect: "Allow"
Action: "macie2:ListClassificationJobs"
Resource: "*"
- Effect: "Allow"
Action: "lambda:GetRuntimeManagementConfig"
Resource: "*"

Outputs:
RoleARN:
Expand Down
6 changes: 6 additions & 0 deletions templates_cspm/OrgCloudAgentlessRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ Resources:
- Effect: "Allow"
Action: "macie2:ListClassificationJobs"
Resource: "*"
- Effect: "Allow"
Action: "lambda:GetRuntimeManagementConfig"
Resource: "*"
RoleStackSet:
Type: AWS::CloudFormation::StackSet
Properties:
Expand Down Expand Up @@ -138,3 +141,6 @@ Resources:
- Effect: "Allow"
Action: "macie2:ListClassificationJobs"
Resource: "*"
- Effect: "Allow"
Action: "lambda:GetRuntimeManagementConfig"
Resource: "*"

0 comments on commit 1bb20a5

Please sign in to comment.