I wanted to use the Watch New Action
module from the Glide app. I found that it does not map request headers as a bundle output, so I can not check the authorization
header which contains Glide generated password for security.
The output bundle:
[
{
"timestamp": "2022-11-26T10:17:57.090Z",
"hookKind": "app-action",
"appID": "fIL8vv5pJTYUwyRG5pOY",
"idempotencyKey": "wG-B0A8uQvKGkq3MPrzhqg",
"params": {
"action": {
"value": "queueCount",
"type": "string"
}
}
}
]
When I use a Custom webhook
module, the out put bundle contains all headers:
[
{
"hookKind": "app-action",
"timestamp": "2022-11-26T08:54:43.548Z",
"appID": "fIL8vv5pJTYUwyRG5pOY",
"params": {
"action": {
"type": "string",
"value": "queueCount"
}
},
"idempotencyKey": "OpsAuhbGSnC2f.T2KHr8Xg",
"__IMTHEADERS__": [
{
"name": "connection",
"value": "upgrade"
},
{
"name": "x-real-ip",
"value": "172.70.178.41"
},
{
"name": "x-request-id",
"value": "a08cb9e629e29d1a0689558b0a3a2e0f"
},
{
"name": "content-length",
"value": "196"
},
...
I recommend that this module (Watch New Glide Action) get Glide generated password as an optional parameter and check it automatically in received http headers, then allow the scenario triggers.