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

Commit 565d7c2

Browse files
committed
[client] WIP new rule apply
1 parent 73c78f2 commit 565d7c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,6 +2720,10 @@ def apply_opencti_operation(self, item, operation):
27202720
input = item["input"]
27212721
self.opencti.pir.pir_unflag_element(id=id, input=input)
27222722
elif operation == "rule_apply":
2723+
raise ValueError(
2724+
"Not supported opencti_operation",
2725+
{"operation": operation},
2726+
)
27232727
self.rule_apply(item=item)
27242728
elif operation == "rule_clear":
27252729
self.rule_clear(item=item)

0 commit comments

Comments
 (0)