summaryrefslogtreecommitdiff
path: root/bin/conf/maat_test.json
blob: 87ae36a971d52c68d0371a848cf2b5410e232d66 (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
{
    "compile_table": "CONFIG_COMPILE",
    "group_table": "CONFIG_GROUP",
    "rules": [
        {
            "compile_id": 1,
            "service": 50,
            "action": 2,
            "do_blacklist": 1,
            "do_log": 1,
            "effective_rage": 0,
            "user_region": "DOMAIN_ID=151;DOMAIN_STR=baidu.com",
            "is_valid": "yes",
            "groups": [
                {
                    "group_name": "group_1",
                    "regions": [
                        {
                            "table_name": "PXY_INTERCEPT_DOMAIN",
                            "table_type": "expr",
                            "table_content": {
                                "keywords": "baidu.com",
                                "expr_type": "and",
                                "match_method": "sub",
                                "format": "uncase plain"
                            }
                        }
                    ]
                }
            ]
        }
    ]
}