Skip to content

Commit

Permalink
[client] Fix variant-of relation creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Hassine committed Jun 22, 2020
1 parent 58fde03 commit bc15565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pycti/api/opencti_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,9 @@ def resolve_role(self, relation_type, from_type, to_type):
},
"variant-of": {
"malware": {
"malware": {"from_role": "original", "to_role": "variation"},
"malware": {"from_role": "variation", "to_role": "original"},
},
"tool": {"tool": {"from_role": "original", "to_role": "variation"},},
"tool": {"tool": {"from_role": "variation", "to_role": "original"},},
},
"targets": {
"threat-actor": {
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup
from setuptools.command.install import install

VERSION = "3.3.2"
VERSION = "3.3.3"

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

0 comments on commit bc15565

Please sign in to comment.