WebhookTarget
Defined in: src/mft/webhooks.ts:19
Webhook destination.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
allowInsecureUrl? | boolean | Permits 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? | string | Shared 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 |
url | string | Absolute https: URL that receives POST deliveries. | src/mft/webhooks.ts:21 |