zap-cdk
    Preparing search index...

    Interface IActiveScanConfigParameters

    IActiveScanConfigParameters Represents the parameters for configuring an active scan.

    interface IActiveScanConfigParameters {
        defaultPolicy?: string;
        handleAntiCSRFTokens?: boolean;
        injectPluginIdInHeader?: boolean;
        inputVectors: IInputVectors;
        maxAlertsPerRule?: number;
        maxRuleDurationInMins?: number;
        maxScanDurationInMins?: number;
        threadPerHost?: number;
    }
    Index

    Properties

    defaultPolicy?: string

    The name of the default scan policy to use, default: Default Policy.

    handleAntiCSRFTokens?: boolean

    If set, then automatically handle anti CSRF tokens, default: false.

    injectPluginIdInHeader?: boolean

    If set, then the relevant rule ID will be injected into the X-ZAP-Scan-ID header of each request, default: false.

    inputVectors: IInputVectors

    The input vectors used during the active scan.

    maxAlertsPerRule?: number

    Maximum number of alerts to raise per rule, default: 0 (unlimited).

    maxRuleDurationInMins?: number

    The max time in minutes any individual rule will be allowed to run for, default: 0 (unlimited).

    maxScanDurationInMins?: number

    The max time in minutes the active scanner will be allowed to run for, default: 0 (unlimited).

    threadPerHost?: number

    The max number of threads per host, default: 2 * Number of available processor cores.