diff options
| author | fengweihao <[email protected]> | 2024-08-02 10:55:58 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2024-08-02 10:55:58 +0800 |
| commit | 41caf21f43df13785d2e1bee814a3005abc9b43e (patch) | |
| tree | ccf37a5032c4bd6fe990bde93107c76556589e03 /test/resource/HitPolicyRequest.json | |
| parent | 60cd4283dbe1ca374cfb672fbc0c3e48fde9fa30 (diff) | |
修复Verify Policy中fqdn entry的命中路径错误,增加Verify Policy测试用例代码框架v4.0.22-20240802
Diffstat (limited to 'test/resource/HitPolicyRequest.json')
| -rw-r--r-- | test/resource/HitPolicyRequest.json | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/test/resource/HitPolicyRequest.json b/test/resource/HitPolicyRequest.json new file mode 100644 index 0000000..ba29494 --- /dev/null +++ b/test/resource/HitPolicyRequest.json @@ -0,0 +1,70 @@ +{ + "Verify_Policy_Request": [ + { + "vsys_id": 1, + "verify_list": [ + { + "type": "pxy_manipulation", + "vsys_id": 1, + "verify_session": { + "attributes": [ + { + "attribute_type": "ip", + "table_name": "ATTR_SOURCE_IP", + "attribute_name": "source", + "attribute_value": { + "ip": "192.168.0.1", + "port":"8080", + "addr_type": 4 + } + } + ] + } + } + ], + "verify_type": "policy" + }, + { + "vsys_id": 1, + "verify_list": [ + { + "type": "pxy_manipulation", + "vsys_id": 1, + "verify_session": { + "attributes": [ + { + "attribute_type": "ip", + "table_name": "ATTR_SOURCE_IP", + "attribute_name": "source", + "attribute_value": { + "ip": "192.168.1.1", + "port":"8080", + "addr_type": 4 + } + }, + { + "attribute_type": "ip", + "table_name": "ATTR_INTERNAL_IP", + "attribute_name": "internal", + "attribute_value": { + "ip": "192.168.1.2", + "port": "80", + "addr_type": 4 + } + }, + { + "attribute_type": "string", + "table_name": "ATTR_SERVER_FQDN", + "attribute_name": "server_fqdn", + "attribute_value": { + "string": "www.126.com" + } + } + ] + } + } + ], + "verify_type": "policy" + } + ] +}
\ No newline at end of file |
