Skip to content

Commit

Permalink
[8.10] [OAS] Add is_system_action to connector responses (#163969) (#…
Browse files Browse the repository at this point in the history
…164642)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[OAS] Add is_system_action to connector responses
(#163969)](#163969)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-08-17T20:13:35Z","message":"[OAS]
Add is_system_action to connector responses
(#163969)","sha":"5c1d118c36a9d6cc572fb49326a9d059da73d1fc","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:ResponseOps","Feature:Actions/ConnectorsManagement","v8.10.0","v8.11.0"],"number":163969,"url":"https://github.com/elastic/kibana/pull/163969","mergeCommit":{"message":"[OAS]
Add is_system_action to connector responses
(#163969)","sha":"5c1d118c36a9d6cc572fb49326a9d059da73d1fc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163969","number":163969,"mergeCommit":{"message":"[OAS]
Add is_system_action to connector responses
(#163969)","sha":"5c1d118c36a9d6cc572fb49326a9d059da73d1fc"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
  • Loading branch information
lcawl authored Aug 24, 2023
1 parent 916b1eb commit c265686
Show file tree
Hide file tree
Showing 27 changed files with 208 additions and 28 deletions.
21 changes: 21 additions & 0 deletions docs/api-generated/connectors/connector-apis-passthru.asciidoc

Large diffs are not rendered by default.

104 changes: 85 additions & 19 deletions x-pack/plugins/actions/docs/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,26 @@
"url": "https://www.elastic.co/licensing/elastic-license"
}
},
"tags": [
{
"name": "connectors",
"description": "Connector APIs enable you to create and manage connectors."
}
],
"servers": [
{
"url": "http://localhost:5601",
"description": "local"
}
],
"security": [
{
"basicAuth": []
},
{
"apiKeyAuth": []
}
],
"tags": [
{
"name": "connectors",
"description": "Connector APIs enable you to create and manage connectors."
}
],
"paths": {
"/s/{spaceId}/api/actions/connector": {
"post": {
Expand Down Expand Up @@ -581,6 +589,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector.",
Expand Down Expand Up @@ -2691,6 +2702,11 @@
"description": "Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.",
"example": false
},
"is_system_action": {
"type": "boolean",
"description": "Indicates whether the connector is used for system actions.",
"example": false
},
"connector_response_properties_cases_webhook": {
"title": "Connector request properties for a Webhook - Case Management connector",
"type": "object",
Expand Down Expand Up @@ -2726,6 +2742,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -2767,6 +2786,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -2808,6 +2830,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -2849,6 +2874,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -2890,6 +2918,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -2931,6 +2962,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -2972,6 +3006,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3014,6 +3051,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3055,6 +3095,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3096,6 +3139,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3137,6 +3183,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3174,6 +3223,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3211,6 +3263,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3252,6 +3307,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3289,6 +3347,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3330,6 +3391,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3371,6 +3435,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -3412,6 +3479,9 @@
"is_preconfigured": {
"$ref": "#/components/schemas/is_preconfigured"
},
"is_system_action": {
"$ref": "#/components/schemas/is_system_action"
},
"name": {
"type": "string",
"description": "The display name for the connector."
Expand Down Expand Up @@ -4467,7 +4537,8 @@
},
"is_preconfigured": false,
"is_deprecated": false,
"is_missing_secrets": false
"is_missing_secrets": false,
"is_system_action": false
}
},
"get_connector_response": {
Expand All @@ -4479,7 +4550,8 @@
"connector_type_id": ".server-log",
"is_preconfigured": false,
"is_deprecated": false,
"is_missing_secrets": false
"is_missing_secrets": false,
"is_system_action": false
}
},
"update_index_connector_request": {
Expand All @@ -4500,7 +4572,8 @@
"connector_type_id": ".email",
"is_preconfigured": true,
"is_deprecated": false,
"referenced_by_count": 0
"referenced_by_count": 0,
"is_system_action": false
},
{
"id": "e07d0c80-8b8b-11ed-a780-3b746c987a81",
Expand All @@ -4514,7 +4587,8 @@
"is_preconfigured": false,
"is_deprecated": false,
"referenced_by_count": 2,
"is_missing_secrets": false
"is_missing_secrets": false,
"is_system_action": false
}
]
},
Expand Down Expand Up @@ -4852,13 +4926,5 @@
}
}
}
},
"security": [
{
"basicAuth": []
},
{
"apiKeyAuth": []
}
]
}
}
Loading

0 comments on commit c265686

Please sign in to comment.