Skip to content

Commit 4321ac0

Browse files
committed
[client] WIP new rule apply
1 parent 0f8743e commit 4321ac0

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
@@ -2643,6 +2643,10 @@ def apply_opencti_operation(self, item, operation):
26432643
input = item["input"]
26442644
self.opencti.pir.pir_unflag_element(id=id, input=input)
26452645
elif operation == "rule_apply":
2646+
raise ValueError(
2647+
"Not supported opencti_operation",
2648+
{"operation": operation},
2649+
)
26462650
self.rule_apply(item=item)
26472651
elif operation == "rule_clear":
26482652
self.rule_clear(item=item)

0 commit comments

Comments
 (0)