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>
179 lines
5.7 KiB
YAML
179 lines
5.7 KiB
YAML
# Security Project config
|
|
|
|
## Disable plugins
|
|
xpack.search.enabled: false
|
|
xpack.apm.enabled: false
|
|
xpack.infra.enabled: false
|
|
xpack.observabilityLogsExplorer.enabled: false
|
|
xpack.observability.enabled: false
|
|
xpack.observabilityAIAssistant.enabled: false
|
|
xpack.searchNotebooks.enabled: false
|
|
xpack.searchPlayground.enabled: false
|
|
xpack.searchInferenceEndpoints.enabled: false
|
|
xpack.inventory.enabled: false
|
|
xpack.searchIndices.enabled: false
|
|
xpack.searchSynonyms.enabled: false
|
|
|
|
## Fine-tune the security solution feature privileges. Also, refer to `serverless.yml` for the project-agnostic overrides.
|
|
xpack.features.overrides:
|
|
### The following features are hidden in Role management since they're automatically granted by SIEM feature.
|
|
discover.hidden: true
|
|
discover_v2.hidden: true
|
|
dashboard.hidden: true
|
|
dashboard_v2.hidden: true
|
|
visualize.hidden: true
|
|
visualize_v2.hidden: true
|
|
maps.hidden: true
|
|
maps_v2.hidden: true
|
|
### Machine Learning feature is moved from Analytics category to the Security one as the last item.
|
|
ml:
|
|
category: "security"
|
|
order: 1101
|
|
### Security's feature privileges are fine-tuned to grant access to Discover, Dashboard, Maps, and Visualize apps.
|
|
siemV2:
|
|
privileges:
|
|
### Security's `All` feature privilege should implicitly grant `All` access to Discover, Dashboard, Maps, and
|
|
### Visualize features.
|
|
all.composedOf:
|
|
- feature: "discover_v2"
|
|
privileges: [ "all" ]
|
|
- feature: "dashboard_v2"
|
|
privileges: [ "all" ]
|
|
- feature: "visualize_v2"
|
|
privileges: [ "all" ]
|
|
- feature: "maps_v2"
|
|
privileges: [ "all" ]
|
|
# Security's `Read` feature privilege should implicitly grant `Read` access to Discover, Dashboard, Maps, and
|
|
# Visualize features. Additionally, it should implicitly grant privilege to create short URLs in Discover,
|
|
### Dashboard, and Visualize apps.
|
|
read.composedOf:
|
|
- feature: "discover_v2"
|
|
privileges: [ "read" ]
|
|
- feature: "dashboard_v2"
|
|
privileges: [ "read" ]
|
|
- feature: "visualize_v2"
|
|
privileges: [ "read" ]
|
|
- feature: "maps_v2"
|
|
privileges: [ "read" ]
|
|
|
|
### Security's feature privileges are fine-tuned to grant access to Discover, Dashboard, Maps, and Visualize apps.
|
|
siem:
|
|
privileges:
|
|
### Security's `All` feature privilege should implicitly grant `All` access to Discover, Dashboard, Maps, and
|
|
### Visualize features.
|
|
all.composedOf:
|
|
- feature: "discover_v2"
|
|
privileges: [ "all" ]
|
|
- feature: "dashboard_v2"
|
|
privileges: [ "all" ]
|
|
- feature: "visualize_v2"
|
|
privileges: [ "all" ]
|
|
- feature: "maps_v2"
|
|
privileges: [ "all" ]
|
|
- feature: "savedQueryManagement"
|
|
privileges: [ "all" ]
|
|
# Security's `Read` feature privilege should implicitly grant `Read` access to Discover, Dashboard, Maps, and
|
|
# Visualize features. Additionally, it should implicitly grant privilege to create short URLs in Discover,
|
|
### Dashboard, and Visualize apps.
|
|
read.composedOf:
|
|
- feature: "discover_v2"
|
|
privileges: [ "read" ]
|
|
- feature: "dashboard_v2"
|
|
privileges: [ "read" ]
|
|
- feature: "visualize_v2"
|
|
privileges: [ "read" ]
|
|
- feature: "maps_v2"
|
|
privileges: [ "read" ]
|
|
- feature: "savedQueryManagement"
|
|
privileges: [ "read" ]
|
|
|
|
## Cloud settings
|
|
xpack.cloud.serverless.project_type: security
|
|
|
|
## Enable the Security Solution Serverless plugin
|
|
xpack.securitySolutionServerless.enabled: true
|
|
xpack.securitySolutionServerless.productTypes:
|
|
[
|
|
{ product_line: 'security', product_tier: 'complete' },
|
|
{ product_line: 'endpoint', product_tier: 'complete' },
|
|
{ product_line: 'cloud', product_tier: 'complete' },
|
|
]
|
|
|
|
xpack.securitySolution.offeringSettings: {
|
|
ILMEnabled: false, # Index Lifecycle Management (ILM) functionalities disabled, not supported by serverless Elasticsearch
|
|
}
|
|
|
|
newsfeed.enabled: true
|
|
|
|
## Set the home route
|
|
uiSettings.overrides.defaultRoute: /app/security/get_started
|
|
|
|
# Specify in telemetry the project type
|
|
telemetry.labels.serverless: security
|
|
|
|
# Fleet specific configuration
|
|
xpack.fleet.internal.registry.capabilities: ['security']
|
|
xpack.fleet.internal.registry.spec.min: '3.0'
|
|
xpack.fleet.internal.registry.spec.max: '3.3'
|
|
xpack.fleet.internal.registry.kibanaVersionCheckEnabled: false
|
|
xpack.fleet.internal.registry.excludePackages: [
|
|
# Oblt integrations
|
|
'apm',
|
|
'synthetics',
|
|
'synthetics_dashboards',
|
|
|
|
# Deprecated security integrations
|
|
'bluecoat',
|
|
'cisco',
|
|
'cyberark',
|
|
'cylance',
|
|
'f5',
|
|
'fortinet_forticlient',
|
|
'juniper_junos',
|
|
'juniper_netscreen',
|
|
'microsoft',
|
|
'netscout',
|
|
'radware',
|
|
'symantec',
|
|
'tomcat',
|
|
|
|
# ML integrations
|
|
'dga',
|
|
|
|
# Unsupported in serverless
|
|
'cloud_defend',
|
|
]
|
|
# fleet_server package installed to publish agent metrics
|
|
xpack.fleet.packages:
|
|
- name: fleet_server
|
|
version: latest
|
|
|
|
xpack.ml.ad.enabled: true
|
|
xpack.ml.dfa.enabled: true
|
|
xpack.ml.nlp:
|
|
enabled: true
|
|
modelDeployment:
|
|
allowStaticAllocations: false
|
|
vCPURange:
|
|
low:
|
|
min: 0
|
|
max: 2
|
|
medium:
|
|
min: 1
|
|
max: 32
|
|
high:
|
|
min: 1
|
|
max: 128
|
|
xpack.ml.compatibleModuleType: 'security'
|
|
|
|
# Disable the embedded Dev Console
|
|
console.ui.embeddedEnabled: false
|
|
|
|
# Enable project level rentention checks in DSL form from Index Management UI
|
|
xpack.index_management.enableProjectLevelRetentionChecks: true
|
|
|
|
# Increase task manager capacity because security projects have more resources (Memory and CPU)
|
|
xpack.task_manager.capacity: 20
|
|
|
|
## Enable uiSettings validations
|
|
xpack.securitySolution.enableUiSettingsValidations: true
|