Fortinet black logo

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Integration API Guide

Example Usage

The sample codes provided are for instructional use only. Please adapt it to your environment. Download the appropriate zip file containing the samples from the following URLs:

Example Performance and Health, CMDB Device, and Event/Query Worker Configuration APIs

A zip file containing example Performance and Health, CMDB Device (APIs 6-12), and Event/Query Worker Configuration API files is available here.

Python Support

Python 2.7 Release

https://filestore.fortinet.com/docs.fortinet.com/upload/fsiem_rest_api_630.zip

2.7 scripts are tested using version 2.7.16. You must install httplib2 and ssl manually, if they are not already installed.

Python 3.9 Release

https://help.fortinet.com/fsiem/Public_Resource_Access/rest_api_python3/fsiem_rest_api_python3.zip

3.9 scripts are tested using version 3.9.0. You must install httplib2 and ssl manually, if they are not already installed.

Example Usage

The sample codes provided are for instructional use only. Please adapt it to your environment. Download the appropriate zip file containing the samples from the following URLs:

Example Performance and Health, CMDB Device, and Event/Query Worker Configuration APIs

A zip file containing example Performance and Health, CMDB Device (APIs 6-12), and Event/Query Worker Configuration API files is available here.

Python Support

Python 2.7 Release

https://filestore.fortinet.com/docs.fortinet.com/upload/fsiem_rest_api_630.zip

2.7 scripts are tested using version 2.7.16. You must install httplib2 and ssl manually, if they are not already installed.

Python 3.9 Release

https://help.fortinet.com/fsiem/Public_Resource_Access/rest_api_python3/fsiem_rest_api_python3.zip

3.9 scripts are tested using version 3.9.0. You must install httplib2 and ssl manually, if they are not already installed.