AWS
Jump to navigation
Jump to search
Prowler
aws iam generate-credential-report aws iam get-account-summary aws iam list-users aws iam get-account-password-policy aws ec2 describe-instances aws ec2 describe-security-groups aws kms get-key-rotation-status
Lambda
https://e2cjv7xt5j.execute-api.eu-north-1.amazonaws.com/hello-nodejs
exports.handler = async (event) => { const response = { statusCode: 200, headers: {"content-type": "text/html"}, body: "<html><head><style>#main { position:absolute;top:50%;left:0;margin-top:-50px;right:0;text-align: center;font-family: Lato;color: green;font-size: 40px; }</style></head><body><div id=main>Hello, World! ... brought to you by NodeJS on AWS Lambda</div></body></html>", return response; };