-
Notifications
You must be signed in to change notification settings - Fork 76
[Change Proposal] Support additional asset types in content packages #803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jsoriano Now that content packages are GA, it'd be great to provide a path to get the prebuilt rules package moved over to |
Yes, in principle we can start adding additional assets. For prebuilt rules I think we also needed to improve support for big files and packages in Fleet. |
Currently, the Kibana assets that are allowed in content packages are dashboards and SLOs (kibana folder spec definition) The current list of Kibana assets that are supported in the integration packages is defined here:
As it is recommended to define visualizations, maps, lens, ... assets inside the same dashboards, probably those kind of assets could be skipped (related to #316).
Looking into the packages defined in the integrations repository, there are some assets that it looks like they would require transforms or data stream definitions (or at least those packages contain those other resources). Examples found:
Taking that into account, what would be the Kibana assets that we should add support now in content packages? Maybe start adding just Security Rules (e.g. used in If possible, I think it would be better to add support for new assets in content packages when they are required (on demand). |
Here in this PR #885, it is being added the support to include Is there any other Kibana asset type that should be included (taking into account #803 (comment))? |
Looking to the usage of other Kibana asset types, there are two other assets that probably they could be added to the content packages too: There are some packages using those assets specifically:
These assets can be referenced from dashboards. They are not part of the assets in the validation rule mentioned above. Regarding
@kpollich @jsoriano do you think it would be good to add those two assets to the content packages too? Or should we just add |
Talked to @jsoriano offline about this and we decided to just add Security Rule Kibana assets for now. |
Closing after being merged #885 |
Follow-up for #351
Today, content packages only supports dashboards or simple Kibana saved objects that can be directly imported. We should expand this support to allow for all Kibana asset types listed here: https://github.com/elastic/package-spec?tab=readme-ov-file#supported-assets
The text was updated successfully, but these errors were encountered: