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:
Thanks, I figured out how to utilize websocket to run any CLI command from a FortiGate WebUI as the API has limitations.
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 2023 Fortinet, Inc. All Rights Reserved.