Troubleshooting Tip: Webhooks troubleshooting on Security Fabric
Description
This article describes how to check webhooks functionality on the firewall.
Scope
FortiOS v6.0 and above.
Solution
The Webhooks feature was introduced in version 6.0 of FortiOS.
It represents an HTTP request to an endpoint as a result for a specific action. Effectively, they are callbacks for certain triggers. Usually, the content of these requests is a JSON document, but not necessarily.
If the payload is sent in JSON document, it will be required to specify the content-type:
content-type: application/json

In the GUI, there is context menu with option to run a stitch (in this case, with webhooks).

diagnose debug application autod -1
To stop the debugging, run the following commands:
diagnose debug disable
diagnose debug reset
