FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
alwis
Staff
Staff
Article Id 313233
Description This article describes and demonstrates how to use Postman REST client with external threat feeds.
Scope FortiGate v7.2.0 +.
Solution

Assuming the API Administrator has been configured and the token has been generated. For this example, an IP Address External Connector is used.

 

  1. Configure the Bearer Token on Postment Client:

 

bearere.png

 

This API Token is generated Token from the FortiGate REST API administrator.

 

  1. Select the 'Body' tab, select the raw and change the input TYPE to JSON:
 

ip add.png

 For this test, the following IP address will be added:

  1. Select 'Send to POST' a request. If succeed, the return result will be shown as follows:

 

success result.png

  1. Update on Threat feed:

 

ip add add.png

  1. Logs:

 

logs-api.png

Enable logs command:

 

config log setting

    set rest-api-set [enable|disable]

    set rest-api-get [enable|disable]

end

 

Working with VDOM:

  1. Make sure that the API Administrator profile has been set to global:

 

vdom globak.png

 

Error: Insufficient permission to access a global external resource:

 

api.png

 

  1. Params key:

 

Param.png

 

Make sure the Params have been added with the VDOM key and the Value is the respective VDOM name.

 

  1. Click Send to POST a request, If success the return result will be shown as follows:

 

vdom success.png

  1. To troubleshoot issues related to VDOM:

 

diag de application httpsd -1

diag de en

Contributors