cmdb_get
Retrieve a single CMDB configuration object from FortiOS by specifying the resource path and optional VDOM. Use for reading specific firewall policies, interfaces, VPN tunnels, or other objects.
Instructions
Get a single CMDB configuration object by its primary key.
Covers any GET on /api/v2/cmdb/{resource}/{key}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | Full CMDB path including the key. Examples: 'firewall/policy/1', 'system/interface/port1', 'vpn.ipsec/phase1-interface/my-tunnel' | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||