We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1af6d3 commit 97557d1Copy full SHA for 97557d1
pycti/utils/opencti_stix2_splitter.py
@@ -69,7 +69,7 @@ def enlist_element(
69
for key in list(item.keys()):
70
value = item[key]
71
# Recursive enlist for every refs
72
- if key.endswith("_refs"):
+ if key.endswith("_refs") and item[key] is not None:
73
to_keep = []
74
for element_ref in item[key]:
75
# We need to check if this ref is not already a reference
0 commit comments