diff --git a/docs/Hook-Rules.md b/docs/Hook-Rules.md index 32d35d3..274a0b5 100644 --- a/docs/Hook-Rules.md +++ b/docs/Hook-Rules.md @@ -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" + } +} ``` \ No newline at end of file