From b66b3fed2622044fa9155f5f40bf5f5c301bedbb Mon Sep 17 00:00:00 2001 From: Nate Zemanek Date: Fri, 6 Jan 2023 14:17:08 -0500 Subject: [PATCH] Linter fix #2 --- rules/aws_cloudtrail_rules/abnormally_high_event_volume.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/aws_cloudtrail_rules/abnormally_high_event_volume.py b/rules/aws_cloudtrail_rules/abnormally_high_event_volume.py index 5c4ca4716..e330fa878 100644 --- a/rules/aws_cloudtrail_rules/abnormally_high_event_volume.py +++ b/rules/aws_cloudtrail_rules/abnormally_high_event_volume.py @@ -10,6 +10,8 @@ # If len(COUNT_LEDGER) == MAX_LEDGER_COUNT, the oldest list item is purged MAX_LEDGER_COUNT = 15 +COUNT_LEDGER = None +AVERAGE_COUNT = None def rule(event): global COUNT_LEDGER