From 68be5ea65bcb5d42486de0a0b9dfb82b94b5e2f9 Mon Sep 17 00:00:00 2001 From: Daryl Lim <5508348+daryllimyt@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:01:45 +0100 Subject: [PATCH] fix(engine): Missing case title change --- tracecat/runner/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracecat/runner/actions.py b/tracecat/runner/actions.py index 40dc2c935..0564d3f08 100644 --- a/tracecat/runner/actions.py +++ b/tracecat/runner/actions.py @@ -305,7 +305,7 @@ def validate_recipients(cls, v: str) -> str: class OpenCaseAction(Action): type: Literal["open_case"] = Field("open_case", frozen=True) - title: str + case_title: str payload: dict[str, Any] malice: Literal["malicious", "benign"] status: Literal["open", "closed", "in_progress", "reported", "escalated"] @@ -914,7 +914,7 @@ async def run_action( elif type == "open_case": processed_action_kwargs.update( - action_run_id=action_run_id, workflow_id=workflow_id, title=title + action_run_id=action_run_id, workflow_id=workflow_id ) custom_logger.debug(f"{processed_action_kwargs = }")