summaryrefslogtreecommitdiff
path: root/bin/conf/maat_test.json
diff options
context:
space:
mode:
Diffstat (limited to 'bin/conf/maat_test.json')
-rw-r--r--bin/conf/maat_test.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/bin/conf/maat_test.json b/bin/conf/maat_test.json
new file mode 100644
index 0000000..87ae36a
--- /dev/null
+++ b/bin/conf/maat_test.json
@@ -0,0 +1,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"
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}