gohookr/config.json

34 lines
667 B
JSON

{
"ListenAddress": "127.0.0.1:8654",
"Services": {
"test": {
"Script": {
"Program": "./example.sh",
"AppendPayload": true
},
"DisableSignatureVerification": true,
"Tests": [
{
"Program": "echo",
"Arguments": [ "test" ]
}
]
},
"fails_tests": {
"Script": {
"Program": "./example.sh",
"AppendPayload": true
},
"Secret": "who_cares",
"SignatureHeader": "X-Hub-Signature-256",
"SignaturePrefix": "sha256=",
"Tests": [
{
"Program": "false",
"Arguments": []
}
]
}
}
}