boundfetch
    Preparing search index...

    Interface SecurityConfig

    Request hardening controls applied by core before transport and while parsing responses.

    interface SecurityConfig {
        allowBodyOnGetHead: boolean;
        allowedHosts: string[];
        allowedHostSuffixes: string[];
        allowedPorts: number[];
        allowHttpLocalhost: boolean;
        blockedCidrs: string[];
        enforceDnsRebindingProtection: boolean;
        enforceHttps: boolean;
        enforceJsonResponseContentType: boolean;
        includeErrorDiagnostics: boolean;
        maxRequestBytes: number;
        maxResponseBytes: number;
        onSecurityEvent?: (event: SecurityEvent) => void;
        redactBodyKeys: string[];
        redactErrorDetails: boolean;
        redactHeaders: string[];
        validateResolvedIps: boolean;
    }
    Index

    Properties

    allowBodyOnGetHead: boolean
    allowedHosts: string[]
    allowedHostSuffixes: string[]
    allowedPorts: number[]
    allowHttpLocalhost: boolean
    blockedCidrs: string[]
    enforceDnsRebindingProtection: boolean
    enforceHttps: boolean
    enforceJsonResponseContentType: boolean
    includeErrorDiagnostics: boolean
    maxRequestBytes: number
    maxResponseBytes: number
    onSecurityEvent?: (event: SecurityEvent) => void
    redactBodyKeys: string[]
    redactErrorDetails: boolean
    redactHeaders: string[]
    validateResolvedIps: boolean