summaryrefslogtreecommitdiff
path: root/matt/bak/maat_json.json
blob: 28d426e983c7b85b9e43ef829f9de67cfec87016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
    "compile_table": "WANNAT_COMPILE",
    "group2compile_table": "WANNAT_GROUP_COMPILE_RELATION",
    "group2group_table": "GROUP2GROUP",
    "rules": [
        {
            "compile_id": 301,
            "service": 0,
            "action": 1,
            "do_blacklist": 0,
            "do_log": 2,
            "effect_range": "{}",
            "user_region": "{\"ip_object_ids\":[203,204], \"translate_type\":\"never\", \"time_interval\":123, \"connection_count\":1243}",
            "is_valid": "yes",
            "modified_time": "2024-04-10T12:00:00Z",
            "groups": [
                {
                    "group_id": 1,
                    "not_flag": 0,
                    "virtual_table": "UE_ID",
                    "nth_clause": 1,
                    "regions": [
                        {
                            "table_name": "WANNAT_OBJ_UE_ID",
                            "table_type": "expr",
                            "table_content": {
                                "region_id": 101,
                                "keywords": "abcdefghij",
                                "expr_type": "none",
                                "match_method": "exact",
                                "is_hexbin": "no"
                            }
                        }
                    ]
                }
            ]
        },
        {
            "compile_id": 302,
            "service": 0,
            "action": 2,
            "do_blacklist": 0,
            "do_log": 2,
            "effect_range": "{}",
            "user_region": "{\"ue_object_ids\":[102], \"failover\":\"drop\"}",
            "is_valid": "yes",
            "modified_time": "2024-04-11T15:30:00Z",
            "groups": [
                {
                    "group_id": 2,
                    "not_flag": 0,
                    "virtual_table": "SOURCE_IP",
                    "nth_clause": 1,
                    "regions": [
                        {
                            "table_name": "WANNAT_OBJ_IP_ADDR",
                            "table_type": "ip",
                            "table_content": {
                                "region_id": 201,
                                "group_id":2,
                                "addr_type": "ipv4",
                                "addr_format": "CIDR",
                                "ip1": "20.20.20.20",
                                "ip2": "32",
                                "port": "[0,65535]"
                            }
                        }
                    ]
                },
                {
                    "group_id": 104,
                    "not_flag": 0,
                    "virtual_table": "DESTINATION_IP",
                    "nth_clause": 1,
                    "regions": [
                        {
                            "table_name": "WANNAT_OBJ_IP_ADDR",
                            "table_type": "ip",
                            "table_content": {
                                "region_id": 202,
                                "group_id":2,
                                "addr_type": "ipv4",
                                "addr_format": "CIDR",
                                "ip1": "8.8.8.8",
                                "ip2": "32",
                                "port": "[0,65535]"
                            }
                        }
                    ]
                }
            ]
        }
    ]
}