Praecise Shield/ Reference/ Virtual patching
Place a rule, if its gate passes
post/patches
Body: reason, action (block | challenge), expiresInMinutes, match, testRefused, testPass. 422 gate_failed when testRefused is not stopped by the rule, or testPass would be stopped by it or by any rule in force.
Before you call
- Credential
Authorization: Bearer $KEY
Parameters
- sitestringrequiredIn the query
Responses
- 201placed; takes effect now
- 400invalid_input
- 422gate_failed