AWS Lambda collecting compliance evidence from CloudTrail, Config, and Security Hub on a schedule.
Serverless function that queries AWS services for compliance evidence on a configurable schedule. Event-driven and cost-effective — runs only when needed and outputs structured evidence packages formatted for auditor consumption.
Extracts CloudTrail logs filtered by compliance-relevant API calls, Config rule evaluation history, and Security Hub findings. Bundles everything into timestamped, resource-tagged JSON packages and uploads to an S3 audit bucket. Supports multi-account via assumed roles.
Full implementation, tests, and documentation available on GitHub.
View on GitHub ↗