Skip to content

Commit

Permalink
[8.11] [OAS] Update tech preview text in case APIs (elastic#170280) (e…
Browse files Browse the repository at this point in the history
…lastic#170323)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[OAS] Update tech preview text in case APIs
(elastic#170280)](elastic#170280)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-11-01T15:20:55Z","message":"[OAS]
Update tech preview text in case APIs
(elastic#170280)","sha":"87ad907be6409e076bb180a9b4b61f33d9ff71e4","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Cases","backport:prev-minor","v8.12.0"],"number":170280,"url":"https://github.com/elastic/kibana/pull/170280","mergeCommit":{"message":"[OAS]
Update tech preview text in case APIs
(elastic#170280)","sha":"87ad907be6409e076bb180a9b4b61f33d9ff71e4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170280","number":170280,"mergeCommit":{"message":"[OAS]
Update tech preview text in case APIs
(elastic#170280)","sha":"87ad907be6409e076bb180a9b4b61f33d9ff71e4"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <[email protected]>
  • Loading branch information
kibanamachine and lcawl authored Nov 1, 2023
1 parent bb04d14 commit 6524d6d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 24 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/cases/docs/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -5549,7 +5549,7 @@
},
"alert_identifiers": {
"title": "Alert identifiers",
"description": "The alert identifiers. It is required only when `type` is `alert`. You can use an array of strings to add multiple alerts to a case, provided that they all relate to the same rule; `index` must also be an array with the same length or number of elements. Adding multiple alerts in this manner is recommended rather than calling the API multiple times. This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.\n",
"description": "The alert identifiers. It is required only when `type` is `alert`. You can use an array of strings to add multiple alerts to a case, provided that they all relate to the same rule; `index` must also be an array with the same length or number of elements. Adding multiple alerts in this manner is recommended rather than calling the API multiple times. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.\n",
"oneOf": [
{
"type": "string"
Expand All @@ -5567,7 +5567,7 @@
},
"alert_indices": {
"title": "Alert indices",
"description": "The alert indices. It is required only when `type` is `alert`. If you are adding multiple alerts to a case, use an array of strings; the position of each index name in the array must match the position of the corresponding alert identifier in the `alertId` array. This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.\n",
"description": "The alert indices. It is required only when `type` is `alert`. If you are adding multiple alerts to a case, use an array of strings; the position of each index name in the array must match the position of the corresponding alert identifier in the `alertId` array. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.\n",
"oneOf": [
{
"type": "string"
Expand All @@ -5584,7 +5584,7 @@
},
"rule": {
"title": "Alerting rule",
"description": "The rule that is associated with the alerts. It is required only when `type` is `alert`. This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.\n",
"description": "The rule that is associated with the alerts. It is required only when `type` is `alert`. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.\n",
"type": "object",
"x-technical-preview": true,
"properties": {
Expand Down
6 changes: 3 additions & 3 deletions x-pack/plugins/cases/docs/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3760,7 +3760,7 @@ components:
alert_identifiers:
title: Alert identifiers
description: |
The alert identifiers. It is required only when `type` is `alert`. You can use an array of strings to add multiple alerts to a case, provided that they all relate to the same rule; `index` must also be an array with the same length or number of elements. Adding multiple alerts in this manner is recommended rather than calling the API multiple times. This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
The alert identifiers. It is required only when `type` is `alert`. You can use an array of strings to add multiple alerts to a case, provided that they all relate to the same rule; `index` must also be an array with the same length or number of elements. Adding multiple alerts in this manner is recommended rather than calling the API multiple times. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
oneOf:
- type: string
- type: array
Expand All @@ -3772,7 +3772,7 @@ components:
alert_indices:
title: Alert indices
description: |
The alert indices. It is required only when `type` is `alert`. If you are adding multiple alerts to a case, use an array of strings; the position of each index name in the array must match the position of the corresponding alert identifier in the `alertId` array. This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
The alert indices. It is required only when `type` is `alert`. If you are adding multiple alerts to a case, use an array of strings; the position of each index name in the array must match the position of the corresponding alert identifier in the `alertId` array. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
oneOf:
- type: string
- type: array
Expand All @@ -3783,7 +3783,7 @@ components:
rule:
title: Alerting rule
description: |
The rule that is associated with the alerts. It is required only when `type` is `alert`. This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
The rule that is associated with the alerts. It is required only when `type` is `alert`. This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
type: object
x-technical-preview: true
properties:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
title: Alert identifiers
description: >
The alert identifiers. It is required only when `type` is `alert`. You can use
an array of strings to add multiple alerts to a case, provided that they all
relate to the same rule; `index` must also be an array with the same length or number of elements. Adding multiple alerts in this manner is recommended
rather than calling the API multiple times. This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply
best effort to fix any issues, but features in technical preview are not
subject to the support SLA of official GA features.
The alert identifiers.
It is required only when `type` is `alert`.
You can use an array of strings to add multiple alerts to a case, provided that they all relate to the same rule; `index` must also be an array with the same length or number of elements.
Adding multiple alerts in this manner is recommended rather than calling the API multiple times.
This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
oneOf:
- type: string
- type: array
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
title: Alert indices
description: >
The alert indices. It is required only when `type` is `alert`. If you are
adding multiple alerts to a case, use an array of strings; the position of
each index name in the array must match the position of the corresponding
alert identifier in the `alertId` array. This functionality is in technical
preview and may be changed or removed in a future release. Elastic will apply
best effort to fix any issues, but features in technical preview are not
subject to the support SLA of official GA features.
The alert indices.
It is required only when `type` is `alert`.
If you are adding multiple alerts to a case, use an array of strings; the position of each index name in the array must match the position of the corresponding alert identifier in the `alertId` array.
This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
oneOf:
- type: string
- type: array
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
title: Alerting rule
description: >
The rule that is associated with the alerts. It is required only when
`type` is `alert`. This functionality is in technical preview and may be
changed or removed in a future release. Elastic will apply best effort to
fix any issues, but features in technical preview are not subject to the
support SLA of official GA features.
The rule that is associated with the alerts.
It is required only when `type` is `alert`.
This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
type: object
x-technical-preview: true
properties:
Expand Down

0 comments on commit 6524d6d

Please sign in to comment.