Skip to content

Commit

Permalink
Fixed erroneous jsonnet for user firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
jahknem committed Dec 1, 2023
1 parent 11412de commit ca05fa7
Showing 1 changed file with 49 additions and 46 deletions.
95 changes: 49 additions & 46 deletions pkg/probe/testdata/user-firewall.jsonnet
Original file line number Diff line number Diff line change
@@ -1,46 +1,49 @@
{
"http_method":"GET",
"results":[
{
"type":"auth_logon",
"id":0,
"duration_secs":21476,
"auth_type":3,
"ipaddr":"192.168.24.18",
"src_type":"ip4",
"expiry_secs":7196,
"traffic_vol_bytes":908744605,
"method":"Firewall"
},
{
"type":"auth_logon",
"id":0,
"duration_secs":6366,
"auth_type":3,
"ipaddr":"192.168.24.25",
"src_type":"ip4",
"expiry_secs":7168,
"traffic_vol_bytes":1738875,
"method":"Firewall"
},
{
"type":"auth_logon",
"id":0,
"duration_secs":39266,
"auth_type":3,
"ipaddr":"192.168.27.150",
"src_type":"ip4",
"expiry_secs":4717,
"traffic_vol_bytes":79707852,
"method":"Firewall"
}
],
"vdom":"VD_ES-WIFI",
"path":"user",
"name":"firewall",
"action":"",
"status":"success",
"serial":"ABCDxxxEFGH",
"version":"v7.0.12",
"build":523
}
# api/v2/monitor/user/firewall
[
{
"http_method":"GET",
"results":[
{
"type":"auth_logon",
"id":0,
"duration_secs":21476,
"auth_type":3,
"ipaddr":"192.168.24.18",
"src_type":"ip4",
"expiry_secs":7196,
"traffic_vol_bytes":908744605,
"method":"Firewall"
},
{
"type":"auth_logon",
"id":0,
"duration_secs":6366,
"auth_type":3,
"ipaddr":"192.168.24.25",
"src_type":"ip4",
"expiry_secs":7168,
"traffic_vol_bytes":1738875,
"method":"Firewall"
},
{
"type":"auth_logon",
"id":0,
"duration_secs":39266,
"auth_type":3,
"ipaddr":"192.168.27.150",
"src_type":"ip4",
"expiry_secs":4717,
"traffic_vol_bytes":79707852,
"method":"Firewall"
}
],
"vdom":"VD_ES-WIFI",
"path":"user",
"name":"firewall",
"action":"",
"status":"success",
"serial":"ABCDxxxEFGH",
"version":"v7.0.12",
"build":523
}
]

0 comments on commit ca05fa7

Please sign in to comment.