when I run the allpolicies = fmngr.get_firewall_policies(policy_package_name=fwpackage) I get all the policies belonging to "fwpackage".
If there is a dynamic object in the source and/or destination (for example Fortinet-FortiGuard.Secure.DNS) the source or destination is not include in the output. It get you into trouble when you try to find specific names in the source or destination.
As a work around I identify the rules containing a dynamic object and check them manualy after the script has been executed.
Is it possible to get the dynamic objects in the output as well ?
Hi,
when I run the allpolicies = fmngr.get_firewall_policies(policy_package_name=fwpackage) I get all the policies belonging to "fwpackage".
If there is a dynamic object in the source and/or destination (for example Fortinet-FortiGuard.Secure.DNS) the source or destination is not include in the output. It get you into trouble when you try to find specific names in the source or destination.
As a work around I identify the rules containing a dynamic object and check them manualy after the script has been executed.
Is it possible to get the dynamic objects in the output as well ?
Best regards, Remco