Did anyone try to run a FortiOS CLI command directly via websocket instead of opening a CLI window from within the WebUI and type the command in manually?
Yes you can leverage the FortiGate API:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Use-REST-API-Access-FortiGate/ta-p/196540
Created on 02-17-2023 11:19 AM Edited on 05-16-2024 11:42 PM
Thanks, I figured out how to utilize websocket to run any CLI command from a FortiGate WebUI as the API has limitations.
User | Count |
---|---|
1922 | |
1144 | |
769 | |
447 | |
277 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.