elastic / kibana

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

[Integrations UI] Don't show integrations that only support agentless deployment when agentless is not supported #192486

Open kpollich opened 2 weeks ago

kpollich commented 2 weeks ago

Today, an integration/policy template that includes a deployment_modes value in its manifest.yml as follows will appear in the integrations UI even if agentless is not supported:

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

This integration can't actually run in an environment that doesn't support agentless, so when agentless isn't supported/available this integration should be hidden from the UI at a minimum, and ideally installation should be prevented at the API level as well via a validation check in the POST /api/fleet/epm/packages API.

elasticmachine commented 2 weeks ago

Pinging @elastic/fleet (Team:Fleet)