Update Rules Document with scalr-signature

Updated Rules Document with scalr-signature information
This commit is contained in:
Hass_SEA
2018-01-18 12:36:16 -08:00
committed by GitHub
parent 7079128eca
commit dcda096b5d
+16
View File
@@ -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" "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"
}
}
``` ```