Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion templates_cspm/CloudAgentlessRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ Resources:
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"

- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"

Outputs:
RoleARN:
Description: ARN of the role created
Expand Down
12 changes: 12 additions & 0 deletions templates_cspm/OrgCloudAgentlessRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ Resources:
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
RoleStackSet:
Type: AWS::CloudFormation::StackSet
Properties:
Expand Down Expand Up @@ -157,3 +163,9 @@ Resources:
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
6 changes: 6 additions & 0 deletions templates_cspm_cloudlogs/FullInstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ Resources:
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
CloudLogsRole:
Type: "AWS::IAM::Role"
Properties:
Expand Down
12 changes: 12 additions & 0 deletions templates_cspm_cloudlogs/OrgFullInstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ Resources:
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
CloudLogsRole:
Type: "AWS::IAM::Role"
Properties:
Expand Down Expand Up @@ -213,3 +219,9 @@ Resources:
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
6 changes: 6 additions & 0 deletions templates_cspm_eventbridge/FullInstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ Resources:
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
EventBridgeRole:
Type: AWS::IAM::Role
Properties:
Expand Down
12 changes: 12 additions & 0 deletions templates_cspm_eventbridge/OrgFullInstall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
Action:
- sts:AssumeRole
Resource:
- "arn:*:iam::*:role/AWSCloudFormationStackSetExecutionRole"

Check failure on line 114 in templates_cspm_eventbridge/OrgFullInstall.yaml

View workflow job for this annotation

GitHub Actions / Lint

E3510 'arn:*:iam::*:role/AWSCloudFormationStackSetExecutionRole' does not match '^(arn:aws[A-Za-z\\-]*?:[^:]+:[^:]*(:(?:\\d{12}|\\*|aws)?:.+|)|\\*)$'
ExecutionRole:
Type: AWS::IAM::Role
Properties:
Expand Down Expand Up @@ -169,6 +169,12 @@
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
EventBridgeRole:
Type: AWS::IAM::Role
Properties:
Expand Down Expand Up @@ -294,6 +300,12 @@
- Effect: "Allow"
Action: "account:GetContactInformation"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListAgents"
Resource: "*"
- Effect: "Allow"
Action: "bedrock:ListKnowledgeBases"
Resource: "*"
EventBridgeRole:
Type: AWS::IAM::Role
Properties:
Expand Down
Loading