Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/flowalerts/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def detect_dga(self, profileid, twid, flow):
or flow.query.endswith(".arpa")
or flow.query.endswith(".local")
or self.flowalerts.whitelist.domain_analyzer.is_whitelisted(
flow.query, Direction.SRC, "alerts"
flow.query, Direction.DST, "alerts"
)
):
return False
Expand Down
2 changes: 1 addition & 1 deletion slips_files/core/helpers/whitelist/domain_whitelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def is_whitelisted(
the given domain
:param domain: domain to check if whitelisted
:param direction: is the given domain src or dst domain?
:param should_ignore: can be flows or alerts
:param should_ignore: which whitelist to check? can be flows or alerts
"""

if not isinstance(domain, str):
Expand Down