# Osquery Manager Feedback - OSQuery manager API needed for automatically downloading Elastic packs

**URL:** <https://discuss.elastic.co/t/osquery-manager-feedback-osquery-manager-api-needed-for-automatically-downloading-elastic-packs/314536>\
**Category:** Elastic Security\
**Tags:** osquery-manager\
**Created:** [September 15, 2022, 8:13pm UTC](https://discuss.elastic.co/t/osquery-manager-feedback-osquery-manager-api-needed-for-automatically-downloading-elastic-packs/314536 "2022-09-15T20:13:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joedissmeyer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joedissmeyer/32/26163_2.png) [@joedissmeyer](https://discuss.elastic.co/u/joedissmeyer)\
**Post date:** [September 15, 2022, 8:13pm UTC](https://discuss.elastic.co/t/osquery-manager-feedback-osquery-manager-api-needed-for-automatically-downloading-elastic-packs/314536/1 "2022-09-15T20:13:50Z")

</div>

Hello!

Is there a Kibana API I can use to automatically download and install the Elastic created OSquery manager packs? There are several APIs available documented here, [Osquery manager API | Kibana Guide [8.4] | Elastic](https://www.elastic.co/guide/en/kibana/current/osquery-manager-api.html), but none achieve my goal of downloading the Elastic packs automatically.

For context: Without having an API to trigger automatically loading OSquery packs I will not be able to automate this step when enabling Elastic Security and the OSquery manager integration on 24 of my production clusters. Instead I will have to manually log into each individual cluster Kibana UI, manage the OSquery manager integration, then click the "load elastic created packs" button. Minor annoyance, but not a deal breaker.

---

<div class="post-metadata">

**Author:** ![James\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_b/32/67643_2.png) [@James\_B](https://discuss.elastic.co/u/James_B)\
**Post date:** [September 16, 2022, 5:24pm UTC](https://discuss.elastic.co/t/osquery-manager-feedback-osquery-manager-api-needed-for-automatically-downloading-elastic-packs/314536/2 "2022-09-16T17:24:24Z")

</div>

Hey Joe,

I spoke with the team and tested out (using curl) an authenticated POST to `https://<kibana_url>/internal/osquery/assets/update`. That POST requested installed the packages that are shipped by Elastic's OSquery manager integration so you wouldn't have to log into all of your clusters.

A sample response that I received from the POST:  
`{"install":[{"id":"osquery_manager-07fe8000-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-35f10af0-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-1fc03210-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-135ccf10-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-3b28cc10-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-0c09a800-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-0f652f10-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-190860a0-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-03e88290-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"},{"id":"osquery_manager-3f96fba0-a6df-11ec-b2f9-c732a3845c54","type":"osquery-pack-asset"}],"update":[],"upToDate":[]}`

Thanks for reaching out! Let us know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![joedissmeyer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joedissmeyer/32/26163_2.png) [@joedissmeyer](https://discuss.elastic.co/u/joedissmeyer)\
**Post date:** [September 16, 2022, 7:36pm UTC](https://discuss.elastic.co/t/osquery-manager-feedback-osquery-manager-api-needed-for-automatically-downloading-elastic-packs/314536/3 "2022-09-16T19:36:51Z")

</div>

Thank you for this!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 14, 2022, 7:37pm UTC](https://discuss.elastic.co/t/osquery-manager-feedback-osquery-manager-api-needed-for-automatically-downloading-elastic-packs/314536/4 "2022-10-14T19:37:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
