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

Commit bf4010d

Browse files
author
Samuel Hassine
committed
Fix importing persons
1 parent b9800a5 commit bf4010d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pycti/api/opencti_api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,12 +1831,12 @@ def resolve_role(self, relation_type, from_type, to_type):
18311831
"sector": {"from_role": "part_of", "to_role": "gather"},
18321832
"organization": {"from_role": "part_of", "to_role": "gather"},
18331833
},
1834-
"person": {
1834+
"user": {
18351835
"organization": {"from_role": "part_of", "to_role": "gather"},
18361836
},
18371837
"observable": {
18381838
"organization": {"from_role": "part_of", "to_role": "gather"},
1839-
"person": {"from_role": "part_of", "to_role": "gather"},
1839+
"user": {"from_role": "part_of", "to_role": "gather"},
18401840
},
18411841
},
18421842
"drops": {

0 commit comments

Comments
 (0)