Skip to content

Commit

Permalink
[DOCS] Alert limit for cases (elastic#145950)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored Nov 24, 2022
1 parent 8f790d7 commit 876f1b9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api-generated/cases/case-apis-passthru.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Any modifications made to this file will be overwritten.
<a class="up" href="#__Methods">Up</a>
<pre class="post"><code class="huge"><span class="http-method">post</span> /s/{spaceId}/api/cases/{caseId}/comments</code></pre></div>
<div class="method-summary">Adds a comment or alert to a case. (<span class="nickname">addCaseComment</span>)</div>
<div class="method-notes">You must have <code>all</code> privileges for the <strong>Cases</strong> feature in the <strong>Management</strong>, <strong>Observability</strong>, or <strong>Security</strong> section of the Kibana feature privileges, depending on the owner of the case you're creating.</div>
<div class="method-notes">You must have <code>all</code> privileges for the <strong>Cases</strong> feature in the <strong>Management</strong>, <strong>Observability</strong>, or <strong>Security</strong> 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.</div>
<h3 class="field-label">Path parameters</h3>
<div class="field-items">
Expand Down
4 changes: 4 additions & 0 deletions docs/api/cases/cases-api-add-comment.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ You must have `all` privileges for the *Cases* feature in the *Management*,
<<kibana-feature-privileges,{kib} feature privileges>>, 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}

`<case_id>`::
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/cases/docs/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/cases/docs/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 876f1b9

Please sign in to comment.