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

Michele

06/15/2022, 4:58 PM
Hi everyone, do you know if there's a way to modify the payload structure of the webhooks?
m

Mo Zhu

06/15/2022, 6:11 PM
Hi! I don’t believe there is currently a way to do that… But I’d love to understand what you’re hoping to do or what problem prompted you to ask about it?
Maybe there’s some solution we can point you to
m

Michele

06/16/2022, 3:25 PM
Thanks for the answer, I actually suspected that. Well, just out of laziness I was trying to make the webhooks of fleet call directly another webhook (slack) without an intermediary service adapting the request to match slack's one (the payload having a "text" field with the message to forward in the chat). The host status webhook actually has a text field and that should already work
Anyway, I'll just write a little service for doing that 😄
m

Mo Zhu

06/16/2022, 8:56 PM
Got it! Thank you!
3 Views