Skip to main content

Interface: GuardReportValidationOptions

Defined in: electron/services/ipc/validators/utils/guardReportValidation.ts:35

Internal

Options for validating preload guard reports.

Properties​

maxChannelBytes​

readonly maxChannelBytes: number;

Defined in: electron/services/ipc/validators/utils/guardReportValidation.ts:37

Maximum allowed UTF-8 byte length for the channel identifier.


maxGuardBytes​

readonly maxGuardBytes: number;

Defined in: electron/services/ipc/validators/utils/guardReportValidation.ts:39

Maximum allowed UTF-8 byte length for the guard identifier.


maxMetadataBytes​

readonly maxMetadataBytes: number;

Defined in: electron/services/ipc/validators/utils/guardReportValidation.ts:41

Maximum allowed UTF-8 byte length for serialized metadata.


maxPayloadPreviewBytes​

readonly maxPayloadPreviewBytes: number;

Defined in: electron/services/ipc/validators/utils/guardReportValidation.ts:43

Maximum allowed UTF-8 byte length for payload preview text.


maxReasonBytes​

readonly maxReasonBytes: number;

Defined in: electron/services/ipc/validators/utils/guardReportValidation.ts:45

Maximum allowed UTF-8 byte length for the optional reason.