From c553ec1a16e4ed6f7f240a5772560d1bd6c23e88 Mon Sep 17 00:00:00 2001 From: AnneLaure1307 Date: Thu, 6 Feb 2025 10:24:09 +0100 Subject: [PATCH] Fixed alert.update & alert.createCase --- docs/thehive/user-guides/organisation/functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/thehive/user-guides/organisation/functions.md b/docs/thehive/user-guides/organisation/functions.md index 462012e274..ac7ed715b3 100644 --- a/docs/thehive/user-guides/organisation/functions.md +++ b/docs/thehive/user-guides/organisation/functions.md @@ -279,9 +279,9 @@ When invoked, this function will: - `alert.create(input: InputCreateAlert): OutputAlert` - `alert.get(id: string): OutputAlert` -- `alert.update(InputUpdateAlert): OutputAlert` +- `alert.update(alertId: string, input: InputUpdateAlert): OutputAlert` - `alert.delete(alertId: string): void` -- `alert.createCase(alert: InputCreateAlert): OutputCase` +- `alert.createCase(alertId: string, input: InputCreateAlert): OutputCase` - `alert.bulkDelete(input: {ids: string[]}): void` - `alert.mergeWithCase(alertId: string, caseId: string): OutputCase` - `alert.bulkMergeWithCase( {caseId: string, alertIds: string[]} ): OutputCase`