Skip to content

Severity

Daniele Linguaglossa edited this page Jan 8, 2018 · 1 revision

Severity

Severity is an enum-like class and it's used during the creation of passed test it's used to indicate the severity of the vulnerability (Critical, High, medium, low, info)

Example

Create a passed test with Critical severity

Scanner.makePassedTest("Description", Utils.httpToString(base_request), Utils.httpToString(response), server, param, Vuln.CONFIDENCE_FIRM, Severity.CRITICAL, plugin)

Enum

Below the list of available properties:

  • CRITICAL
  • HIGH
  • MEDIUM
  • LOW
  • INFO

Related Topics

Clone this wiki locally