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

Commit 8c32efd

Browse files
author
Samuel Hassine
committed
[client] Enhance export
1 parent aa2e263 commit 8c32efd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,9 @@ def prepare_export(
11341134
if "attribute_key" in entity:
11351135
entity["key"] = entity["attribute_key"]
11361136
del entity["attribute_key"]
1137+
if "attribute_date" in entity:
1138+
entity["date"] = entity["attribute_date"]
1139+
del entity["attribute_date"]
11371140

11381141
result.append(entity)
11391142

0 commit comments

Comments
 (0)