Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
2751c19
Add integration knowledge opt out UI setting and enable feature flag
juliaElastic Dec 3, 2025
ff61180
Changes from node scripts/capture_oas_snapshot --include-path /api/…
kibanamachine Dec 3, 2025
1fc7ff2
Changes from node scripts/check_mappings_update --fix
kibanamachine Dec 3, 2025
5501cdb
skip reindex for packages not installed from registry
juliaElastic Dec 3, 2025
f8d63b6
Changes from make api-docs
kibanamachine Dec 3, 2025
746029b
Changes from node scripts/jest_integration -u src/core/server/integra…
kibanamachine Dec 3, 2025
0c3da93
reinstall package for bundled packages and skip for non-registry pack…
juliaElastic Dec 3, 2025
7b56735
handle bundled packages
juliaElastic Dec 3, 2025
530c600
skip reindex if knowledge base exists on installed version
juliaElastic Dec 3, 2025
a3011e7
fix tests
juliaElastic Dec 3, 2025
6aa3047
fix tests
juliaElastic Dec 4, 2025
757c46a
Merge branch 'main' into integration-knowledge-ff
juliaElastic Dec 4, 2025
a4f5161
Merge branch 'main' into integration-knowledge-ff
juliaElastic Dec 4, 2025
32e2352
add tests
juliaElastic Dec 4, 2025
d0c5b69
add tests
juliaElastic Dec 4, 2025
78ab0b9
disable action if license is not enterprise
juliaElastic Dec 4, 2025
8161818
Update x-pack/platform/plugins/shared/fleet/public/applications/integ…
juliaElastic Dec 4, 2025
5c9dc6e
Update x-pack/platform/plugins/shared/fleet/public/applications/integ…
juliaElastic Dec 4, 2025
afd59db
Update x-pack/platform/plugins/shared/fleet/public/applications/integ…
juliaElastic Dec 4, 2025
c9e1dca
Update x-pack/platform/plugins/shared/fleet/public/applications/integ…
juliaElastic Dec 4, 2025
3177132
Update x-pack/platform/plugins/shared/fleet/public/applications/integ…
juliaElastic Dec 4, 2025
1142a67
Merge branch 'main' into integration-knowledge-ff
juliaElastic Dec 4, 2025
18dc14e
fix test
juliaElastic Dec 4, 2025
cb24e7c
review comments
juliaElastic Dec 4, 2025
811f7ff
use abortController
juliaElastic Dec 5, 2025
e8e902d
Merge branch 'main' into integration-knowledge-ff
juliaElastic Dec 5, 2025
3570795
pass abortController to use with esClient
juliaElastic Dec 5, 2025
9595cde
fix tests
juliaElastic Dec 5, 2025
5fd7133
fix test
juliaElastic Dec 5, 2025
f5ef80e
added tour and learn more link
juliaElastic Dec 5, 2025
5041599
Fix i18n
juliaElastic Dec 5, 2025
41f608a
Merge branch 'main' into integration-knowledge-ff
juliaElastic Dec 8, 2025
3358168
Merge branch 'main' into integration-knowledge-ff
juliaElastic Dec 8, 2025
f1506ea
fix conflict
juliaElastic Dec 8, 2025
0dd1abb
Changes from node scripts/jest_integration -u src/core/server/integra…
kibanamachine Dec 8, 2025
e9c347e
catch parse error
juliaElastic Dec 8, 2025
ccf38ac
fix checks
juliaElastic Dec 8, 2025
ab7ecd4
disable feature flag in test
juliaElastic Dec 9, 2025
e4ff368
replace newline
juliaElastic Dec 9, 2025
fcbfeb8
remove newlines and fix test
juliaElastic Dec 9, 2025
ba23179
fix test
juliaElastic Dec 9, 2025
6b6e18c
fix tests
juliaElastic Dec 9, 2025
530ba40
fix tests
juliaElastic Dec 10, 2025
34e5e68
fix checks
juliaElastic Dec 10, 2025
7729b4f
fix test
juliaElastic Dec 10, 2025
068fcc6
Merge branch 'main' into integration-knowledge-ff
juliaElastic Dec 10, 2025
249fecb
fix tests
juliaElastic Dec 10, 2025
aa1658f
address review comments
juliaElastic Dec 10, 2025
ca58b14
updated flyout copy
juliaElastic Dec 10, 2025
80cf405
fix tests
juliaElastic Dec 10, 2025
fab37c5
fix test
juliaElastic Dec 11, 2025
519c3ed
update ai assistant test
juliaElastic Dec 11, 2025
222b3de
disable feature flag in ai assistant tests
juliaElastic Dec 11, 2025
2320eca
add retry to test
juliaElastic Dec 11, 2025
00e8077
fix test
juliaElastic Dec 11, 2025
99841c5
Update x-pack/platform/plugins/shared/fleet/public/applications/integ…
juliaElastic Dec 11, 2025
fb01003
disable feature flag in ML test
juliaElastic Dec 11, 2025
ac2fb68
disable feature flag in ML test
juliaElastic Dec 11, 2025
73af7d4
revert test changes
juliaElastic Dec 11, 2025
053e0d3
revert change
juliaElastic Dec 12, 2025
61cc206
move feature flag from base config
juliaElastic Dec 12, 2025
6ce1e64
move ai assistant serverless test to feature flag config
juliaElastic Dec 12, 2025
72f051b
fix checks
juliaElastic Dec 12, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildkite/ftr_oblt_serverless_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ enabled:
- x-pack/solutions/observability/test/serverless/functional/configs/config.telemetry.ts
# serverless config files that run deployment-agnostic tests
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.ai_assistant.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/feature_flag_configs/serverless/oblt.ai_assistant.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.apm.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.synthetics.serverless.config.ts
- x-pack/solutions/observability/test/api_integration_deployment_agnostic/feature_flag_configs/serverless/oblt.serverless.config.ts
Expand Down
9 changes: 9 additions & 0 deletions oas_docs/bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -49428,6 +49428,9 @@
},
"type": "object"
},
"integration_knowledge_enabled": {
"type": "boolean"
},
"output_secret_storage_requirements_met": {
"type": "boolean"
},
Expand Down Expand Up @@ -49578,6 +49581,9 @@
"deprecated": true,
"type": "boolean"
},
"integration_knowledge_enabled": {
"type": "boolean"
},
"kibana_ca_sha256": {
"deprecated": true,
"type": "string"
Expand Down Expand Up @@ -49661,6 +49667,9 @@
},
"type": "object"
},
"integration_knowledge_enabled": {
"type": "boolean"
},
"output_secret_storage_requirements_met": {
"type": "boolean"
},
Expand Down
9 changes: 9 additions & 0 deletions oas_docs/bundle.serverless.json
Original file line number Diff line number Diff line change
Expand Up @@ -48916,6 +48916,9 @@
},
"type": "object"
},
"integration_knowledge_enabled": {
"type": "boolean"
},
"output_secret_storage_requirements_met": {
"type": "boolean"
},
Expand Down Expand Up @@ -49066,6 +49069,9 @@
"deprecated": true,
"type": "boolean"
},
"integration_knowledge_enabled": {
"type": "boolean"
},
"kibana_ca_sha256": {
"deprecated": true,
"type": "string"
Expand Down Expand Up @@ -49149,6 +49155,9 @@
},
"type": "object"
},
"integration_knowledge_enabled": {
"type": "boolean"
},
"output_secret_storage_requirements_met": {
"type": "boolean"
},
Expand Down
6 changes: 6 additions & 0 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47978,6 +47978,8 @@ paths:
- success
nullable: true
type: string
integration_knowledge_enabled:
type: boolean
output_secret_storage_requirements_met:
type: boolean
preconfigured_fields:
Expand Down Expand Up @@ -48087,6 +48089,8 @@ paths:
has_seen_add_data_notice:
deprecated: true
type: boolean
integration_knowledge_enabled:
type: boolean
kibana_ca_sha256:
deprecated: true
type: string
Expand Down Expand Up @@ -48146,6 +48150,8 @@ paths:
- success
nullable: true
type: string
integration_knowledge_enabled:
type: boolean
output_secret_storage_requirements_met:
type: boolean
preconfigured_fields:
Expand Down
6 changes: 6 additions & 0 deletions oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50915,6 +50915,8 @@ paths:
- success
nullable: true
type: string
integration_knowledge_enabled:
type: boolean
output_secret_storage_requirements_met:
type: boolean
preconfigured_fields:
Expand Down Expand Up @@ -51024,6 +51026,8 @@ paths:
has_seen_add_data_notice:
deprecated: true
type: boolean
integration_knowledge_enabled:
type: boolean
kibana_ca_sha256:
deprecated: true
type: string
Expand Down Expand Up @@ -51083,6 +51087,8 @@ paths:
- success
nullable: true
type: string
integration_knowledge_enabled:
type: boolean
output_secret_storage_requirements_met:
type: boolean
preconfigured_fields:
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-check-saved-objects-cli/current_fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,7 @@
"fleet_server_hosts",
"has_seen_add_data_notice",
"ilm_migration_status",
"integration_knowledge_enabled",
"output_secret_storage_requirements_met",
"prerelease_integrations_enabled",
"secret_storage_requirements_met",
Expand Down
3 changes: 3 additions & 0 deletions packages/kbn-check-saved-objects-cli/current_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2663,6 +2663,9 @@
"dynamic": false,
"properties": {}
},
"integration_knowledge_enabled": {
"type": "boolean"
},
"output_secret_storage_requirements_met": {
"type": "boolean"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"10.6.0": [
{
"has_seen_add_data_notice": true,
"prerelease_integrations_enabled": false,
"id": "id",
"version": "1",
"preconfigured_fields": ["fleet_server_hosts"],
"secret_storage_requirements_met": true,
"output_secret_storage_requirements_met": true,
"action_secret_storage_requirements_met": true,
"use_space_awareness_migration_status": "success",
"use_space_awareness_migration_started_at": "2022-10-11T13:45:20.123Z",
"delete_unenrolled_agents": {
"enabled": true,
"is_preconfigured": false
},
"ilm_migration_status": {
"logs": "success",
"metrics": "success",
"synthetics": null
},
"ssl_secret_storage_requirements_met": true
}
],
"10.7.0": [
{
"has_seen_add_data_notice": true,
"prerelease_integrations_enabled": false,
"id": "id",
"version": "1",
"preconfigured_fields": ["fleet_server_hosts"],
"secret_storage_requirements_met": true,
"output_secret_storage_requirements_met": true,
"action_secret_storage_requirements_met": true,
"use_space_awareness_migration_status": "success",
"use_space_awareness_migration_started_at": "2022-10-11T13:45:20.123Z",
"delete_unenrolled_agents": {
"enabled": true,
"is_preconfigured": false
},
"ilm_migration_status": {
"logs": "success",
"metrics": "success",
"synthetics": null
},
"ssl_secret_storage_requirements_met": true,
"integration_knowledge_enabled": true
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"ingest-download-sources": "c87e062ef293585e85fccec0c865d7cef48e0ff9a919d7781d5f7627d275484b",
"ingest-outputs": "4f3451469b080548fd0f2ca414a81d91bd0d5690c34378376433ab1ae960ce5c",
"ingest-package-policies": "9b9a83b94a99e0574a69999310b00917ddd5bfd44a6079badf54026029fed597",
"ingest_manager_settings": "ff92838e01da020f9a1fe0f9154a9769adb74489422adb518faec5459c9834e5",
"ingest_manager_settings": "535e93b324c94e9012cb185666a2a915e3c96db65ee1994a13beb066d1be7684",
"intercept_interaction_record": "c0220185d080f25abd14c4c29f72b2e5270f3ce55a775c8c7ac9177e0f2c810d",
"intercept_trigger_record": "e10a20733bbaaae951478e45c9f2cc70677299060222edd5a6f5db29591c5f96",
"inventory-view": "f66434444d3576f801f112fc3584634054af081bbf6e78eb84a41462c62e53ba",
Expand Down Expand Up @@ -830,8 +830,9 @@ describe('checking migration metadata changes on all registered SO types', () =>
"ingest-package-policies|warning: The SO type owner should ensure these transform functions DO NOT mutate after they are defined.",
"================================================================================================================================",
"ingest_manager_settings|global: aa0735c39adb396365f28cf118204854b9d5d71e",
"ingest_manager_settings|mappings: 73b7ee2e92003e1f56e13769012f3d8951b76605",
"ingest_manager_settings|mappings: 8c1c22339d8aaa9999dd904bcb03612ef17b51dc",
"ingest_manager_settings|schemas: da39a3ee5e6b4b0d3255bfef95601890afd80709",
"ingest_manager_settings|10.7.0: c0e7e5407ddadc18ab645a2972f4f1831f91192ac50462a1e72ab9470f18269d",
"ingest_manager_settings|10.6.0: 807307a9a72ab12f568dfa03131fce9b9a7414c1649418d40db06cff6c62ab5e",
"ingest_manager_settings|10.5.0: cf8c901d4394ae835fb669c4512a89a633b3d3267648b0b1afb3bc0deb7613bd",
"ingest_manager_settings|10.4.0: 764f19710e944dab032c05a10694aaf8b202d61786f6910898edf5c1e21b92f9",
Expand Down Expand Up @@ -1332,7 +1333,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"ingest-download-sources": "10.1.0",
"ingest-outputs": "10.8.0",
"ingest-package-policies": "10.21.0",
"ingest_manager_settings": "10.6.0",
"ingest_manager_settings": "10.7.0",
"intercept_interaction_record": "10.1.0",
"intercept_trigger_record": "10.1.0",
"inventory-view": "10.2.0",
Expand Down Expand Up @@ -1480,7 +1481,7 @@ describe('checking migration metadata changes on all registered SO types', () =>
"ingest-download-sources": "10.1.0",
"ingest-outputs": "10.8.0",
"ingest-package-policies": "10.21.0",
"ingest_manager_settings": "10.6.0",
"ingest_manager_settings": "10.7.0",
"intercept_interaction_record": "10.1.0",
"intercept_trigger_record": "10.1.0",
"inventory-view": "10.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const _allowedExperimentalValues = {
enableOtelIntegrations: true,
enableAgentStatusAlerting: true,
enableAgentPrivilegeLevelChange: false,
installIntegrationsKnowledge: false,
installIntegrationsKnowledge: true,
enableFleetPolicyRevisionsCleanupTask: true,
agentlessPoliciesAPI: true, // When enabled, agentless policies API will be enabled.
useAgentlessAPIInUI: true, // When enabled, Fleet UI will use agentless policies API to create agentless policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export interface BaseSettings {
metrics?: 'success' | null;
synthetics?: 'success' | null;
};
integration_knowledge_enabled?: boolean;
}

export interface Settings extends BaseSettings {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import React from 'react';
import { i18n } from '@kbn/i18n';
import type { EuiTourStepProps } from '@elastic/eui';
import { EuiButton, EuiButtonEmpty, EuiText, EuiTourStep, useEuiTheme } from '@elastic/eui';

import { useDismissableTour } from '../../../../../../../hooks';

export interface EisCostTourProps {
anchorPosition?: EuiTourStepProps['anchorPosition'];
ctaLink?: string;
isCloudEnabled: boolean;
children: React.ReactElement;
}

export const EisCostTour = ({
anchorPosition = 'downCenter',
ctaLink,
isCloudEnabled,
children,
}: EisCostTourProps) => {
const { euiTheme } = useEuiTheme();

const { isOpen, dismiss } = useDismissableTour('EIS_COSTS');

if (!isOpen || !isCloudEnabled) {
return children;
}

return (
<EuiTourStep
data-test-subj="fleetEisCostTour"
title={i18n.translate('xpack.fleet.eisCosts.tour.title', {
defaultMessage: 'AI agents now understand your integrations',
})}
maxWidth={`${euiTheme.base * 25}px`}
content={
<EuiText>
<p>
{i18n.translate('xpack.fleet.eisCosts.tour.description', {
defaultMessage:
'Integration documentation and metadata are automatically indexed using Elastic Inference Service (EIS) to help agents understand your environment. Manage settings here.',
})}
</p>
</EuiText>
}
isStepOpen={isOpen}
anchorPosition={anchorPosition}
step={1}
stepsTotal={1}
onFinish={dismiss}
footerAction={[
<EuiButtonEmpty
data-test-subj="fleetEisCostTourCloseBtn"
onClick={dismiss}
aria-label={i18n.translate('xpack.fleet.eisCosts.tour.dismiss.aria', {
defaultMessage: 'Close the cost tour',
})}
>
{i18n.translate('xpack.fleet.eisCosts.tour.dismiss', {
defaultMessage: 'Dismiss',
})}
</EuiButtonEmpty>,
...(ctaLink
? [
<EuiButton
fullWidth={false}
color="primary"
size="s"
href={ctaLink}
data-test-subj="eisCostsTourCtaBtn"
target="_blank"
iconSide="right"
iconType="popout"
>
{i18n.translate('xpack.fleet.eisCosts.tour.cta', {
defaultMessage: 'Learn more',
})}
</EuiButton>,
]
: []),
]}
>
{children}
</EuiTourStep>
);
};
Loading
Loading