Package burp.api.montoya.scanner.audit
Interface Audit
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRequest
(HttpRequest request) This method can be used to add an HTTP request to this audit.void
addRequest
(HttpRequest request, List<Range> insertionPointOffsets) This method can be used to add an HTTP request to this audit.void
addRequestResponse
(HttpRequestResponse requestResponse) This method can be used to add an HTTP request and response to this audit.void
delete()
Delete the task.int
Number of network errors that have occurred for the scan task.int
This method retrieves the number of insertion points.issues()
This method retrieves the audit issues found by this audit.int
Number of requests that have been made for the scan task.
-
Method Details
-
insertionPointCount
int insertionPointCount()This method retrieves the number of insertion points.- Returns:
- The number of insertion points.
-
issues
List<AuditIssue> issues()This method retrieves the audit issues found by this audit.- Returns:
- The list of
AuditIssue
s found by this audit.
-
addRequest
This method can be used to add an HTTP request to this audit.- Parameters:
request
- TheHttpRequest
to add to this audit.
-
addRequest
This method can be used to add an HTTP request to this audit.- Parameters:
request
- TheHttpRequest
to add to this audit.insertionPointOffsets
- The list ofRange
s representing the insertion point offsets.
-
addRequestResponse
This method can be used to add an HTTP request and response to this audit.- Parameters:
requestResponse
- TheHttpRequestResponse
to add to this audit.
-
requestCount
int requestCount()Number of requests that have been made for the scan task.- Specified by:
requestCount
in interfaceScanTask
- Returns:
- The number of requests that have been made for the scan task.
-
errorCount
int errorCount()Number of network errors that have occurred for the scan task.- Specified by:
errorCount
in interfaceScanTask
- Returns:
- The number of network errors that have occurred for the scan task.
-
delete
-
statusMessage
String statusMessage()- Specified by:
statusMessage
in interfaceScanTask
- Specified by:
statusMessage
in interfaceTask
- Returns:
- the current status message of the task
-