How to use AWS X-Ray to achieve Least Privilege IAM Permissions during integration testing and continuous monitoring of staging/production environments.
Separate IAM roles per Lambda function are key for achieving a least privilege setup. Check out the serverless-iam-roles-per-function plugin, which makes it super easy to define sepereate roles per Lambda function.
Run-time monitoring via AWS X-Ray can help with achieving Least Privilege IAM Permissions. Articel introduces a new open source tool to monitor X-Ray traces and generate Least Privilege IAM Policies.
Short post about how to strace an existing multi-threaded process (From my previous blog site. Now retired but post is still available in Github).
Post about configuring McAfee MySQL Audit Plugin to log to syslog-ng (From my previous blog site. Now retired but post is still available in Github).