Skip to content
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

[Fleet] Support fetching single asset file contents #983

Open
kpollich opened this issue Apr 3, 2023 · 0 comments
Open

[Fleet] Support fetching single asset file contents #983

kpollich opened this issue Apr 3, 2023 · 0 comments
Labels
Team:Ecosystem Label for the Packages Ecosystem team

Comments

@kpollich
Copy link
Member

kpollich commented Apr 3, 2023

In EPR v1, we supported fetching a single file's contents via EPR. We'd like to add support for this behavior back in EPR v2 to support fetching individual assets even when an integration hasn't been installed in a given Kibana instance.

e.g. https://epr.elastic.co/package/security_detection_engine/8.7.1/kibana/security_rule/000047bb-b27a-47ec-8b62-ef1a5d2c9e19.json should respond with the JSON content contained in this file.

These routes can return content-type: text/plain and don't need to honor the given file's MIME type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Ecosystem Label for the Packages Ecosystem team
Projects
None yet
Development

No branches or pull requests

1 participant