Authorization: ********************{
"all_apply": true,
"bind_node_ids": [
0
],
"class_type": "string",
"description": "string",
"matchers": [
{
"logic": "string",
"matcher_type": "All",
"name_operator": "string",
"name_value": "string",
"operator": "string",
"value": "string"
}
],
"name": "string",
"rule_config": {
"action": "string",
"auth_diff_time": 0,
"auth_key": "string",
"auth_sign_name": "string",
"auth_sign_used": 0,
"auth_type": "string",
"auth_unix_name": "string",
"block_time": 0,
"block_type": "string",
"coding_range": "string",
"content_type": [
"string"
],
"count": 0,
"duration": 0,
"find_type": "string",
"pass_time": 0,
"redirect_status": "string",
"redirect_to": "string",
"replace_content": "string",
"replace_re": "string",
"return_code": 0,
"return_html": "string",
"search_count": 0,
"separate": [
"string"
],
"target_content": "string",
"time": 0
},
"sort": 0,
"status": "enable",
"type": "filter_rule"
}curl --location --request POST '/api/admin/node_waf_matcher' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"all_apply": true,
"bind_node_ids": [
0
],
"class_type": "string",
"description": "string",
"matchers": [
{
"logic": "string",
"matcher_type": "All",
"name_operator": "string",
"name_value": "string",
"operator": "string",
"value": "string"
}
],
"name": "string",
"rule_config": {
"action": "string",
"auth_diff_time": 0,
"auth_key": "string",
"auth_sign_name": "string",
"auth_sign_used": 0,
"auth_type": "string",
"auth_unix_name": "string",
"block_time": 0,
"block_type": "string",
"coding_range": "string",
"content_type": [
"string"
],
"count": 0,
"duration": 0,
"find_type": "string",
"pass_time": 0,
"redirect_status": "string",
"redirect_to": "string",
"replace_content": "string",
"replace_re": "string",
"return_code": 0,
"return_html": "string",
"search_count": 0,
"separate": [
"string"
],
"target_content": "string",
"time": 0
},
"sort": 0,
"status": "enable",
"type": "filter_rule"
}'{
"code": 0,
"data": null,
"message": "string"
}