All Downloads are FREE. Search and download functionalities are using the official Maven repository.

burp.api.montoya.scanner.audit.AuditIssueHandler Maven / Gradle / Ivy

There is a newer version: 2024.12
Show newest version
/*
 * Copyright (c) 2022-2023. PortSwigger Ltd. All rights reserved.
 *
 * This code may be used to extend the functionality of Burp Suite Community Edition
 * and Burp Suite Professional, provided that this usage does not violate the
 * license terms for those products.
 */

package burp.api.montoya.scanner.audit;

import burp.api.montoya.scanner.Scanner;
import burp.api.montoya.scanner.audit.issues.AuditIssue;

/**
 * Extensions can implement this interface and then call
 * {@link Scanner#registerAuditIssueHandler(AuditIssueHandler)} to register an
 * audit issue handler. The handler will be notified of new issues that are
 * reported by the Scanner tool. Extensions can perform custom analysis or
 * logging of audit issues by registering an audit issue handler.
 */
public interface AuditIssueHandler
{
    /**
     * This method is invoked when a new issue is added to Burp Scanner's
     * results.
     *
     * @param auditIssue An {@link AuditIssue} object that the extension can
     *                   query to obtain details about the new issue.
     */
    void handleNewAuditIssue(AuditIssue auditIssue);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy