Benchmark: CloudWatch Checks
Thrifty CloudWatch Benchmark
Thrifty developers actively manage the retention of their Cloudtrail logs. This benchmark focuses on finding log groups without retention and inactive log-streams.
Variables
Variable | Description | Default |
---|---|---|
cloudwatch_log_stream_age_max_days | The maximum number of days log streams are allowed without any log event written to them. | 90 days |
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-aws-thrifty
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select CloudWatch Checks.
Run this benchmark in your terminal:
powerpipe benchmark run aws_thrifty.benchmark.cloudwatch
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run aws_thrifty.benchmark.cloudwatch --share
Controls
- CloudWatch Log Groups retention should be enabled
- Unused log streams should be removed if not required