This article describes how to use a FortiManager alternative to get information from FortiGate if the user does not have the credentials to access FortiGate.
Scope
FortiManager.
Solution
Below is the scenario:
From the FortiManager, create a CLI script and put the FortiGate Command:
From the FortiManager, run the CLI script and follow the below steps to via the result: