summaryrefslogtreecommitdiff
path: root/test/resource/VerifyPolicyHit.json
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2024-08-14 17:57:30 +0800
committerfengweihao <[email protected]>2024-08-14 17:57:30 +0800
commit6dc39cc9223d809340ec9b99668dea79dd67baf8 (patch)
treec4877e0f50988a13af2a7cbeaf87569904cda2f1 /test/resource/VerifyPolicyHit.json
parent1b76ae68fb4a77164c1696f23c809f4d43eb9ace (diff)
日志接口支持按文件大小存储日志,并对 table_name 表的结构体进行了优化
Diffstat (limited to 'test/resource/VerifyPolicyHit.json')
-rw-r--r--test/resource/VerifyPolicyHit.json101
1 files changed, 0 insertions, 101 deletions
diff --git a/test/resource/VerifyPolicyHit.json b/test/resource/VerifyPolicyHit.json
deleted file mode 100644
index 81487b4..0000000
--- a/test/resource/VerifyPolicyHit.json
+++ /dev/null
@@ -1,101 +0,0 @@
-{
- "compile_table": "PXY_CTRL_COMPILE",
- "group2compile_table": "GROUP_PXY_CTRL_COMPILE_RELATION",
- "group2group_table": "GROUP_GROUP_RELATION",
- "rules": [
- {
- "compile_id": 1021,
- "service": 1,
- "action": 48,
- "do_blacklist": 1,
- "do_log": 1,
- "effective_range": 0,
- "tags":"anything",
- "user_region": "anything",
- "is_valid": "yes",
- "groups": [
- {
- "not_flag": 0,
- "group_id": 101,
- "group_name":"IPv4TCPSoureVeiryPolicy01",
- "virtual_table": "ATTR_SOURCE_IP",
- "regions": [
- {
- "table_type": "ip",
- "table_name": "TSG_OBJ_IP_ADDR",
- "table_content": {
- "addr_type": "ipv4",
- "addr_format": "range",
- "ip1": "192.168.0.1",
- "ip2": "192.168.0.1"
- }
- }
- ]
- }
- ]
- },
- {
- "compile_id": 1022,
- "service": 1,
- "action": 48,
- "do_blacklist": 1,
- "do_log": 1,
- "effective_range": 0,
- "tags":"anything",
- "user_region": "anything",
- "is_valid": "yes",
- "groups": [
- {
- "group_id": 11,
- "group_name": "IPv4TCPSoureEntry.11",
- "virtual_table": "ATTR_SOURCE_IP"
- },
- {
- "group_id": 12,
- "group_name": "IPv4TCPSoureEntry.12",
- "virtual_table": "ATTR_INTERNAL_IP"
- },
- {
- "group_id": 1,
- "group_name": "FQDNEntry.1",
- "virtual_table": "ATTR_SERVER_FQDN"
- }
- ]
- }
- ],
- "plugin_table": [
- {
- "table_name": "FQDN_ENTRY",
- "table_content": [
- "1\t1\twww.126.com\t1\t1",
- "2\t2,3\twww.baidu.com\t1\t1",
- "4\t4,5,6\twww.qq.com\t1\t1"
- ]
- },
- {
- "table_name": "IP_ADDR_ENTRY",
- "table_content": [
- "1\t11\t4\tsingle\t192.168.1.1\t192.168.1.1\t1",
- "2\t12,13\t4\tsingle\t192.168.1.2\t192.168.1.2\t1",
- "4\t14,15,16\t4\trange\t192.168.1.3\t192.168.1.3\t1"
- ]
- },
- {
- "table_name": "LIBRARY_TAG",
- "table_content": [
- "1\tnone\twebsite_category\tfqdn1\tsearch\\bengines\t1",
- "2\tnone\twebsite_category\tfqdn2\tRecreation\band\bHobbies\t1",
- "3\tnone\twebsite_category\tfqdn3\tbusiness\t1",
- "4\tnone\twebsite_category\tfqdn4\tsearch bengines\t1",
- "5\tnone\twebsite_category\tfqdn5\tsearch\\bengines\t1",
- "6\tnone\twebsite_category\tfqdn6\tsearch\\bengines\t1",
- "11\tnone\tgeoip\tadministrative_area\tColombia.Departamento\bdel\bVaupes\t1",
- "12\tnone\tgeoip\tadministrative_area\tColombia.Departamento\bdel\bVaupes.Mitú\t1",
- "13\tnone\tgeoip\tadministrative_area\tColombia.Antioquia.Marinilla\t1",
- "14\tnone\tgeoip\tsuper_administrative_area\tColombia.Departamento\bdel\bVaupes\t1",
- "15\tnone\tgeoip\tadministrative_area\tGermany.Bavaria.Mauern\t1",
- "16\tnone\tgeoip\tadministrative_area\tGermany.Bavaria.Mellrichstadt\t1"
- ]
- }
- ]
-}