pyFortimanagerAPI icon indicating copy to clipboard operation
pyFortimanagerAPI copied to clipboard

Dynamic objects in source and/or destination are not in output

Open RemcoVroman opened this issue 1 year ago • 0 comments

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

RemcoVroman avatar Jun 15 '23 08:06 RemcoVroman