Trivial add unit test case
This commit is contained in:
@@ -737,8 +737,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"is_valid": "yes",
|
||||
"do_log": 0,
|
||||
"effective_rage": 0,
|
||||
"action": 0,
|
||||
"compile_id": 148,
|
||||
"service": 0,
|
||||
"do_blacklist": 0,
|
||||
"user_region": "APP_ID=100001;BEHAV_ID=100002",
|
||||
"groups": [
|
||||
{
|
||||
"regions": [
|
||||
@@ -756,14 +762,75 @@
|
||||
],
|
||||
"group_name": "Untitled"
|
||||
}
|
||||
],
|
||||
"user_region": "APP_ID=100001;BEHAV_ID=100002",
|
||||
"is_valid": "yes",
|
||||
"do_log": 0,
|
||||
"effective_rage": 0,
|
||||
"action": 0,
|
||||
"compile_id": 148
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"compile_id": 149,
|
||||
"service": 1,
|
||||
"action": 1,
|
||||
"do_blacklist": 1,
|
||||
"do_log": 1,
|
||||
"user_region": "anything",
|
||||
"is_valid": "yes",
|
||||
"groups": [
|
||||
{
|
||||
"regions": [
|
||||
{
|
||||
"table_name": "HTTP_URL",
|
||||
"table_type": "string",
|
||||
"table_content": {
|
||||
"keywords": "^((?!.*\\binstagram\\b)).*\\.fbcdn\\.net$",
|
||||
"expr_type": "regex",
|
||||
"match_method": "sub",
|
||||
"format": "uncase plain"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"compile_id": 150,
|
||||
"service": 0,
|
||||
"action": 0,
|
||||
"do_blacklist": 0,
|
||||
"do_log": 0,
|
||||
"effective_rage": 0,
|
||||
"user_region": "0",
|
||||
"is_valid": "yes",
|
||||
"groups": [
|
||||
{
|
||||
"regions": [
|
||||
{
|
||||
"table_type": "expr",
|
||||
"table_name": "TROJAN_PAYLOAD",
|
||||
"table_content": {
|
||||
"keywords": "0-4:01000000",
|
||||
"expr_type": "offset",
|
||||
"format": "hexbin",
|
||||
"match_method": "sub"
|
||||
}
|
||||
}
|
||||
],
|
||||
"group_name": "billgates_regist1"
|
||||
},
|
||||
{
|
||||
"regions": [
|
||||
{
|
||||
"table_type": "expr",
|
||||
"table_name": "TROJAN_PAYLOAD",
|
||||
"table_content": {
|
||||
"keywords": "1:G2.40",
|
||||
"expr_type": "none",
|
||||
"format": "uncase plain",
|
||||
"match_method": "sub"
|
||||
}
|
||||
}
|
||||
],
|
||||
"group_name": "billgates_regist2"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"plugin_table": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user