Skip to main content
ydong01
Staff
Staff
September 24, 2024

Technical Tip: How to view explicit web proxy users from API

  • September 24, 2024
  • 0 replies
  • 655 views
Description

This article describes how to view explicit web proxy users from API.

It will be useful for daily monitoring work, especially for automation.

Scope FortiGate.
Solution

There are 3 methods to show explicit web proxy users: from GUI, and CLI. It can get the same result, but the result is not too easy to automation for further use.

Using API will be easy to integrate with other tools.

 

From GUI:

Go to Users and Devices.

 explict-proxy-user.PNG

 

From CLI:

 

diag wad user list

ID: 280, VDOM: root, IPv4: 10.173.1.26
user name : proxy
worker : 0
duration : 177
auth_type : IP
auth_method : Basic
pol_id : 1
g_id : 2
user_based : 0
expire : 5224
LAN:
bytes_in=1007 bytes_out=14551
WAN:
bytes_in=14479 bytes_out=839

 

From API:

https://<FGT IP>/api/v2/monitor/user/firewall?access_token=<API Token>

 

explict-proxy-user-api.PNG

 

For more information, visit https://fndn.fortinet.net/.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!