Skip to content

Commit 54e0695

Browse files
committed
fix test_extract_cc_botnet_ipunit test
1 parent e36f8f8 commit 54e0695

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_idea_format.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ def test_extract_cc_botnet_ip(attacker_ip, expected_result):
8181
evidence = Evidence(
8282
evidence_type=EvidenceType.COMMAND_AND_CONTROL_CHANNEL,
8383
description="Some description",
84-
attacker=Attacker(value=attacker_ip, attacker_type=IoCType.IP),
84+
attacker=Attacker(
85+
value=attacker_ip,
86+
attacker_type=IoCType.IP,
87+
direction=Direction.SRC,
88+
),
8589
threat_level=ThreatLevel.INFO,
8690
profile=ProfileID(ip=attacker_ip),
8791
timewindow=None,

0 commit comments

Comments
 (0)