添加rule_ex_data的单元测试用例

This commit is contained in:
zhengchao
2018-11-15 19:46:57 +08:00
parent 978b039e3c
commit 70c0536a7b
2 changed files with 118 additions and 2 deletions

View File

@@ -4,7 +4,6 @@
"rules": [
{
"compile_id": 123,
"table_name": "COMPILE_ALIAS",
"service": 1,
"action": 1,
"do_blacklist": 1,
@@ -522,6 +521,33 @@
]
}
]
},
{
"compile_id": 141,
"service": 1,
"action": 1,
"do_blacklist": 1,
"do_log": 1,
"user_region": "Something:I\\bhave\\ba\\bname,7799",
"table_name":"COMPILE_ALIAS",
"is_valid": "yes",
"groups": [
{
"group_name": "Untitled",
"regions": [
{
"table_name": "HTTP_URL",
"table_type": "string",
"table_content": {
"keywords": "i.ytimg.com",
"expr_type": "none",
"match_method": "sub",
"format": "uncase plain"
}
}
]
}
]
}
],
"plugin_table": [