Description
This article describes how, after importing a policy for a newly added device and then attempting to install the new policy package to the FortiGate for the first time, all unused objects will be deleted.
Solution
On the policy package import process, select one of the following options:
1. Import only policy-dependent Objects.
Consider the following example of importing the policy and objects and installation.
Figure 1:
Figure 2 below shows details about the imported objects. Some objects are already present on the FortiManager with the same name but with different values.
These objects will be updated with the Firewall object values, or FortiManager will keep the object unchanged (depending on what is selected when there is a conflict). See Figure 3 below:
Some Objects are found to be duplicates (objects with the same name and value are already present on the FortiManager). FortiManager keeps these objects in its database and will not take any action.
When installing the policy package to the FortiGate, FMG will only install used/referenced objects (address, address group, web filter profile etc.) to the FortiGate policy and will delete all the unused objects from FortiGate.
As shown in Figure 4 some objects (106) are seen deleted because they are not referenced anywhere in the firewall policy.
This is an expected behavior because FortiManager installs only those objects that are referenced in the policy and deletes any unused object from the FortiGate after installation.
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 2024 Fortinet, Inc. All Rights Reserved.