Integration with FortiNAC
This topic assumes FortiNAC has been set up properly as a NAC solution. We have provided an example on how to configure the integration for testing purposes.
To integrate FortiDeceptor with FortiNAC:
- Configure the attack host on FortiNAC.
- Convert the pingable device to a host.
- Verify the host was added successfully.
- Generate an API token on FortiNAC.
- Configure the integration with ForitNAC (Gen-Webhook).
- Configure the integration with ForitNAC (FNAC-WEBHOOK).
1. Configure the attack host on FortiNAC
- On FortiNAC, go to Network > Inventory.
- Select the Container icon.
- Right-click a container and select Add Pingable Device or right-click a pingable device in the Devices tab and select Modify.
- From the drop-down menu select the Container where this device will be stored. You can use the icon next to the Container field to add a new container.
- Configure the pingable device.
IP Address Enter the IP address of the endpoint. Physical Address Enter the address of hardware endpoint. - Click OK.
For information about adding and modifying pingable devices in FortiNAC, see Add or modify a pingable device in the FortiNAC Administration Guide.
2. Convert the pingable device to a host
- In FortiNAC, click Network > Inventory.
- Expand the Container where the device is located.
- Select the device to be converted.
- Right-click a device and select Convert To Host. This option converts the non-SNMP devices selected to hosts.
- Click Yes on the confirmation window.
- Select and verify that the pingable devices now display.
For more information, see Convert all pingables to hosts in the FortiNAC Administration Guide.
3. Verify the host was added successfully
Go to the Hosts tab, and check the status. For information, see Host Summary in the FortiNAC Administration Guide.
4. Generate an API token on FortiNAC
- In FortiNAC go to the Users tab.
- Select a user from the list. The Modify User page opens.
- Next to REST API Access Token, click Regenerate Token.
5. Configure the integration with ForitNAC (Gen-Webhook)
-
In FortiDeceptor, go to Fabric > Quarantine Integration and click Quarantine Integration With New Device.
- Configure the integration settings and click Save.
Integrate Method Select GEN-WEBHOOK. Block Action Http Method POST URL https://<your-fortinac-address:8443>/api/v2/host/disable-by-ip Authorization Enter the API access token you generated in step 4 HTTP Header blockheader HTTP Data ip Unblock Action HTTP Method POST URL https://<your-fortinac-address:8443>/api/v2/host/enable-by-ip
6. Configure the integration with ForitNAC (FNAC-WEBHOOK)
-
In FortiDeceptor, go to Fabric > Quarantine Integration and click Quarantine Integration With New Device.
- Configure the integration settings and click Save.
IP Enter the FortiNAC address. PORT 8443 Authorization Token Enter the API access token you generated in Step 4. Expiry 1-3600 (default is 3600). - Verify the device status is Ready.