Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.86 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.86 KB

fortigate-tools 🦹🏻

🖥️ Command-line tools that ease the day for administrators of Fortigate firewalls. I am slowly fixing up my private tools and adding them to this public repo.

The Fortigate functionality is tested with FortiOS 7.2, which is the current Fortinet recommended release, but it will probably work on older and newer versions, as well.

Installation

  1. Clone this repo.
  2. If you want to use the Fortigate stuff, get a Fortigate REST API token from your Fortigate device.
  3. Copy config.js-sample to config.js and change the values to your environment.

Tools

fg-get-ratings.js

Purpose: Get the Fortiguard rating for a given URL.

Usage: node ./fg-get-ratings.js "example.com" or even node ./fg-get-ratings.js "https://www.example.com/thing?arg=1".

Links

FAQs

How do I get more access to the Fortigate API documentation?

Answer: Contact your Fortinet rep 💁🏻‍♂️ and ask for access to the Fortinet Developer Network website. I am unable to help you with this.

License

This project is licensed under the terms of the MIT license.