mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-15 10:04:44 +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
|
@ -199,3 +199,19 @@ The IP can be IPv4- or IPv6-formatted, using [CIDR notation](https://en.wikipedi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 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