Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OAS] Add is_system_action to connector responses #163969

Merged
merged 4 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -4471,7 +4541,8 @@
},
"is_preconfigured": false,
"is_deprecated": false,
"is_missing_secrets": false
"is_missing_secrets": false,
"is_system_action": false
}
},
"get_connector_response": {
Expand All @@ -4483,7 +4554,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 @@ -4504,7 +4576,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 @@ -4518,7 +4591,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 @@ -4856,13 +4930,5 @@
}
}
}
},
"security": [
{
"basicAuth": []
},
{
"apiKeyAuth": []
}
]
}
}
Loading
Loading