Skip to content

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

PropertyModifierTypeDescriptionDefined in
budgetMs?readonlynumberPer-message scan budget in milliseconds (ReDoS ceiling).packages/channels/src/inbound.ts:37
channelIdreadonlystringChannel id recorded as the content origin on audit rows.packages/channels/src/inbound.ts:29
policy?readonlyInboundSanitizationPolicyOverride the sanitization policy. Default 'detect-and-strip-and-wrap' - the same default every other untrusted trust class gets.packages/channels/src/inbound.ts:35