Create Exception
POST
/v2/exceptionsLast modified: 3 days ago
Create an Exception
Request
Body Params application/json
exception
object
optional
text
string
required
The exception name
Example:
My Exception
hosts
string
optional
The hosts to which this exception applies
Example:
178.151.13.5
port
integer
optional
The port of the hosts to which this exception applies
Example:
8080
task
string <uuid>
optional
The scan uuid to which this exception applies
new_severity
number
optional
Severity
Example:
2
nvt
string
required
The NVT
Example:
1.3.6.1.4.1.25623.1.0.815255
Example
{
"exception": {
"text": "My Exception",
"hosts": "178.151.13.5",
"port": 8080,
"task": "4879b8a6-fb3e-4a0d-aef8-b0ea469ac85c",
"new_severity": 2,
"nvt": "1.3.6.1.4.1.25623.1.0.815255"
}
}
Request samples
Responses
Created(201)
Unauthorized(401)
Parameter Error(422)
HTTP Code: 201
Content Type : JSONapplication/json
Exception created
Data Schema
object {0}
Example
{}
Last modified: 3 days ago