Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 0a28564

Browse files
[client] Adapt filter to latest lib version
1 parent 41f077d commit 0a28564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/get_attack_pattern_by_mitre_id.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Get the Attack-Pattern T1514
1313
attack_pattern = opencti_api_client.attack_pattern.read(
14-
filters=[{"key": "external_id", "values": ["T1514"]}]
14+
filters=[{"key": "name", "values": ["T1514"]}]
1515
)
1616

1717
# Print

0 commit comments

Comments
 (0)