elastic / elastic/elastic-serverless-forwarder

Limit Lambda role permissions - avoid wildcard resources

Open
#266 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.