Implement secret functionality
In order to validate requests a field called `secret` has to be sent containing a secret key which validates the request. A hook will be executed only if the secret sent with the request matches the hook's secret.
This commit is contained in:
parent
ea19c7e413
commit
b370d59b40
3 changed files with 33 additions and 12 deletions
|
@ -53,6 +53,7 @@ Right now there is only the configuration parameter for hooks, here
|
|||
each hook has to be configured, It contains following fields:
|
||||
- action: optional string for the action to be executed when all
|
||||
filters match
|
||||
- secrets: list of secrets
|
||||
- filters: list of filters
|
||||
|
||||
Each filter has to have following fields:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue