- Added `card_image.py` to generate PNG images for security incident alerts.
- Updated `handler.py` to create and send visual cards for incidents and mitigations via Telegram.
- Enhanced message parsing to support structured incident data and mitigation details.
- Removed old text message sending method and replaced it with image sending functionality.
- Updated Terraform variables and example configuration for SES DKIM settings.
- Implemented a new Lambda function `telegram-notifier` that subscribes to an Amazon SNS topic for security alerts.
- The function receives structured notifications from the SNS topic and sends them directly to a specified Telegram chat in a monospaced format.
- Added error handling for missing Telegram bot token and chat ID.
- Formatted messages for better readability in Telegram, including incident severity, type, ID, status, source IP, and affected resource.
- Created a new Python handler file for the Telegram notifier functionality.
- Added handler.py to block malicious IPs by creating DENY rules in the target Network ACL.
- Included functionality to validate public IPs, manage rule numbers, and log actions to S3.
- Enhanced incident response by notifying via SNS and saving evidence of actions taken.
feat: Create notify-alert playbook for structured incident notifications
- Developed handler.py to receive incidents from SQS and publish structured alerts to SNS.
- Implemented logging of operational evidence in S3 for various incident types.
- Ensured support for multiple incident types with appropriate fields for each.
feat: Add user data script for EC2 instance setup
- Created user_data.sh.tpl to automate the installation of necessary packages and configuration of the corporate portal.
- Configured Nginx as a reverse proxy for the application and set up CloudWatch Agent for log management.
chore: Add example terraform variables file
- Introduced terraform.tfvars.example to provide a template for required variables.
- Included descriptions and default values for easier configuration.
chore: Define variables for Terraform configuration
- Created variables.tf to manage project-specific configurations and constraints.
- Included validation rules for critical variables to ensure correct input.
- Created 'esquema_almacenamiento.md' detailing the storage schema for incident detection and response in AWS, including design principles, forensic storage, and data contracts.
- Added 'estrategia_paralelo_aws.md' outlining the parallel work strategy for team members to collaborate effectively while minimizing AWS costs.
- Introduced 'guia_acoplamiento_paralelo.md' providing a step-by-step guide for integrating components A, B, and C in AWS, emphasizing decoupled development.
- Included 'recursos_y_costos_aws.md' summarizing estimated costs, integration requirements, incident payload formats, and security mechanisms for deploying Component C in AWS.
- Added Lambda function packages for blocking IPs and notifying alerts, including their respective policies and test events.