You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Problem 🐛
AWS's
CW_LOGGROUP_RETENTION_PERIOD_CHECKrule is broken. It marks log groups with infinite retention (retentionInDays: null) as COMPLIANT.Result: 99% of real log groups pass compliance while having no retention policy.
Impact 💰
nullretention = logs stored forever vs. setting retention = automatic deletion for cost controlExample cost impact (realistic scenario):
nullretention: After 12 months = 100 × 6GB × $0.22 = $132/month (and growing)Proposed Solution 🛠️
Build custom Config rule in Go that properly flags
nullretention asNON_COMPLIANT.Quick implementation:
Questions 🤔
👍 Build custom rule
👎 Wait for AWS
🤔 Need more info
References 📚
** See Screenshot below**: AWS Config rule documentation showing:
This single line makes the entire Config rule useless for real-world compliance monitoring. 🤦♂️
This affects every AWS account using default log groups. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions