mirror of
https://github.com/elastic/kibana.git
synced 2025-04-19 15:35:00 -04:00
**!!MAJORITY OF THE CHANGED FILES ARE MOVED OR COPIED!!** ### Vision According to the product vision we will build a new simple UI/UX in the future https://github.com/elastic/security-team/issues/11790 This PR is a first iteration on enabling Content Connectors Management UI in Serverless Kibana Stack Management. Elastic Managed content connectors will be available only for Security and Observability projects. ### Current PR scope 1. Used initial search_connectors plugin and renamed it to content_connectors + moved from `x-pack/solutions/search` to `x-pack/platform/plugins/shared` 2. Copy relevant connectors UI and routes from enterprise_search plugin. 3. Introduce the new Stack Management card/navigation option under the Data section. 4. Enabled this plugin only in Serverless for Security and Observability projects. 5. For making PR smaller Pipelines tab was not moved. And according to Search team vision this functionality should be dropped anyway soon. 6. Extended fleet package logic to include elastic_connectors for security and o11y serverless projects 7. Added back `search:agentless-connectors-manager` task In Stack Management navigation: <img width="2062" alt="Screenshot 2025-04-15 at 3 51 43 PM" src="https://github.com/user-attachments/assets/5c93ba01-9a6a-4eac-a21d-1370f03b8f35" /> Stack Management cards: <img width="2081" alt="Screenshot 2025-04-10 at 8 41 43 PM" src="https://github.com/user-attachments/assets/3def1c12-561b-4a84-8241-4dd61cd9313d" /> Create Elastic Managed Connector UI (on Agentless): <img width="1822" alt="Screenshot 2025-04-15 at 3 55 29 PM" src="https://github.com/user-attachments/assets/6e9fea48-85e7-43df-919d-0e5492d0e704" /> Create Self Managed Connector UI: <img width="2064" alt="Screenshot 2025-04-15 at 3 55 49 PM" src="https://github.com/user-attachments/assets/d5051898-c8fa-4e41-b9ea-b41d4ed4a0d5" /> ### Next steps - [ ] Remove duplicated code between content_connectors, enterprise_search and serverless_search - [ ] Extract [common server libs](https://github.com/elastic/kibana/tree/main/x-pack/solutions/search/plugins/enterprise_search/server/lib) to the shared package `kbn-search-connectors` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Artem Shelkovnikov <artem.shelkovnikov@elastic.co> Co-authored-by: Artem Shelkovnikov <lavatroublebubble@gmail.com> Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
142 lines
4.1 KiB
YAML
142 lines
4.1 KiB
YAML
# Search Project Config
|
|
|
|
## Disable APM and Uptime, enable Enterprise Search
|
|
xpack.apm.enabled: false
|
|
|
|
xpack.cloudSecurityPosture.enabled: false
|
|
xpack.infra.enabled: false
|
|
xpack.observabilityLogsExplorer.enabled: false
|
|
xpack.observability.enabled: false
|
|
xpack.securitySolution.enabled: false
|
|
xpack.serverless.observability.enabled: false
|
|
xpack.search.enabled: false
|
|
xpack.osquery.enabled: false
|
|
|
|
# Enable fleet on search projects for agentless features
|
|
xpack.fleet.enabled: true
|
|
xpack.fleet.internal.registry.kibanaVersionCheckEnabled: false
|
|
xpack.fleet.internal.registry.spec.min: '3.0'
|
|
xpack.fleet.internal.registry.spec.max: '3.3'
|
|
xpack.fleet.packages:
|
|
# fleet_server package installed to publish agent metrics
|
|
- name: fleet_server
|
|
version: latest
|
|
# Filter out some observability and security integrations
|
|
xpack.fleet.internal.registry.excludePackages: [
|
|
# Security integrations
|
|
'endpoint',
|
|
'beaconing',
|
|
'cloud_security_posture',
|
|
'cloud_defend',
|
|
'security_detection_engine',
|
|
|
|
# Oblt integrations
|
|
'apm',
|
|
'synthetics',
|
|
'synthetics_dashboards',
|
|
|
|
# Removed in 8.11 integrations
|
|
'cisco',
|
|
'microsoft',
|
|
'symantec',
|
|
'cyberark',
|
|
|
|
# Profiling integrations
|
|
'profiler_agent',
|
|
|
|
# Search connectors
|
|
'elastic_connectors',
|
|
]
|
|
|
|
## Fine-tune the search solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides.
|
|
xpack.features.overrides:
|
|
### Dashboards feature is moved from Analytics category to the Search one.
|
|
dashboard_v2.category: "enterpriseSearch"
|
|
### Dev Tools feature is moved from Analytics category to the Search one.
|
|
dev_tools.category: "enterpriseSearch"
|
|
### Discover feature is moved from Analytics category to the Search one.
|
|
discover_v2.category: "enterpriseSearch"
|
|
### Machine Learning feature is moved from Analytics category to the Management one.
|
|
ml.category: "management"
|
|
### Stack Alerts feature is moved from Analytics category to the Search one renamed to simply `Alerts`.
|
|
stackAlerts:
|
|
name: "Alerts"
|
|
category: "enterpriseSearch"
|
|
### Observability AI Assistant feature is moved to Search and renamed
|
|
observabilityAIAssistant:
|
|
name: "AI Assistant"
|
|
category: "enterpriseSearch"
|
|
### AI Assistant enables the Inventory feature, moving to Search
|
|
inventory:
|
|
category: "enterpriseSearch"
|
|
|
|
## Cloud settings
|
|
xpack.cloud.serverless.project_type: search
|
|
|
|
## Enable the Serverless Search plugin
|
|
xpack.serverless.search.enabled: true
|
|
|
|
## Set the home route
|
|
uiSettings.overrides.defaultRoute: /app/elasticsearch
|
|
|
|
# Specify in telemetry the project type
|
|
telemetry.labels.serverless: search
|
|
|
|
# Alerts and LLM config
|
|
xpack.actions.enabledActionTypes:
|
|
['.email', '.index', '.slack', '.jira', '.webhook', '.teams', '.gen-ai', '.bedrock', '.gemini', '.inference']
|
|
|
|
# Customize empty page state for analytics apps
|
|
no_data_page.analyticsNoDataPageFlavor: 'serverless_search'
|
|
|
|
# Disable Dev tools
|
|
xpack.painless_lab.enabled: false
|
|
|
|
xpack.ml.ad.enabled: false
|
|
xpack.ml.dfa.enabled: false
|
|
xpack.ml.nlp:
|
|
enabled: true
|
|
modelDeployment:
|
|
allowStaticAllocations: true
|
|
vCPURange:
|
|
low:
|
|
min: 0
|
|
max: 2
|
|
static: 2
|
|
medium:
|
|
min: 1
|
|
max: 32
|
|
static: 32
|
|
high:
|
|
min: 1
|
|
max: 512
|
|
static: 512
|
|
xpack.ml.compatibleModuleType: 'search'
|
|
|
|
data_visualizer.resultLinks.fileBeat.enabled: false
|
|
|
|
# Search Notebooks
|
|
xpack.searchNotebooks.catalog.url: https://elastic-enterprise-search.s3.us-east-2.amazonaws.com/serverless/catalog.json
|
|
|
|
# Semantic text UI
|
|
|
|
xpack.index_management.dev.enableSemanticText: true
|
|
|
|
# AI Assistant config
|
|
xpack.observabilityAIAssistant.enabled: true
|
|
xpack.searchAssistant.enabled: true
|
|
xpack.searchAssistant.ui.enabled: true
|
|
xpack.observabilityAIAssistant.scope: "search"
|
|
aiAssistantManagementSelection.preferredAIAssistantType: "observability"
|
|
xpack.observabilityAiAssistantManagement.logSourcesEnabled: false
|
|
xpack.observabilityAiAssistantManagement.spacesEnabled: false
|
|
xpack.observabilityAiAssistantManagement.visibilityEnabled: false
|
|
|
|
# Synonyms UI
|
|
xpack.searchSynonyms.enabled: true
|
|
|
|
# Query Rules UI
|
|
xpack.searchQueryRules.enabled: false
|
|
|
|
## Search Connectors in stack management
|
|
xpack.contentConnectors.enabled: false
|