zap-cdk
    Preparing search index...

    Interface IContext

    IContext Represents a scanning context with its configuration.

    interface IContext {
        authentication: IAuthenticationParameters;
        excludePaths?: string[];
        includePaths?: string[];
        name: string;
        sessionManagement: ISessionManagementParameters;
        structure: {
            dataDrivenNodes?: IDataDrivenNode[];
            structuralParameters?: string[];
        };
        technology: ITechnology;
        urls: string[];
        users: {
            credentials: {
                password: string;
                totp?: {
                    algorithm?: string;
                    digits?: number;
                    period?: number;
                    secret: string;
                };
                username: string;
            }[];
            name: string;
        }[];
    }
    Index

    Properties

    Authentication details.

    excludePaths?: string[]

    Optional list of regexes to exclude.

    includePaths?: string[]

    Optional list of regexes to include.

    name: string

    Name to refer to this context.

    sessionManagement: ISessionManagementParameters

    Session management details.

    structure: {
        dataDrivenNodes?: IDataDrivenNode[];
        structuralParameters?: string[];
    }

    Structure details of the context.

    technology: ITechnology

    Technology details.

    urls: string[]

    Mandatory list of top-level URLs.

    users: {
        credentials: {
            password: string;
            totp?: {
                algorithm?: string;
                digits?: number;
                period?: number;
                secret: string;
            };
            username: string;
        }[];
        name: string;
    }[]

    List of users for the context.