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

Commit 91e8abb

Browse files
author
Samuel Hassine
committed
[client] Fix retro-compat with V3
1 parent 782bd66 commit 91e8abb

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": "name", "values": ["T1514"]}]
14+
filters=[{"key": "x_mitre_id", "values": ["T1514"]}]
1515
)
1616

1717
# Print

0 commit comments

Comments
 (0)