Update Exception
PUT
/v2/exceptions/{id}Last modified: 3 days ago
Update an Exception
Request
Path Params
id
string
required
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
OK(200)
Unauthorized(401)
Record Not Found(404)
Parameter Error(422)
HTTP Code: 200
Content Type : JSONapplication/json
Exception updated
Data Schema
object {0}
Example
{}
Last modified: 3 days ago