Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.34 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.34 KB

aws-cw-log-group-manager

License CodeQL Commit Release

Prerequisites:

AWS Services Managed:

  • CloudWatch Log Group

Supported Operations:

  • Update retention period
  • Update/remove KMS key

Logic Flow:

aws-cw-log-group-manager

  • CloudWatch Event triggers retention and encryption function periodically.
  • Retention function scans all the log groups present in the provided region(s) and updates the retention period for all the available log group(s)
  • Encryption function scans all the log groups present in the provided region(s) and updates or removes KMS encryption for all the available log group(s)

Setup:

  • Use the terraform module included in this repo to create all the AWS resources required to automate IAM key rotation