Skip to content

Commit d65f9c5

Browse files
[Fleet] enable feature flag enableSyncIntegrationsOnRemote (#220215)
## Summary Closes #217490 - Enable feature flag `enableSyncIntegrationsOnRemote` - Added check to hide sync integrations feature in serverless - Moved creating the follower index from Fleet setup to output create/update API and async task (create if does not exist) - Follower index is not hidden for now, because if hidden, it's not showing up on the CCR UI --------- Co-authored-by: kibanamachine <[email protected]>
1 parent 013384e commit d65f9c5

File tree

18 files changed

+1276
-147
lines changed

18 files changed

+1276
-147
lines changed

oas_docs/bundle.json

Lines changed: 336 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45110,6 +45110,339 @@
4511045110
]
4511145111
}
4511245112
},
45113+
"/api/fleet/remote_synced_integrations/status": {
45114+
"get": {
45115+
"description": "[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.",
45116+
"operationId": "get-fleet-remote-synced-integrations-status",
45117+
"parameters": [],
45118+
"responses": {
45119+
"200": {
45120+
"content": {
45121+
"application/json": {
45122+
"schema": {
45123+
"additionalProperties": false,
45124+
"properties": {
45125+
"custom_assets": {
45126+
"additionalProperties": {
45127+
"additionalProperties": false,
45128+
"properties": {
45129+
"error": {
45130+
"type": "string"
45131+
},
45132+
"is_deleted": {
45133+
"type": "boolean"
45134+
},
45135+
"name": {
45136+
"type": "string"
45137+
},
45138+
"package_name": {
45139+
"type": "string"
45140+
},
45141+
"package_version": {
45142+
"type": "string"
45143+
},
45144+
"sync_status": {
45145+
"enum": [
45146+
"completed",
45147+
"synchronizing",
45148+
"failed",
45149+
"warning"
45150+
],
45151+
"type": "string"
45152+
},
45153+
"type": {
45154+
"type": "string"
45155+
}
45156+
},
45157+
"required": [
45158+
"type",
45159+
"name",
45160+
"package_name",
45161+
"package_version",
45162+
"sync_status"
45163+
],
45164+
"type": "object"
45165+
},
45166+
"type": "object"
45167+
},
45168+
"error": {
45169+
"type": "string"
45170+
},
45171+
"integrations": {
45172+
"items": {
45173+
"additionalProperties": false,
45174+
"properties": {
45175+
"error": {
45176+
"type": "string"
45177+
},
45178+
"id": {
45179+
"type": "string"
45180+
},
45181+
"install_status": {
45182+
"additionalProperties": false,
45183+
"properties": {
45184+
"main": {
45185+
"type": "string"
45186+
},
45187+
"remote": {
45188+
"type": "string"
45189+
}
45190+
},
45191+
"required": [
45192+
"main"
45193+
],
45194+
"type": "object"
45195+
},
45196+
"package_name": {
45197+
"type": "string"
45198+
},
45199+
"package_version": {
45200+
"type": "string"
45201+
},
45202+
"sync_status": {
45203+
"enum": [
45204+
"completed",
45205+
"synchronizing",
45206+
"failed",
45207+
"warning"
45208+
],
45209+
"type": "string"
45210+
},
45211+
"updated_at": {
45212+
"type": "string"
45213+
},
45214+
"warning": {
45215+
"type": "string"
45216+
}
45217+
},
45218+
"required": [
45219+
"sync_status",
45220+
"install_status"
45221+
],
45222+
"type": "object"
45223+
},
45224+
"type": "array"
45225+
},
45226+
"warning": {
45227+
"type": "string"
45228+
}
45229+
},
45230+
"required": [
45231+
"integrations"
45232+
],
45233+
"type": "object"
45234+
}
45235+
}
45236+
}
45237+
},
45238+
"400": {
45239+
"content": {
45240+
"application/json": {
45241+
"schema": {
45242+
"additionalProperties": false,
45243+
"description": "Generic Error",
45244+
"properties": {
45245+
"attributes": {},
45246+
"error": {
45247+
"type": "string"
45248+
},
45249+
"errorType": {
45250+
"type": "string"
45251+
},
45252+
"message": {
45253+
"type": "string"
45254+
},
45255+
"statusCode": {
45256+
"type": "number"
45257+
}
45258+
},
45259+
"required": [
45260+
"message",
45261+
"attributes"
45262+
],
45263+
"type": "object"
45264+
}
45265+
}
45266+
}
45267+
}
45268+
},
45269+
"summary": "Get CCR Remote synced integrations status",
45270+
"tags": [
45271+
"CCR Remote synced integrations"
45272+
]
45273+
}
45274+
},
45275+
"/api/fleet/remote_synced_integrations/{outputId}/remote_status": {
45276+
"get": {
45277+
"description": "[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.",
45278+
"operationId": "get-fleet-remote-synced-integrations-outputid-remote-status",
45279+
"parameters": [
45280+
{
45281+
"in": "path",
45282+
"name": "outputId",
45283+
"required": true,
45284+
"schema": {
45285+
"type": "string"
45286+
}
45287+
}
45288+
],
45289+
"responses": {
45290+
"200": {
45291+
"content": {
45292+
"application/json": {
45293+
"schema": {
45294+
"additionalProperties": false,
45295+
"properties": {
45296+
"custom_assets": {
45297+
"additionalProperties": {
45298+
"additionalProperties": false,
45299+
"properties": {
45300+
"error": {
45301+
"type": "string"
45302+
},
45303+
"is_deleted": {
45304+
"type": "boolean"
45305+
},
45306+
"name": {
45307+
"type": "string"
45308+
},
45309+
"package_name": {
45310+
"type": "string"
45311+
},
45312+
"package_version": {
45313+
"type": "string"
45314+
},
45315+
"sync_status": {
45316+
"enum": [
45317+
"completed",
45318+
"synchronizing",
45319+
"failed",
45320+
"warning"
45321+
],
45322+
"type": "string"
45323+
},
45324+
"type": {
45325+
"type": "string"
45326+
}
45327+
},
45328+
"required": [
45329+
"type",
45330+
"name",
45331+
"package_name",
45332+
"package_version",
45333+
"sync_status"
45334+
],
45335+
"type": "object"
45336+
},
45337+
"type": "object"
45338+
},
45339+
"error": {
45340+
"type": "string"
45341+
},
45342+
"integrations": {
45343+
"items": {
45344+
"additionalProperties": false,
45345+
"properties": {
45346+
"error": {
45347+
"type": "string"
45348+
},
45349+
"id": {
45350+
"type": "string"
45351+
},
45352+
"install_status": {
45353+
"additionalProperties": false,
45354+
"properties": {
45355+
"main": {
45356+
"type": "string"
45357+
},
45358+
"remote": {
45359+
"type": "string"
45360+
}
45361+
},
45362+
"required": [
45363+
"main"
45364+
],
45365+
"type": "object"
45366+
},
45367+
"package_name": {
45368+
"type": "string"
45369+
},
45370+
"package_version": {
45371+
"type": "string"
45372+
},
45373+
"sync_status": {
45374+
"enum": [
45375+
"completed",
45376+
"synchronizing",
45377+
"failed",
45378+
"warning"
45379+
],
45380+
"type": "string"
45381+
},
45382+
"updated_at": {
45383+
"type": "string"
45384+
},
45385+
"warning": {
45386+
"type": "string"
45387+
}
45388+
},
45389+
"required": [
45390+
"sync_status",
45391+
"install_status"
45392+
],
45393+
"type": "object"
45394+
},
45395+
"type": "array"
45396+
},
45397+
"warning": {
45398+
"type": "string"
45399+
}
45400+
},
45401+
"required": [
45402+
"integrations"
45403+
],
45404+
"type": "object"
45405+
}
45406+
}
45407+
}
45408+
},
45409+
"400": {
45410+
"content": {
45411+
"application/json": {
45412+
"schema": {
45413+
"additionalProperties": false,
45414+
"description": "Generic Error",
45415+
"properties": {
45416+
"attributes": {},
45417+
"error": {
45418+
"type": "string"
45419+
},
45420+
"errorType": {
45421+
"type": "string"
45422+
},
45423+
"message": {
45424+
"type": "string"
45425+
},
45426+
"statusCode": {
45427+
"type": "number"
45428+
}
45429+
},
45430+
"required": [
45431+
"message",
45432+
"attributes"
45433+
],
45434+
"type": "object"
45435+
}
45436+
}
45437+
}
45438+
}
45439+
},
45440+
"summary": "Get CCR Remote synced integrations status by outputId",
45441+
"tags": [
45442+
"CCR Remote synced integrations"
45443+
]
45444+
}
45445+
},
4511345446
"/api/fleet/service_tokens": {
4511445447
"post": {
4511545448
"description": "[Required authorization] Route required privileges: fleet-agents-all.",
@@ -60516,6 +60849,9 @@
6051660849
{
6051760850
"name": "alerting"
6051860851
},
60852+
{
60853+
"name": "CCR Remote synced integrations"
60854+
},
6051960855
{
6052060856
"name": "connectors"
6052160857
},

0 commit comments

Comments
 (0)