Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/channels / / SanitizeChannelInboundOptions
Interface: SanitizeChannelInboundOptions
Defined in: packages/channels/src/inbound.ts:27
Options for sanitizeChannelInbound.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
budgetMs? | readonly | number | Per-message scan budget in milliseconds (ReDoS ceiling). | packages/channels/src/inbound.ts:37 |
channelId | readonly | string | Channel id recorded as the content origin on audit rows. | packages/channels/src/inbound.ts:29 |
policy? | readonly | InboundSanitizationPolicy | Override the sanitization policy. Default 'detect-and-strip-and-wrap' - the same default every other untrusted trust class gets. | packages/channels/src/inbound.ts:35 |