Add soft signature failure support

Add a new trigger-signature-soft-failures option to allow soft signature
failures in Or rules.

Fixes #234
This commit is contained in:
Cameron Moore 2020-11-24 21:11:45 -06:00
parent 3e18a060ae
commit 6d2f26d952
7 changed files with 554 additions and 6 deletions

View file

@ -33,6 +33,9 @@ type Request struct {
// The underlying HTTP request.
RawRequest *http.Request
// Treat signature errors as simple validate failures.
AllowSignatureErrors bool
}
func (r *Request) ParseJSONPayload() error {