mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-11 16:14:52 +00:00
Update Rules Document with scalr-signature
Updated Rules Document with scalr-signature information
This commit is contained in:
parent
7079128eca
commit
dcda096b5d
1 changed files with 16 additions and 0 deletions
|
@ -198,4 +198,20 @@ The IP can be IPv4- or IPv6-formatted, using [CIDR notation](https://en.wikipedi
|
|||
"ip-range": "192.168.0.1/24"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### 5. Match scalr-signature
|
||||
|
||||
The trigger rule checks the scalr signature and checks that the request was signed less than 5 minutes before it was received.
|
||||
A unqiue signing key is generated for each webhook end point URL you register in Scalr
|
||||
Given the time check make sure that NTP is enabled on both your Scalr and webhook server to prevent any issues
|
||||
|
||||
```json
|
||||
{
|
||||
"match":
|
||||
{
|
||||
"type": "scalr-signature",
|
||||
"secret": "Scalr-provided signing key"
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Add table
Reference in a new issue