elastic / kibana

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

Synthetics plugin uses ILM internal API endpoint #152727

Open yuliacech opened 1 year ago

yuliacech commented 1 year ago

The Synthetics plugin relies on an internal API endpoint of the Index Lifecycle Management plugin (see here).

export const getIlmPolicies = async (): Promise<PolicyFromES[]> => {
  return await apiService.get('/api/index_lifecycle_management/policies');
};

The API endpoint /api/index_lifecycle_management/policies is only intended for internal use by the ILM plugin's client-side. Since the dependency via API usage is not explicit, any changes to the API endpoint might not be immediately propagated to the dependent plugins. The plugin is also planned to be disabled for serverless.

elasticmachine commented 1 year ago

Pinging @elastic/uptime (Team:uptime)

elasticmachine commented 1 year ago

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

elasticmachine commented 5 days ago

Pinging @elastic/kibana-management (Team:Kibana Management)

paulb-elastic commented 3 days ago

@alisonelizabeth, is this something you're planning on working on in Team:Kibana Management or is this expected to be done within Observability (Team:obs-ux-management /cc @jasonrhodes)?

Side note, as things have been reorganised, the call is now in: https://github.com/elastic/kibana/blob/70b7d263352a73569f2809bb0b4d1e2624b43b28/x-pack/plugins/observability_solution/synthetics/public/apps/synthetics/components/settings/hooks/api.ts#L14-L16

alisonelizabeth commented 3 days ago

Hi @paulb-elastic - I think this issue is still valid, but it is not something we are actively prioritizing at this time. (I am doing some issue cleanup as the team label was not working as expected.)