Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Run CLI command via websocket?
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?
Labels:
- Labels:
-
FortiGate
2159
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes you can leverage the FortiGate API:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Use-REST-API-Access-FortiGate/ta-p/196540
Cheers,
Graham
Graham
Created on ‎02-17-2023 11:19 AM Edited on ‎05-16-2024 11:42 PM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I figured out how to utilize websocket to run any CLI command from a FortiGate WebUI as the API has limitations.
