elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.2k forks source link

[Integrations] Agent setup technology dropdown should respect package deployment modes #197649

Open jedrazb opened 2 hours ago

jedrazb commented 2 hours ago

Kibana version:

main 9.0.0

Elasticsearch version:

9.0.0

Describe the bug:

Today, an integration/policy template that defines deployment_modes like this

deployment_modes:
  default:
    enabled: false
  agentless:
    enabled: true

Will still show agent-based as valid option in the setup flow, see screenshot below.

elastic_connectors is an example of one such integration.

Steps to reproduce:

  1. Run ES stack e.g. on cloud
  2. Make sure agentless is enabled
  3. Install the elastic_connectors package
  4. See the setup flow

Expected behavior:

Deployment mode should be limited to agentless.

Screenshots (if relevant):

Image

elasticmachine commented 2 hours ago

Pinging @elastic/fleet (Team:Fleet)