Webhooks and Puppet reports

I create a python script for updating entries in an external application triggered by a webhook from type “Host updated”. It works fine if I made changes using the foreman webgui. But nothing happens when a host is changed by uploading modified facts (eg. new ip reported by a puppet report).
Is this in general possible? Is there another “subscribe to” action in the webhook I have to use?

I don’t know much about webhooks, but I can tell you that the host itself isn’t modified by a fact upload. Facts are separate database models, so you’d probably have to subscribe to a different event.

Correct, starting with Foreman 3.8 there’s a separate event host_facts_updated for when incoming facts get processed.

I find it, thank you for the hint :slight_smile: