https://github.com/osquery/osquery logo
#fleet
Title
# fleet
a

Adrian Junge

12/13/2022, 4:56 PM
Hello everyone, is it possible to write fleet extensions with python without much effort? The core of fleet is written in Go afaik thats why i'm asking.
k

Kathy Satterlee

12/13/2022, 8:16 PM
Hey @Adrian Junge! What kind of extensions are you thinking about developing?
a

Adrian Junge

12/14/2022, 10:45 AM
Developing additional features for fleet for example addional ways to check if a query/policy was successful without having to rely on the "select 1". So is there a way to work with fleet and python?
@Kathy Satterlee You have any ideas?
k

Kathy Satterlee

12/16/2022, 5:04 PM
Work on the product itself would need to be in Go. Can you tell me more about what additional methods you'd like to use?
a

Adrian Junge

12/17/2022, 12:43 PM
Alright thanks for the information. Additional methods like comparing to a black/white list or an api endpoint would be great, but I saw fleetdm offers an API itself so using the fleet API might be a valid solution to implement these methods with python and using fleet kinda like a middleman, gathering needed information
k

Kathy Satterlee

12/19/2022, 4:49 PM
That is exactly what I would recommend! You could also go the no-code route and set up a Tines workflow to handle the work for you.
I've seen people do pretty cool things with the data available in the API.