zap-cdk
    Preparing search index...

    Interface IAlertFilter

    IAlertFilter Represents a filter for alerts in the scanning process.

    interface IAlertFilter {
        attack?: string;
        attackRegex?: boolean;
        context?: string;
        evidence?: string;
        evidenceRegex?: boolean;
        newRisk: "False Positive" | "Low" | "Medium" | "High" | "Info";
        parameter?: string;
        parameterRegex?: boolean;
        ruleId: number;
        url?: string;
        urlRegex?: boolean;
    }
    Index

    Properties

    attack?: string

    Optional string to match against the alert attack field.

    attackRegex?: boolean

    Optional; if true, then the attack is treated as a regex.

    context?: string

    Optional context name; if empty, a global alert filter will be created.

    evidence?: string

    Optional string to match against the alert evidence field.

    evidenceRegex?: boolean

    Optional; if true, then the evidence is treated as a regex.

    newRisk: "False Positive" | "Low" | "Medium" | "High" | "Info"

    Mandatory new risk level.

    parameter?: string

    Optional string to match against the alert parameter field.

    parameterRegex?: boolean

    Optional; if true, then the parameter is treated as a regex.

    ruleId: number

    Mandatory, the scan rule ID or the alert reference.

    url?: string

    Optional string to match against the alert.

    urlRegex?: boolean

    Optional; if true, then the url is treated as a regex.