From ca05fa7b659763948a2157fa5f9e80dff6834e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20K=C3=BChnemund?= Date: Fri, 1 Dec 2023 12:54:50 +0100 Subject: [PATCH] Fixed erroneous jsonnet for user firewall --- pkg/probe/testdata/user-firewall.jsonnet | 95 ++++++++++++------------ 1 file changed, 49 insertions(+), 46 deletions(-) diff --git a/pkg/probe/testdata/user-firewall.jsonnet b/pkg/probe/testdata/user-firewall.jsonnet index 559c3de..8bd64b7 100644 --- a/pkg/probe/testdata/user-firewall.jsonnet +++ b/pkg/probe/testdata/user-firewall.jsonnet @@ -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 -} \ No newline at end of file +# 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 + } +] \ No newline at end of file