Skip to content

Manage retention period and rest-side encryption for cloudwatch log groups

License

Notifications You must be signed in to change notification settings

skildops/aws-cw-log-group-manager

Repository files navigation

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

About

Manage retention period and rest-side encryption for cloudwatch log groups

Resources

License

Stars

Watchers

Forks

Packages

No packages published