From e0c86462f77c9174f9f74b4bedf75014d6a599b3 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Thu, 24 Nov 2022 08:56:45 -0800 Subject: [PATCH] [DOCS] Alert limit for cases (#145950) (cherry picked from commit 876f1b9ac88e1206bd4429b5d12c8c8f22c5eb45) --- docs/api/cases/cases-api-add-comment.asciidoc | 4 ++++ x-pack/plugins/cases/docs/openapi/bundled.json | 2 +- x-pack/plugins/cases/docs/openapi/bundled.yaml | 2 +- .../paths/s@{spaceid}@api@cases@{caseid}@comments.yaml | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/api/cases/cases-api-add-comment.asciidoc b/docs/api/cases/cases-api-add-comment.asciidoc index ed8025f6e483e..1182a10974427 100644 --- a/docs/api/cases/cases-api-add-comment.asciidoc +++ b/docs/api/cases/cases-api-add-comment.asciidoc @@ -19,6 +19,10 @@ You must have `all` privileges for the *Cases* feature in the *Management*, <>, depending on the `owner` of the case you're updating. +=== {api-description-title} + +NOTE: Each case can have a maximum of 1,000 alerts. + === {api-path-parms-title} ``:: diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/plugins/cases/docs/openapi/bundled.json index a03ce2348d033..532368176eefc 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.json +++ b/x-pack/plugins/cases/docs/openapi/bundled.json @@ -1477,7 +1477,7 @@ "post": { "summary": "Adds a comment or alert to a case.", "operationId": "addCaseComment", - "description": "You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the case you're creating.\n", + "description": "You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the case you're creating. NOTE: Each case can have a maximum of 1,000 alerts.\n", "tags": [ "cases" ], diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/plugins/cases/docs/openapi/bundled.yaml index 70fa0dba5caeb..69959582c9224 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.yaml +++ b/x-pack/plugins/cases/docs/openapi/bundled.yaml @@ -948,7 +948,7 @@ paths: summary: Adds a comment or alert to a case. operationId: addCaseComment description: | - You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the case you're creating. + You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the case you're creating. NOTE: Each case can have a maximum of 1,000 alerts. tags: - cases parameters: diff --git a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml index 2246ff1d16a9d..25d119bd613c7 100644 --- a/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml +++ b/x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments.yaml @@ -5,6 +5,7 @@ post: You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the case you're creating. + NOTE: Each case can have a maximum of 1,000 alerts. tags: - cases parameters: