From db6b8f09f4490f6af50505ed533fdb7e385e6f19 Mon Sep 17 00:00:00 2001 From: natasha-moore-elastic Date: Tue, 11 Jun 2024 14:43:50 +0100 Subject: [PATCH 1/2] Fixes comments description in Update exception item API --- .../api/exceptions/api-update-exception-item.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/detections/api/exceptions/api-update-exception-item.asciidoc b/docs/detections/api/exceptions/api-update-exception-item.asciidoc index f244edd525..6beceff790 100644 --- a/docs/detections/api/exceptions/api-update-exception-item.asciidoc +++ b/docs/detections/api/exceptions/api-update-exception-item.asciidoc @@ -13,11 +13,11 @@ Updates an existing exception item. |============================================== |Name |Type |Description |Required -|`comments` |comments[] a|Array of `comment` fields: +|`comments` |comments[] a|Array of comments to be appended: * `comment` (string): Comments about the exception item. -* `id` (string): Existing comment ID, required for updating existing comments. -When unspecified, a new comment is created. + +NOTE: Commends cannot be modified—they can only be appended. |No, defaults to empty array. From e4328122a4e8c282c46c828f52b4c02171524df5 Mon Sep 17 00:00:00 2001 From: natasha-moore-elastic <137783811+natasha-moore-elastic@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:20:19 +0100 Subject: [PATCH 2/2] Update docs/detections/api/exceptions/api-update-exception-item.asciidoc Co-authored-by: Yara Tercero --- .../api/exceptions/api-update-exception-item.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/detections/api/exceptions/api-update-exception-item.asciidoc b/docs/detections/api/exceptions/api-update-exception-item.asciidoc index 6beceff790..243c537480 100644 --- a/docs/detections/api/exceptions/api-update-exception-item.asciidoc +++ b/docs/detections/api/exceptions/api-update-exception-item.asciidoc @@ -17,7 +17,7 @@ Updates an existing exception item. * `comment` (string): Comments about the exception item. -NOTE: Commends cannot be modified—they can only be appended. +NOTE: Comments cannot be modified—they can only be appended. |No, defaults to empty array.