[EPM][Ingest Manager][Bug] Support package index_patterns #70864
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:EPM
Fleet team's Elastic Package Manager (aka Integrations) project
Team:Fleet
Team label for Observability Data Collection Fleet team
The package registry no longer supports defining asset directories with a dash
-
. This PR: #70320 switched many of the dashes to underscores. It didn't switch theindex-pattern
kibana saved object type: https://github.com/elastic/kibana/blob/master/x-pack/plugins/ingest_manager/common/types/models/epm.ts#L30I tried switching it locally but I believe it needs to be set to
index-pattern
when being used in the bulk savedobject request to save the asset: https://github.com/elastic/kibana/blob/master/x-pack/plugins/ingest_manager/server/services/epm/packages/get_objects.ts#L24 .The easiest fix I can think of is checking in that function to see if the type is
index_pattern
and changing it toindex-pattern
. I'm not sure if this is going to mess with anything else though.The text was updated successfully, but these errors were encountered: