Skip to content

Commit

Permalink
Replaced "events:DescribeRule" with "events:ListRules" permission for…
Browse files Browse the repository at this point in the history
… capability resource handler (#20)
  • Loading branch information
dmoini authored Dec 28, 2023
1 parent c155ed2 commit df63fe2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions aws-b2bi-capability/aws-b2bi-capability.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,7 @@
"permissions": [
"b2bi:CreateCapability",
"b2bi:TagResource",
"s3:GetObject",
"s3:ListBucket",
"events:DescribeRule",
"events:ListRules",
"events:PutRule",
"events:PutTargets",
"logs:CreateLogDelivery",
Expand All @@ -239,7 +237,9 @@
"logs:DescribeResourcePolicies",
"logs:ListLogDeliveries",
"logs:PutLogEvents",
"logs:PutResourcePolicy"
"logs:PutResourcePolicy",
"s3:GetObject",
"s3:ListBucket"
]
},
"read": {
Expand Down
2 changes: 1 addition & 1 deletion aws-b2bi-capability/resource-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Resources:
- "b2bi:TagResource"
- "b2bi:UntagResource"
- "b2bi:UpdateCapability"
- "events:DescribeRule"
- "events:ListRules"
- "events:PutRule"
- "events:PutTargets"
- "logs:CreateLogDelivery"
Expand Down

0 comments on commit df63fe2

Please sign in to comment.