Created on
10-08-2024
09:54 PM
Edited on
09-11-2025
02:08 AM
By
Jean-Philippe_P
| Description |
This article provides an option for listing or not listing a WAD user when querying a firewall user via API. |
| Scope | FortiGate. |
| Solution |
After v7.0.6 and v7.2.1, a new parameter (include_wad) was introduced to query firewall users. The default setting is include_wad=true.
Example: From CLI: There are 3 FSSO users and 1 WAD user.
diagnose firewall auth list 10.56.1.78, ADMINISTRATOR 10.171.2.197, IT1 10.173.1.26, proxy 10.173.1.78, ADMINISTRATOR ----- 4 listed, 0 filtered ------
From the diagnose wad user list, there is 1 wad user:
diagnose wad user list ID: 2, VDOM: root, IPv4: 10.173.1.26
From API: With include_wad=true:
https://<Fortigate IP>/api/v2/monitor/user/firewall?include_wad=true&include_fsso=false&access_token=<API Token>
From API: With include_wad=false:
https://<Fortigate IP>/api/v2/monitor/user/firewall?include_wad=false&include_fsso=false&access_token=<API Token>
For more details, join FNDN. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.