Skip to content

Commit

Permalink
[OAS] Add is_system_action to connector responses (elastic#163969)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5c1d118)
  • Loading branch information
lcawl committed Aug 23, 2023
1 parent 7552ff2 commit ef2558a
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 ef2558a

Please sign in to comment.