mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Fleet] Add license gate around remote synced integrations (#221636)
Closes https://github.com/elastic/kibana/issues/219488 ## Summary Add license gate around remote synced integrations - Only accounts having Enterprise license will be able to use the new remote synced integrations feature. This requirement depends on the ccr feature, which works only on Enterprise licenses, this PR makes sure that this also checked in Fleet. ### Testing 1. With a license different than enterprise - Try to create an output that enables synced integrations - it should fail with a 400: ``` POST kbn:/api/fleet/outputs { "name": "new 1", "type": "remote_elasticsearch", "hosts": [ "https://lskfgjojg" ], "is_default": false, "is_default_monitoring": false, "sync_integrations": true } ``` - Verify that the UI elements listed in https://github.com/elastic/kibana/issues/219488 are not visible 2. With Enterprise license - Check that the UI elements are visible and the remote sync integrations features work as expected ### Checklist - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The `release_note:breaking` label should be applied in these situations. - [ ] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
216ac7e83e
commit
2d84e8b83c
18 changed files with 759 additions and 1584 deletions
|
@ -44288,339 +44288,6 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/api/fleet/remote_synced_integrations/status": {
|
||||
"get": {
|
||||
"description": "[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.",
|
||||
"operationId": "get-fleet-remote-synced-integrations-status",
|
||||
"parameters": [],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"custom_assets": {
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_deleted": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name",
|
||||
"package_name",
|
||||
"package_version",
|
||||
"sync_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"integrations": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"install_status": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"main": {
|
||||
"type": "string"
|
||||
},
|
||||
"remote": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"main"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sync_status",
|
||||
"install_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"integrations"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"description": "Generic Error",
|
||||
"properties": {
|
||||
"attributes": {},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"errorType": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusCode": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"message",
|
||||
"attributes"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"summary": "Get CCR Remote synced integrations status",
|
||||
"tags": [
|
||||
"CCR Remote synced integrations"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/fleet/remote_synced_integrations/{outputId}/remote_status": {
|
||||
"get": {
|
||||
"description": "[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.",
|
||||
"operationId": "get-fleet-remote-synced-integrations-outputid-remote-status",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "outputId",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"custom_assets": {
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_deleted": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name",
|
||||
"package_name",
|
||||
"package_version",
|
||||
"sync_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"integrations": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"install_status": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"main": {
|
||||
"type": "string"
|
||||
},
|
||||
"remote": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"main"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sync_status",
|
||||
"install_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"integrations"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"description": "Generic Error",
|
||||
"properties": {
|
||||
"attributes": {},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"errorType": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusCode": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"message",
|
||||
"attributes"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"summary": "Get CCR Remote synced integrations status by outputId",
|
||||
"tags": [
|
||||
"CCR Remote synced integrations"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/fleet/service_tokens": {
|
||||
"post": {
|
||||
"description": "[Required authorization] Route required privileges: fleet-agents-all.",
|
||||
|
@ -58703,9 +58370,6 @@
|
|||
{
|
||||
"name": "alerting"
|
||||
},
|
||||
{
|
||||
"name": "CCR Remote synced integrations"
|
||||
},
|
||||
{
|
||||
"name": "connectors"
|
||||
},
|
||||
|
|
|
@ -44288,339 +44288,6 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"/api/fleet/remote_synced_integrations/status": {
|
||||
"get": {
|
||||
"description": "[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.",
|
||||
"operationId": "get-fleet-remote-synced-integrations-status",
|
||||
"parameters": [],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"custom_assets": {
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_deleted": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name",
|
||||
"package_name",
|
||||
"package_version",
|
||||
"sync_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"integrations": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"install_status": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"main": {
|
||||
"type": "string"
|
||||
},
|
||||
"remote": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"main"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sync_status",
|
||||
"install_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"integrations"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"description": "Generic Error",
|
||||
"properties": {
|
||||
"attributes": {},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"errorType": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusCode": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"message",
|
||||
"attributes"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"summary": "Get CCR Remote synced integrations status",
|
||||
"tags": [
|
||||
"CCR Remote synced integrations"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/fleet/remote_synced_integrations/{outputId}/remote_status": {
|
||||
"get": {
|
||||
"description": "[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.",
|
||||
"operationId": "get-fleet-remote-synced-integrations-outputid-remote-status",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "outputId",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"custom_assets": {
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_deleted": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"name",
|
||||
"package_name",
|
||||
"package_version",
|
||||
"sync_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"integrations": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"install_status": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"main": {
|
||||
"type": "string"
|
||||
},
|
||||
"remote": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"main"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"package_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"package_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"sync_status": {
|
||||
"enum": [
|
||||
"completed",
|
||||
"synchronizing",
|
||||
"failed",
|
||||
"warning"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sync_status",
|
||||
"install_status"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"warning": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"integrations"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"additionalProperties": false,
|
||||
"description": "Generic Error",
|
||||
"properties": {
|
||||
"attributes": {},
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"errorType": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusCode": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"message",
|
||||
"attributes"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"summary": "Get CCR Remote synced integrations status by outputId",
|
||||
"tags": [
|
||||
"CCR Remote synced integrations"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/fleet/service_tokens": {
|
||||
"post": {
|
||||
"description": "[Required authorization] Route required privileges: fleet-agents-all.",
|
||||
|
@ -58294,9 +57961,6 @@
|
|||
{
|
||||
"name": "alerting"
|
||||
},
|
||||
{
|
||||
"name": "CCR Remote synced integrations"
|
||||
},
|
||||
{
|
||||
"name": "connectors"
|
||||
},
|
||||
|
|
|
@ -66,7 +66,6 @@ tags:
|
|||
Configure APM source maps. A source map allows minified files to be mapped back to original source code--allowing you to maintain the speed advantage of minified code, without losing the ability to quickly and easily debug your application.
|
||||
For best results, uploading source maps should become a part of your deployment procedure, and not something you only do when you see unhelpful errors. That's because uploading source maps after errors happen won't make old errors magically readable--errors must occur again for source mapping to occur.
|
||||
name: APM sourcemaps
|
||||
- name: CCR Remote synced integrations
|
||||
- name: connectors
|
||||
description: |
|
||||
Connectors provide a central place to store connection information for services and integrations with Elastic or third party systems. Alerting rules can use connectors to run actions when rule conditions are met.
|
||||
|
@ -39060,233 +39059,6 @@ paths:
|
|||
summary: Update a proxy
|
||||
tags:
|
||||
- Fleet proxies
|
||||
/api/fleet/remote_synced_integrations/{outputId}/remote_status:
|
||||
get:
|
||||
description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.'
|
||||
operationId: get-fleet-remote-synced-integrations-outputid-remote-status
|
||||
parameters:
|
||||
- in: path
|
||||
name: outputId
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
custom_assets:
|
||||
additionalProperties:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
is_deleted:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- name
|
||||
- package_name
|
||||
- package_version
|
||||
- sync_status
|
||||
type: object
|
||||
error:
|
||||
type: string
|
||||
integrations:
|
||||
items:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
install_status:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
main:
|
||||
type: string
|
||||
remote:
|
||||
type: string
|
||||
required:
|
||||
- main
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
updated_at:
|
||||
type: string
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- sync_status
|
||||
- install_status
|
||||
type: array
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- integrations
|
||||
'400':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
description: Generic Error
|
||||
type: object
|
||||
properties:
|
||||
attributes: {}
|
||||
error:
|
||||
type: string
|
||||
errorType:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
statusCode:
|
||||
type: number
|
||||
required:
|
||||
- message
|
||||
- attributes
|
||||
summary: Get CCR Remote synced integrations status by outputId
|
||||
tags:
|
||||
- CCR Remote synced integrations
|
||||
/api/fleet/remote_synced_integrations/status:
|
||||
get:
|
||||
description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.'
|
||||
operationId: get-fleet-remote-synced-integrations-status
|
||||
parameters: []
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
custom_assets:
|
||||
additionalProperties:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
is_deleted:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- name
|
||||
- package_name
|
||||
- package_version
|
||||
- sync_status
|
||||
type: object
|
||||
error:
|
||||
type: string
|
||||
integrations:
|
||||
items:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
install_status:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
main:
|
||||
type: string
|
||||
remote:
|
||||
type: string
|
||||
required:
|
||||
- main
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
updated_at:
|
||||
type: string
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- sync_status
|
||||
- install_status
|
||||
type: array
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- integrations
|
||||
'400':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
description: Generic Error
|
||||
type: object
|
||||
properties:
|
||||
attributes: {}
|
||||
error:
|
||||
type: string
|
||||
errorType:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
statusCode:
|
||||
type: number
|
||||
required:
|
||||
- message
|
||||
- attributes
|
||||
summary: Get CCR Remote synced integrations status
|
||||
tags:
|
||||
- CCR Remote synced integrations
|
||||
/api/fleet/service_tokens:
|
||||
post:
|
||||
description: '[Required authorization] Route required privileges: fleet-agents-all.'
|
||||
|
|
|
@ -80,7 +80,6 @@ tags:
|
|||
description: Cases documentation
|
||||
url: https://www.elastic.co/docs/explore-analyze/alerts-cases/cases
|
||||
x-displayName: Cases
|
||||
- name: CCR Remote synced integrations
|
||||
- name: connectors
|
||||
description: |
|
||||
Connectors provide a central place to store connection information for services and integrations with Elastic or third party systems. Alerting rules can use connectors to run actions when rule conditions are met.
|
||||
|
@ -41302,233 +41301,6 @@ paths:
|
|||
summary: Update a proxy
|
||||
tags:
|
||||
- Fleet proxies
|
||||
/api/fleet/remote_synced_integrations/{outputId}/remote_status:
|
||||
get:
|
||||
description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.'
|
||||
operationId: get-fleet-remote-synced-integrations-outputid-remote-status
|
||||
parameters:
|
||||
- in: path
|
||||
name: outputId
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
custom_assets:
|
||||
additionalProperties:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
is_deleted:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- name
|
||||
- package_name
|
||||
- package_version
|
||||
- sync_status
|
||||
type: object
|
||||
error:
|
||||
type: string
|
||||
integrations:
|
||||
items:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
install_status:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
main:
|
||||
type: string
|
||||
remote:
|
||||
type: string
|
||||
required:
|
||||
- main
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
updated_at:
|
||||
type: string
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- sync_status
|
||||
- install_status
|
||||
type: array
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- integrations
|
||||
'400':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
description: Generic Error
|
||||
type: object
|
||||
properties:
|
||||
attributes: {}
|
||||
error:
|
||||
type: string
|
||||
errorType:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
statusCode:
|
||||
type: number
|
||||
required:
|
||||
- message
|
||||
- attributes
|
||||
summary: Get CCR Remote synced integrations status by outputId
|
||||
tags:
|
||||
- CCR Remote synced integrations
|
||||
/api/fleet/remote_synced_integrations/status:
|
||||
get:
|
||||
description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.'
|
||||
operationId: get-fleet-remote-synced-integrations-status
|
||||
parameters: []
|
||||
responses:
|
||||
'200':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
custom_assets:
|
||||
additionalProperties:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
is_deleted:
|
||||
type: boolean
|
||||
name:
|
||||
type: string
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- name
|
||||
- package_name
|
||||
- package_version
|
||||
- sync_status
|
||||
type: object
|
||||
error:
|
||||
type: string
|
||||
integrations:
|
||||
items:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
error:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
install_status:
|
||||
additionalProperties: false
|
||||
type: object
|
||||
properties:
|
||||
main:
|
||||
type: string
|
||||
remote:
|
||||
type: string
|
||||
required:
|
||||
- main
|
||||
package_name:
|
||||
type: string
|
||||
package_version:
|
||||
type: string
|
||||
sync_status:
|
||||
enum:
|
||||
- completed
|
||||
- synchronizing
|
||||
- failed
|
||||
- warning
|
||||
type: string
|
||||
updated_at:
|
||||
type: string
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- sync_status
|
||||
- install_status
|
||||
type: array
|
||||
warning:
|
||||
type: string
|
||||
required:
|
||||
- integrations
|
||||
'400':
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
additionalProperties: false
|
||||
description: Generic Error
|
||||
type: object
|
||||
properties:
|
||||
attributes: {}
|
||||
error:
|
||||
type: string
|
||||
errorType:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
statusCode:
|
||||
type: number
|
||||
required:
|
||||
- message
|
||||
- attributes
|
||||
summary: Get CCR Remote synced integrations status
|
||||
tags:
|
||||
- CCR Remote synced integrations
|
||||
/api/fleet/service_tokens:
|
||||
post:
|
||||
description: '[Required authorization] Route required privileges: fleet-agents-all.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue