mirror of
https://github.com/alvierahman90/gohookr.git
synced 2024-09-08 02:36:13 +00:00
35 lines
700 B
JSON
35 lines
700 B
JSON
{
|
|
"ListenAddress": "127.0.0.1:8654",
|
|
"Services": {
|
|
"test": {
|
|
"Script": {
|
|
"Program": "./example.sh",
|
|
"AppendPayload": true,
|
|
"AppendHeaders": 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": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|