Skip to content

basalt / webhooks/src / assertDeliverableUrl

Function: assertDeliverableUrl() ​

> assertDeliverableUrl(rawUrl, options?): Promise<void>

Defined in: webhooks/src/ssrf.ts:332

Rejects a delivery URL that could reach internal infrastructure (SSRF). Thin wrapper over resolveAndValidate for callers that only need the pass/fail decision and not the pinned address.

Parameters ​

rawUrl ​

string

options? ​

SsrfGuardOptions = {}

Returns ​

Promise<void>

Released under the MIT License.