Description | This article describes that when running a 'Remote FortiGate Directly (via CLI)' script on a FortiGate, it causes an 'Unknown' policy package status. |
Scope | FortiManager v6.4, 7.x and FortiGate v6.4, 7.x. |
Solution |
The reason is every time a direct CLI script is running, the FortiGate configuration is retrieved by script_manager (system process) in FortiManager:
It could be verified under FortiManager -> <FortiGate> -> Dashboard -> Summary -> Configuration and Installation -> Revision.
Any configuration retrieval triggers a Policy Package change to 'Unknown' by FortiManager logic.
FortiManager does not retrieve configuration while or after running the script on the Device or Policy&object database because there is no interaction with FortiGate. It is an internal FortiManager process. To reflect these changes on the FortiGate after running the script on the Device or Policy&object database, the configuration should be installed on the device. |
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.