Skip to content

Commit 186dd79

Browse files
authored
[Agent Builder] Rename feature to "agent builder" (#234304)
## Summary **Note: the feature isn't live yet, those are part of the changes we're doing before the actual first public release** - rename the `Onechat` Kibana feature to `Agent Builder` - enable it again for all serverless distributions
1 parent 3650593 commit 186dd79

File tree

11 files changed

+21
-13
lines changed

11 files changed

+21
-13
lines changed

config/serverless.es.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ xpack.fleet.internal.registry.excludePackages: [
4141

4242
## Fine-tune the search solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides.
4343
xpack.features.overrides:
44+
### Agent Builder feature is moved from Analytics category to the Search one.
45+
agentBuilder.category: 'enterpriseSearch'
4446
### Dashboards feature is moved from Analytics category to the Search one.
4547
dashboard_v2.category: "enterpriseSearch"
4648
### Dev Tools feature is moved from Analytics category to the Search one.

config/serverless.oblt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ xpack.features.overrides:
2525
### Discover feature should be moved from Analytics category to the Observability one and its privileges are
2626
### fine-tuned to grant access to Observability app.
2727
discover_v2.category: 'observability'
28+
### Agent Builder should be moved from Analytics category to the Observability one.
29+
agentBuilder.category: 'observability'
2830

2931
# Customize empty page state for analytics apps
3032
no_data_page.analyticsNoDataPageFlavor: 'serverless_observability'

config/serverless.security.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@ xpack.features.overrides:
2020
visualize_v2.hidden: true
2121
maps.hidden: true
2222
maps_v2.hidden: true
23+
### agent builder feature is moved from Analytics category to the Security one the bottom
24+
agentBuilder:
25+
category: "security"
26+
order: 1101
2327
### Machine Learning feature is moved from Analytics category to the Security one as the last item.
2428
ml:
2529
category: "security"
26-
order: 1101
30+
order: 1102
2731
### Security's feature privileges are fine-tuned to grant access to Discover, Dashboard, Maps, and Visualize apps.
2832
siemV3:
2933
privileges:

config/serverless.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ xpack.fleet.internal.registry.spec.max: '3.4'
1616

1717
## Fine-tune the feature privileges.
1818
xpack.features.overrides:
19-
onechat:
20-
hidden: true
2119
dashboard:
2220
privileges:
2321
### Dashboard's `All` feature privilege should implicitly grant `All` access to Maps and Visualize features.

x-pack/platform/plugins/shared/onechat/common/features.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* 2.0.
66
*/
77

8-
export const ONECHAT_FEATURE_ID = 'onechat';
9-
export const ONECHAT_FEATURE_NAME = 'onechat';
8+
export const ONECHAT_FEATURE_ID = 'agentBuilder';
9+
export const ONECHAT_FEATURE_NAME = 'Agent Builder';
1010
export const ONECHAT_APP_ID = 'onechat';
1111
export const ONECHAT_PATH = '/app/chat';
1212
export const ONECHAT_TITLE = 'Chat';

x-pack/platform/test/api_integration/apis/features/features/features.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export default function ({ getService }: FtrProviderContext) {
101101
'dataQuality',
102102
'dev_tools',
103103
'actions',
104+
'agentBuilder',
104105
'enterpriseSearch',
105106
'enterpriseSearchApplications',
106107
'enterpriseSearchAnalytics',
@@ -113,7 +114,6 @@ export default function ({ getService }: FtrProviderContext) {
113114
'monitoring',
114115
'observabilityAIAssistant',
115116
'observabilityCasesV3',
116-
'onechat',
117117
'savedObjectsManagement',
118118
'savedQueryManagement',
119119
'savedObjectsTagging',
@@ -161,6 +161,7 @@ export default function ({ getService }: FtrProviderContext) {
161161
'dataQuality',
162162
'dev_tools',
163163
'actions',
164+
'agentBuilder',
164165
'enterpriseSearch',
165166
'enterpriseSearchApplications',
166167
'enterpriseSearchAnalytics',
@@ -173,7 +174,6 @@ export default function ({ getService }: FtrProviderContext) {
173174
'monitoring',
174175
'observabilityAIAssistant',
175176
'observabilityCasesV3',
176-
'onechat',
177177
'savedObjectsManagement',
178178
'savedQueryManagement',
179179
'savedObjectsTagging',

x-pack/platform/test/api_integration/apis/security/privileges.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default function ({ getService }: FtrProviderContext) {
8383
'cases_assign',
8484
],
8585
observabilityAIAssistant: ['all', 'read', 'minimal_all', 'minimal_read'],
86-
onechat: ['all', 'read', 'minimal_all', 'minimal_read'],
86+
agentBuilder: ['all', 'read', 'minimal_all', 'minimal_read'],
8787
slo: ['all', 'read', 'minimal_all', 'minimal_read'],
8888
searchPlayground: ['all', 'read', 'minimal_all', 'minimal_read'],
8989
searchSynonyms: ['all', 'read', 'minimal_all', 'minimal_read'],

x-pack/platform/test/api_integration_basic/apis/security/privileges.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function ({ getService }: FtrProviderContext) {
4343
observabilityCasesV2: ['all', 'read', 'minimal_all', 'minimal_read'],
4444
observabilityCasesV3: ['all', 'read', 'minimal_all', 'minimal_read'],
4545
observabilityAIAssistant: ['all', 'read', 'minimal_all', 'minimal_read'],
46-
onechat: ['all', 'read', 'minimal_all', 'minimal_read'],
46+
agentBuilder: ['all', 'read', 'minimal_all', 'minimal_read'],
4747
slo: ['all', 'read', 'minimal_all', 'minimal_read'],
4848
canvas: ['all', 'read', 'minimal_all', 'minimal_read'],
4949
infrastructure: ['all', 'read', 'minimal_all', 'minimal_read'],
@@ -193,7 +193,7 @@ export default function ({ getService }: FtrProviderContext) {
193193
'cases_assign',
194194
],
195195
observabilityAIAssistant: ['all', 'read', 'minimal_all', 'minimal_read'],
196-
onechat: ['all', 'read', 'minimal_all', 'minimal_read'],
196+
agentBuilder: ['all', 'read', 'minimal_all', 'minimal_read'],
197197
slo: ['all', 'read', 'minimal_all', 'minimal_read'],
198198
searchPlayground: ['all', 'read', 'minimal_all', 'minimal_read'],
199199
searchSynonyms: ['all', 'read', 'minimal_all', 'minimal_read'],

x-pack/platform/test/spaces_api_integration/spaces_only/telemetry/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function ({ getService }: FtrProviderContext) {
7979
observabilityCases: 0,
8080
observabilityCasesV2: 0,
8181
observabilityCasesV3: 0,
82-
onechat: 0,
82+
agentBuilder: 0,
8383
uptime: 0,
8484
slo: 0,
8585
infrastructure: 0,

x-pack/solutions/observability/test/serverless/functional/test_suites/logs_essentials_only/privileges.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ export default function ({ getPageObject, getPageObjects, getService }: FtrProvi
5151
return await privilege.getVisibleText();
5252
})
5353
);
54-
expect(privileges.length).to.be(4);
54+
expect(privileges.length).to.be(5);
5555
expect(text).to.eql([
5656
'Discover\nAll\nRead\nNone',
5757
'Dashboard\nAll\nRead\nNone',
5858
'Streams\nAll\nRead\nNone',
5959
'Logs\nAll\nRead\nNone',
60+
'Agent Builder\nAll\nRead\nNone',
6061
]);
6162
});
6263

0 commit comments

Comments
 (0)