zap-cdk
    Preparing search index...

    Interface IAuthenticationParameters

    IAuthenticationParameters Represents the parameters for authentication in the scanning process.

    interface IAuthenticationParameters {
        method:
            | "manual"
            | "http"
            | "form"
            | "json"
            | "script"
            | "autodetect"
            | "browser"
            | "client";
        parameters: {
            hostname?: string;
            loginPageUrl?: string;
            loginRequestBody?: string;
            loginRequestUrl?: string;
            port?: number;
            realm?: string;
            script?: string;
            scriptEngine?: string;
            scriptInline?: string;
        };
        verification: {
            loggedInRegex?: string;
            loggedOutRegex?: string;
            method: "response"
            | "request"
            | "both"
            | "poll";
            pollAdditionalHeaders?: { header: string; value: string }[];
            pollFrequency?: number;
            pollPostData?: string;
            pollUnits?: "requests" | "seconds";
            pollUrl?: string;
        };
    }
    Index

    Properties

    method:
        | "manual"
        | "http"
        | "form"
        | "json"
        | "script"
        | "autodetect"
        | "browser"
        | "client"

    Authentication method.

    parameters: {
        hostname?: string;
        loginPageUrl?: string;
        loginRequestBody?: string;
        loginRequestUrl?: string;
        port?: number;
        realm?: string;
        script?: string;
        scriptEngine?: string;
        scriptInline?: string;
    }

    Parameters specific to the authentication method.

    verification: {
        loggedInRegex?: string;
        loggedOutRegex?: string;
        method: "response" | "request" | "both" | "poll";
        pollAdditionalHeaders?: { header: string; value: string }[];
        pollFrequency?: number;
        pollPostData?: string;
        pollUnits?: "requests" | "seconds";
        pollUrl?: string;
    }

    Verification details for authentication.