Skip to content

Commit

Permalink
suricatals: fix diag for suricata 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
regit committed Oct 10, 2024
1 parent d1cc707 commit 1a161a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion suricatals/tests_rules.py
Original file line number Diff line number Diff line change
@@ -622,8 +622,9 @@ def parse_engine_analysis_v2(self, json_path):
app_proto = engine.get('app_proto')
else:
if app_proto != engine.get('app_proto'):
if app_proto not in ['http', 'http2'] or engine.get('app_proto') not in ['http', 'http2']:
if app_proto not in ['http', 'http2', 'dns', 'doh2'] or engine.get('app_proto') not in ['http', 'http2', 'dns', 'doh2']:
multiple_app_proto = True

else:
got_raw_match = True
for match in engine.get('matches', []):

0 comments on commit 1a161a5

Please sign in to comment.