Authorization: ********************{
"name": "SQLi UNION SELECT",
"description": "string",
"severity": "medium",
"enabled": true,
"patterns": [
"(?i)union\\\\s+select"
],
"match_locations": [
"url",
"body"
]
}curl --location --request PUT '/api/v1/rules/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "SQLi UNION SELECT",
"description": "string",
"severity": "medium",
"enabled": true,
"patterns": [
"(?i)union\\\\s+select"
],
"match_locations": [
"url",
"body"
]
}'{
"name": "SQLi UNION SELECT",
"description": "string",
"severity": "medium",
"enabled": true,
"patterns": [
"(?i)union\\\\s+select"
],
"match_locations": [
"url",
"body"
],
"id": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}