Skip to content

WebhookTarget

Defined in: src/mft/webhooks.ts:19

Webhook destination.

PropertyTypeDescriptionDefined in
allowInsecureUrl?booleanPermits plain http: delivery. Defaults to false, which rejects cleartext URLs because audit payloads (and the HMAC timestamp/signature headers) would cross the network unencrypted.src/mft/webhooks.ts:33
headers?Record<string, string>Additional headers merged into every request.src/mft/webhooks.ts:23
secret?stringShared secret used to compute the HMAC signature header.src/mft/webhooks.ts:25
types?readonly MftAuditEntryType[]Audit entry types to deliver. Defaults to all types.src/mft/webhooks.ts:27
urlstringAbsolute https: URL that receives POST deliveries.src/mft/webhooks.ts:21