Step 2: Configure the GEN-WEBHOOK in FortiDeceptor
-
Access the FortiDeceptor Admin console. (https://IP_ADDRESS)
-
Click on Fabric-> Integration Devices to configure the gen-webhook.
-
Click on “+integrate with new device”.
-
Configure the WEBHOOK parameters for FortiNAC using the table below.
Block Action
Expiry |
3600 |
Http Method |
POST |
URL |
'https://IP_ADDRESS:8443/api/v2/host/enable-by-ip |
Authorization |
<Insert the Authorization token here> |
HTTP Header |
blockheader :: Empty |
HTTP Data |
ip :: Hacker-IP |
Unblock Action
Expiry |
3600 |
Http Method |
POST |
URL |
'https://IP_ADDRESS:8443/api/v2/host/disable-by-ip |
Authorization |
<Insert the Authorization token here> |
HTTP Header |
blockheader :: Empty |
HTTP Data |
ip :: Hacker-IP |