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

Commit 8c73a71

Browse files
author
Samuel Hassine
committed
[client] Handle region to region relationship
1 parent b3abafb commit 8c73a71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pycti/api/opencti_api_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3808,6 +3808,9 @@ def resolve_role(self, relation_type, from_type, to_type):
38083808
'country': {'from_role': 'localized', 'to_role': 'location'},
38093809
'city': {'from_role': 'localized', 'to_role': 'location'}
38103810
},
3811+
'region': {
3812+
'region': {'from_role': 'localized', 'to_role': 'location'}
3813+
},
38113814
'country': {
38123815
'region': {'from_role': 'localized', 'to_role': 'location'}
38133816
},

0 commit comments

Comments
 (0)