Skip to content

Commit fb2a085

Browse files
authored
[PRMP-1592] Kill Switch ignore Unscannable & Error (#639)
1 parent 16c63c3 commit fb2a085

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

infrastructure/virusscanner.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ resource "aws_sns_topic_subscription" "proactive_virus_scanning_notifications" {
100100
topic_arn = module.cloud_storage_security[0].proactive_notifications_topic_arn
101101
filter_policy = jsonencode({
102102
"notificationType" : ["scanResult"],
103-
"scanResult" : ["Infected", "Error", "Unscannable", "Suspicious"]
103+
"scanResult" : ["Infected", "Error", "Unscannable", "Suspicious", "InfectedAllowed"]
104104
})
105105
}
106106

@@ -112,7 +112,7 @@ resource "aws_sns_topic_subscription" "proactive_virus_scanning_kill_switch" {
112112

113113
filter_policy = jsonencode({
114114
"notificationType" : ["scanResult"],
115-
"scanResult" : ["Infected", "Error", "Unscannable", "Suspicious"]
115+
"scanResult" : ["Infected", "Suspicious"]
116116
})
117117
}
118118

@@ -123,4 +123,4 @@ resource "aws_lambda_permission" "allow_sns_invoke_transfer_family_kill_switch"
123123
function_name = module.transfer_family_kill_switch_lambda.lambda_arn
124124
principal = "sns.amazonaws.com"
125125
source_arn = module.cloud_storage_security[0].proactive_notifications_topic_arn
126-
}
126+
}

0 commit comments

Comments
 (0)