hosts
and/or port
attributes, the exception will apply to all occurrences of thescan
attribute (scan ID), the exception will apply to all occurrences of the{
"exception": {
"text": "My Exception",
"hosts": "178.151.13.5",
"port": 8080,
"task": "4879b8a6-fb3e-4a0d-aef8-b0ea469ac85c",
"scan": "a7a2f3fe-ff95-4c3f-9ff0-56fb58648122",
"new_severity": 2,
"nvt": "1.3.6.1.4.1.25623.1.0.815255"
}
}
curl --location --request POST '/v2/exceptions' \
--header 'Content-Type: application/json' \
--data-raw '{
"exception": {
"text": "My Exception",
"hosts": "178.151.13.5",
"port": 8080,
"task": "4879b8a6-fb3e-4a0d-aef8-b0ea469ac85c",
"scan": "a7a2f3fe-ff95-4c3f-9ff0-56fb58648122",
"new_severity": 2,
"nvt": "1.3.6.1.4.1.25623.1.0.815255"
}
}'