aws-elasticloadbalancingv2: logAccessLogs grants too wide permissions #33477
Labels
@aws-cdk/aws-elasticloadbalancingv2
Related to Amazon Elastic Load Balancing V2
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
We are receiving alerts that our policy has too wide permissions. Anybody using
{"Service":"delivery.logs.amazonaws.com"}
can potentially uses3:PubObject
ors3:GetObjectAcl
.Similar to #29811
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
arn:SourceArn
in condition to require the deployed aws account.Current Behavior
No source arn or similar
Policy produces(values has been changed):
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.157.0
Framework Version
No response
Node.js Version
20
OS
Linux
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: