Chethu99/cloudguard ? reverse-engineered prompt
Reverse engineered prompt
Build me a serverless AWS security auditing app called CloudGuard.
I want a Python Lambda that runs on a schedule and checks my AWS account for common security mistakes like root account use, missing MFA, old or unused access keys, public security group rules, public S3 buckets, missing encryption, and CloudTrail issues. It should turn those checks into a simple security score from 0 to 100, and save the results in a findings JSON file.
Then make a clean static dashboard that shows the latest findings in a browser, with severity levels and a clear view of what needs attention. It should also map the checks to common compliance frameworks like CIS, SOC 2, ISO 27001, and PCI DSS.
Set it up so deployment uses GitHub Actions with keyless AWS login through OIDC, and include a policy check so bad IAM policies fail the build. Use AWS services only, keep it free tier friendly, and make it easy to deploy and update. If you need current AWS docs or best practices, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit