From b5556335dd28f750f69f1c7cd1cf6780e3995cd7 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 26 Sep 2024 06:20:45 +1000 Subject: [PATCH] [8.15] [DOCS][ResponseOps][Connectors] Add support of additional fields for ServiceNow ITSM and SecOps (#191779) (#194040) # Backport This will backport the following commits from `main` to `8.15`: - [[DOCS][ResponseOps][Connectors] Add support of additional fields for ServiceNow ITSM and SecOps (#191779)](https://github.com/elastic/kibana/pull/191779) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) --------- Co-authored-by: Lisa Cawley --- oas_docs/output/kibana.yaml | 8 ++++++++ x-pack/plugins/actions/docs/openapi/bundled.json | 6 ++++++ x-pack/plugins/actions/docs/openapi/bundled.yaml | 6 ++++++ .../schemas/run_connector_subaction_pushtoservice.yaml | 7 +++++++ 4 files changed, 27 insertions(+) diff --git a/oas_docs/output/kibana.yaml b/oas_docs/output/kibana.yaml index 4a10407b48279..dd5d4a282bde8 100644 --- a/oas_docs/output/kibana.yaml +++ b/oas_docs/output/kibana.yaml @@ -23091,6 +23091,14 @@ components: ITSM, ServiveNow SecOps, or Swimlane incident. type: object properties: + additional_fields: + description: > + Additional fields for ServiceNow ITSM and ServiveNow SecOps + connectors. The fields must exist in the Elastic ServiceNow + application and must be specified in JSON format. + maxLength: 20 + nullable: true + type: string alertId: description: The alert identifier for Swimlane connectors. type: string diff --git a/x-pack/plugins/actions/docs/openapi/bundled.json b/x-pack/plugins/actions/docs/openapi/bundled.json index d2f852374b926..99a671167d053 100644 --- a/x-pack/plugins/actions/docs/openapi/bundled.json +++ b/x-pack/plugins/actions/docs/openapi/bundled.json @@ -5461,6 +5461,12 @@ "type": "object", "description": "Information necessary to create or update a Jira, ServiceNow ITSM, ServiveNow SecOps, or Swimlane incident.", "properties": { + "additional_fields": { + "type": "string", + "nullable": true, + "maxLength": 20, + "description": "Additional fields for ServiceNow ITSM and ServiveNow SecOps connectors. The fields must exist in the Elastic ServiceNow application and must be specified in JSON format.\n" + }, "alertId": { "type": "string", "description": "The alert identifier for Swimlane connectors." diff --git a/x-pack/plugins/actions/docs/openapi/bundled.yaml b/x-pack/plugins/actions/docs/openapi/bundled.yaml index 8797a87b32eeb..4b98c7e2e66f8 100644 --- a/x-pack/plugins/actions/docs/openapi/bundled.yaml +++ b/x-pack/plugins/actions/docs/openapi/bundled.yaml @@ -3924,6 +3924,12 @@ components: type: object description: Information necessary to create or update a Jira, ServiceNow ITSM, ServiveNow SecOps, or Swimlane incident. properties: + additional_fields: + type: string + nullable: true + maxLength: 20 + description: | + Additional fields for ServiceNow ITSM and ServiveNow SecOps connectors. The fields must exist in the Elastic ServiceNow application and must be specified in JSON format. alertId: type: string description: The alert identifier for Swimlane connectors. diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_connector_subaction_pushtoservice.yaml b/x-pack/plugins/actions/docs/openapi/components/schemas/run_connector_subaction_pushtoservice.yaml index d81c0e61059be..f6b15360d739e 100644 --- a/x-pack/plugins/actions/docs/openapi/components/schemas/run_connector_subaction_pushtoservice.yaml +++ b/x-pack/plugins/actions/docs/openapi/components/schemas/run_connector_subaction_pushtoservice.yaml @@ -30,6 +30,13 @@ properties: type: object description: Information necessary to create or update a Jira, ServiceNow ITSM, ServiveNow SecOps, or Swimlane incident. properties: + additional_fields: + type: string + nullable: true + maxLength: 20 + description: > + Additional fields for ServiceNow ITSM and ServiveNow SecOps connectors. + The fields must exist in the Elastic ServiceNow application and must be specified in JSON format. alertId: type: string description: The alert identifier for Swimlane connectors.