Hot!using fortigate API question

Author
ahiyaz
New Member
  • Total Posts : 10
  • Scores: 0
  • Reward points: 0
  • Joined: 2020/08/25 06:23:35
  • Status: offline
2020/09/17 04:21:02 (permalink)
0

using fortigate API question

hi all
 
ive started using APIs to monitor my fortigate.
but something isn't clear to me.
im trying to use some filters in my API request.
ive try to do so according to API documents but it not preforming any filtering.
im still getting all the out put.
 
e.g.
this call getting all connected devices from device inventory list.
https://{FG-IP}/api/v2/monitor/user/detected-device/select
 
the output is in json format and its a list off all devices and information regarding them.
if i want to get only specific device ive try to filter base on mac address
https://{FG-IP} /api/v2/monitor/user/detected-device/select?filter=mac==b8:94:36:b0:87:94
 
but still im getting the full list.
 
dose anyone have experience with fortigate APIs and can assist here?
 
thanks
 
 
#1

1 Reply Related Threads

    ahiyaz
    New Member
    • Total Posts : 10
    • Scores: 0
    • Reward points: 0
    • Joined: 2020/08/25 06:23:35
    • Status: offline
    Re: using fortigate API question 2020/09/19 00:02:16 (permalink)
    0
    any one have an idea?
    #2
    Jump to:
    © 2020 APG vNext Commercial Version 5.5