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

  • sitestringrequired
    In the query

Responses

  • 201
    placed; takes effect now
  • 400
    invalid_input
  • 422
    gate_failed

This page as Markdown