Skip to content
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
bdc0100
[Fleet] Create API to report status of integrations synchronization
criamico Mar 19, 2025
ce1de43
use follower info api
criamico Mar 19, 2025
fe5c7f1
Merge main
criamico Mar 24, 2025
d7fbe56
Get working endpoint
criamico Mar 27, 2025
6e1f6b8
Merge branch 'main' into 192363_integrations_sync_status
elasticmachine Mar 27, 2025
525d0d5
Add top level error
criamico Mar 27, 2025
84e10d6
Address code review comments
criamico Mar 28, 2025
796b101
Update dev docs
criamico Mar 31, 2025
b438a71
Add comparison for custom assets
criamico Apr 1, 2025
f022ee1
Address comments and add unit tests
criamico Apr 1, 2025
682a307
Merge branch 'main' into 192363_integrations_sync_status
elasticmachine Apr 1, 2025
8009397
[CI] Auto-commit changed files from 'node scripts/capture_oas_snapsho…
kibanamachine Apr 1, 2025
778cb1a
[CI] Auto-commit changed files from 'make api-docs'
kibanamachine Apr 1, 2025
ef49a31
Address code review comments and add tests
criamico Apr 2, 2025
73d2a9e
Add tests and address code review comments
criamico Apr 3, 2025
17d615f
Move functions to its own file
criamico Apr 3, 2025
aed1575
clean up
criamico Apr 3, 2025
3a0db47
Merge branch 'main' into 192363_integrations_sync_status
elasticmachine Apr 3, 2025
c9a1484
Code review pt.1: architecture diagram, return data, version comparison
criamico Apr 3, 2025
65c6c75
[CI] Auto-commit changed files from 'node scripts/capture_oas_snapsho…
kibanamachine Apr 3, 2025
8129bf4
[CI] Auto-commit changed files from 'make api-docs'
kibanamachine Apr 3, 2025
0907204
Code review pt.2: check is_deleted, remove wrong condition
criamico Apr 3, 2025
6e10aa5
Merge branch 'main' into 192363_integrations_sync_status
elasticmachine Apr 4, 2025
7d6e865
[CI] Auto-commit changed files from 'node scripts/capture_oas_snapsho…
kibanamachine Apr 4, 2025
4519bd6
[CI] Auto-commit changed files from 'make api-docs'
kibanamachine Apr 4, 2025
c186486
Fix unit test
criamico Apr 4, 2025
2b4cb2e
Update docs and diagram
criamico Apr 4, 2025
317ed18
Merge branch 'main' into 192363_integrations_sync_status
elasticmachine Apr 4, 2025
fb1eb39
Address code review comments pt.3, add more tests
criamico Apr 7, 2025
f884e10
Merge branch 'main' into 192363_integrations_sync_status
elasticmachine Apr 7, 2025
fb34535
Replace failed state with synchronizing when versions do not match
criamico Apr 7, 2025
fc6a8c8
Add failure reason from latest_install_failed_attempts
criamico Apr 7, 2025
e51b00c
Update diagram
criamico Apr 7, 2025
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
135 changes: 135 additions & 0 deletions oas_docs/bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -43637,6 +43637,138 @@
]
}
},
"/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": {
"name": {
"type": "string"
},
"package_name": {
"type": "string"
},
"package_version": {
"type": "string"
},
"sync_status": {
"enum": [
"completed",
"synchronizing",
"failed"
],
"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"
},
"package_name": {
"type": "string"
},
"package_version": {
"type": "string"
},
"sync_status": {
"enum": [
"completed",
"synchronizing",
"failed"
],
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": [
"sync_status"
],
"type": "object"
},
"type": "array"
}
},
"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/service_tokens": {
"post": {
"description": "[Required authorization] Route required privileges: fleet-agents-all.",
Expand Down Expand Up @@ -53433,6 +53565,9 @@
{
"name": "alerting"
},
{
"name": "CCR Remote synced integrations"
},
{
"name": "connectors"
},
Expand Down
135 changes: 135 additions & 0 deletions oas_docs/bundle.serverless.json
Original file line number Diff line number Diff line change
Expand Up @@ -43637,6 +43637,138 @@
]
}
},
"/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": {
"name": {
"type": "string"
},
"package_name": {
"type": "string"
},
"package_version": {
"type": "string"
},
"sync_status": {
"enum": [
"completed",
"synchronizing",
"failed"
],
"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"
},
"package_name": {
"type": "string"
},
"package_version": {
"type": "string"
},
"sync_status": {
"enum": [
"completed",
"synchronizing",
"failed"
],
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": [
"sync_status"
],
"type": "object"
},
"type": "array"
}
},
"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/service_tokens": {
"post": {
"description": "[Required authorization] Route required privileges: fleet-agents-all.",
Expand Down Expand Up @@ -53024,6 +53156,9 @@
{
"name": "alerting"
},
{
"name": "CCR Remote synced integrations"
},
{
"name": "connectors"
},
Expand Down
Loading