FortiManager scripting – object color matrix

When adding devices to your FortiManager using scripts, you can set the color of the object.
I did not find any documentation for what color ID matches the actual color in the FortiManager. So I created this script and ran it in order to create objects in all the different colors

config firewall address
edit “test-color-1”
set subnet
set color 1

Related: Adding firewall objects using script in FortiManager


5.00 avg. rating (99% score) - 1 vote

Leave a Reply

Your email address will not be published. Required fields are marked *