Skip to content

Commit

Permalink
Merge pull request #44 from mitchclarkebase2/master
Browse files Browse the repository at this point in the history
Set metric filter alarms to treat missing data as not breaching
  • Loading branch information
Guslington authored Dec 10, 2021
2 parents 1cfaa62 + c62ba81 commit 6b2d340
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cfnguardian/resources/log_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def default_alarms()
alarm = CfnGuardian::Models::LogGroupAlarm.new(@resource)
alarm.name = filter['MetricName']
alarm.metric_name = filter['MetricName']
alarm.treat_missing_data = 'notBreaching'
@alarms.push(alarm)
end
end
Expand Down

0 comments on commit 6b2d340

Please sign in to comment.