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

Commit f5c8411

Browse files
committed
[client] Fix TLP:CLEAR cache
1 parent e4a66b0 commit f5c8411

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,9 @@ def extract_embedded_relationships(
514514
title + " (" + str(external_reference["external_id"]) + ")"
515515
)
516516

517-
if "marking_tlpwhite" in self.mapping_cache:
517+
if "marking_tlpclear" in self.mapping_cache:
518518
object_marking_ref_result = self.mapping_cache[
519-
"marking_tlpwhite"
519+
"marking_tlpclear"
520520
]
521521
else:
522522
object_marking_ref_result = (
@@ -527,7 +527,7 @@ def extract_embedded_relationships(
527527
]
528528
)
529529
)
530-
self.mapping_cache["marking_tlpwhite"] = {
530+
self.mapping_cache["marking_tlpclear"] = {
531531
"id": object_marking_ref_result["id"]
532532
}
533533

0 commit comments

Comments
 (0)