Skip to main content
dpoulin
New Member
April 22, 2024
Question

Ran a script to create IP Address Groups, can't find them

  • April 22, 2024
  • 1 reply
  • 686 views

Hi everyone. I'm fairly new to Fortinet, and I ran a script that created approx 400 groups, but none of them show up in the Firewall Objects section for some reason. The script ran in FortiManager without errors, and I ran it against the 'Policy Package or ADOM Database'. Is there another process I need to run in order to get the newly created groups to appear in the Firewall Objects section?

 

Thx

1 reply

vraev
Staff
Staff
April 22, 2024

Hi @dpoulin ,

 

Try to search with the following command:

execute fmpolicy print-adom-package <adom> <template_name> <package_name> <category_name> <object_name> [<output>]
https://docs.fortinet.com/document/fortimanager/7.2.2/cli-reference/43841/fmpolicy#fmpolicy

https://docs.fortinet.com/document/fortimanager/7.2.2/administration-guide/990788/scripts

If the objects are not found by this way then they don't exist.