Beanstalk-Reporter automates security control auditing by enumerating and extracting security-relevant configurations of AWS Elastic Beanstalk linked resources into a standardized JSON format.
This tool is designed for security engineers and cloud administrators who need to efficiently audit AWS Elastic Beanstalk deployments without manually navigating complex AWS console or CLI outputs. It simplifies verification of security configurations for resources like load balancers, autoscaling groups, and EC2 instances linked to Beanstalk environments.
The tool requires AWS CLI profiles with sufficient permissions to describe Beanstalk environments and related resources. It focuses on security-relevant fields and omits broader API response data to streamline auditing. Users should ensure AWS credentials are properly configured and have read access to Elastic Beanstalk, EC2, Auto Scaling, and Load Balancer resources.
Ensure Python 3 is installed on your system
Clone the repository or download the beanstalk_reporter.py script
Configure AWS CLI profiles with appropriate permissions to access Beanstalk and related resources
Run the script using Python 3
python3 beanstalk_reporter.py --profile <aws_cli_profile_name> --env <beanstalk_env_name>
Runs the Beanstalk-Reporter tool using the specified AWS CLI profile and Elastic Beanstalk environment name to generate a security-relevant configuration report.