From 18d28fc42c6107bedaf98161c6b2c9e7b522237b Mon Sep 17 00:00:00 2001 From: Janki Salvi <117571355+js-jankisalvi@users.noreply.github.com> Date: Thu, 17 Aug 2023 12:48:30 +0200 Subject: [PATCH] [Cases] Add max alerts per case to docs (#164141) ## Summary Added docs for total alerts per case guardrails as per https://github.com/elastic/kibana/issues/146945 | Description | Limit | Done? | Documented? | UI? | ------------- | ---- | :---: | ---- | :----: | | Total alerts per case | 1.000 | :white_check_mark: | Yes | N/A | --- x-pack/plugins/cases/docs/openapi/bundled.json | 6 ++++-- x-pack/plugins/cases/docs/openapi/bundled.yaml | 2 ++ .../docs/openapi/components/schemas/alert_identifiers.yaml | 1 + .../docs/openapi/components/schemas/alert_indices.yaml | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/plugins/cases/docs/openapi/bundled.json index 2aed6ef9f65f3..c3fef89e021dd 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.json +++ b/x-pack/plugins/cases/docs/openapi/bundled.json @@ -5471,7 +5471,8 @@ "type": "array", "items": { "type": "string" - } + }, + "maxItems": 1000 } ], "x-technical-preview": true, @@ -5488,7 +5489,8 @@ "type": "array", "items": { "type": "string" - } + }, + "maxItems": 1000 } ], "x-technical-preview": true diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/plugins/cases/docs/openapi/bundled.yaml index 6c2bd225ced70..f818d279a2e27 100644 --- a/x-pack/plugins/cases/docs/openapi/bundled.yaml +++ b/x-pack/plugins/cases/docs/openapi/bundled.yaml @@ -3532,6 +3532,7 @@ components: - type: array items: type: string + maxItems: 1000 x-technical-preview: true example: 6b24c4dc44bc720cfc92797f3d61fff952f2b2627db1fb4f8cc49f4530c4ff42 alert_indices: @@ -3543,6 +3544,7 @@ components: - type: array items: type: string + maxItems: 1000 x-technical-preview: true rule: title: Alerting rule diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml b/x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml index ee31081efee12..0f56441b7ff90 100644 --- a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml +++ b/x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml @@ -11,5 +11,6 @@ oneOf: - type: array items: type: string + maxItems: 1000 x-technical-preview: true example: 6b24c4dc44bc720cfc92797f3d61fff952f2b2627db1fb4f8cc49f4530c4ff42 \ No newline at end of file diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml b/x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml index 43463bf6eb5da..f82bb1762ee32 100644 --- a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml +++ b/x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml @@ -12,4 +12,5 @@ oneOf: - type: array items: type: string + maxItems: 1000 x-technical-preview: true \ No newline at end of file