FortiManager DeviceDB information into Jinja templates
Hi community,
I was having a look at this part of the admin guide: https://docs.fortinet.com/document/fortimanager/7.4.2/administration-guide/906193/using-fortimanager-device-database-variables-in-jinja
And I saw this script:
{%- for intf in DEVDB_system_interface %}
{%- if intf.type == 'physical' %}
Interface Name: {{intf.name}}
-- Interface Allowaccess: {{intf.allowaccess}}
-- Interface Type: {{intf.type}}
-- Interface IP: {{intf.ip}}
-- Interface Mode: {{intf.mode}}
-- Interface VDOM: {{intf.vdom}}
{%- endif %}
{%- endfor %}
I did not find any reference for the DEVDB_system_interface in the article, are there any complete documentation somewhere that I've missed regarding which different syntaxes you can use to call different parts of the FMG Device DB information?
BR,
Per
