Skip to content

Commit

Permalink
fix(engine): Missing case title change
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Apr 23, 2024
1 parent fae7375 commit 68be5ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracecat/runner/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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 = }")
Expand Down

0 comments on commit 68be5ea

Please sign in to comment.