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

Commit bc15565

Browse files
author
Samuel Hassine
committed
[client] Fix variant-of relation creation
1 parent 58fde03 commit bc15565

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pycti/api/opencti_api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,9 @@ def resolve_role(self, relation_type, from_type, to_type):
599599
},
600600
"variant-of": {
601601
"malware": {
602-
"malware": {"from_role": "original", "to_role": "variation"},
602+
"malware": {"from_role": "variation", "to_role": "original"},
603603
},
604-
"tool": {"tool": {"from_role": "original", "to_role": "variation"},},
604+
"tool": {"tool": {"from_role": "variation", "to_role": "original"},},
605605
},
606606
"targets": {
607607
"threat-actor": {

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from setuptools import setup
66
from setuptools.command.install import install
77

8-
VERSION = "3.3.2"
8+
VERSION = "3.3.3"
99

1010
with open("README.md", "r") as fh:
1111
long_description = fh.read()

0 commit comments

Comments
 (0)