diff --git a/util/secscan/notifier.py b/util/secscan/notifier.py index 336514ce9..1cfea4ace 100644 --- a/util/secscan/notifier.py +++ b/util/secscan/notifier.py @@ -112,7 +112,9 @@ class SecurityNotificationHandler(object): # Check for ordered data. If found, we use the indexed tracker, which is faster and # more memory efficient. is_indexed = False - if 'OrderedLayersIntroducingVulnerability' in new_data: + if ('OrderedLayersIntroducingVulnerability' in new_data or + 'OrderedLayersIntroducingVulnerability' in old_data): + def tuplize(stream): return [(entry['LayerName'], entry['Index']) for entry in stream]