Skip to content

Commit

Permalink
Set metric filter alarms to treat missing data as not breaching
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchclarkebase2 committed Dec 10, 2021
1 parent 1cfaa62 commit c62ba81
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 c62ba81

Please sign in to comment.