elastic / elastic/elastic-serverless-forwarder
Limit Lambda role permissions - avoid wildcard resources
Open
Team:Cloud-Monitoring
- Dominant language
- Python
- Stars
- 38
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
As of now, Elastic Serverless Forwarder Lambda Role uses the following managed policies:
- AWSLambdaSQSQueueExecutionRole
- AWSLambdaKinesisExecutionRole
- AWSLambdaBasicExecutionRole
All the above roles have attached policies with wildcard Resource statements (i.e `"Resource": "*"`). This is not great from a security perspective, so we should review the permissions required and create ad-hoc roles/policies with the strictest permissions, where possible.
Contributor guide
Assessment
This issue has not been assessed yet.