Skip to content

Commit

Permalink
Merge pull request #152 from CybercentreCanada/ontology/smtp
Browse files Browse the repository at this point in the history
Support different keys for DNS queries in alerts
  • Loading branch information
cccs-rs authored Aug 7, 2024
2 parents 6cee0cf + 3bd5b6c commit d944d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suricata_/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def attach_network_connection(data: dict):

if not any(
query["rrname"] == network_part.dns_details.domain
for query in record["dns"].get("queries", [])
for query in record["dns"].get("queries", []) + record["dns"].get("query", [])
):
# This particular record isn't relevant to the alert
continue
Expand Down

0 comments on commit d944d7a

Please sign in to comment.