- Getting Started
- Authentication
- Common Error Responses
- Filtering Data
- Authentication
- User Confirmation
- User Invitation
- Password Reset
- Impersonation
- MFA
- Sign in authenticationPOST
- Sign in with recovery codePOST
- Sign out authenticationDELETE
- Targets
- Scans
- Reports
- Vulnerabilities
- Exceptions
- Schedules
- Webhooks
- Advanced Reports
- Audit
- Notifications
- Hosts
- Scanners
- Port Lists
- User
- User 2FA
- User Preferences
- Get current user
- Update current user
- Change current user password
- Get current user active plans (Not implemented yet)
- Get organization members
- Get current user products
- Get current organization
- Update current organization
- Get subscriptions history
- Change users product
- Checks if authorization token is valid
- Get current user permissions
- Check if the user can be deleted
- Delete my account
- Generates a new access token
- Revokes the current access token
- (Admin) Transfers all the resources from the user to another user
- Organizations
- Users
- Whitelabel Settings
Create Exception
POST
/v2/exceptions
Exceptions
Last modified:2025-04-24 10:59:46
Exceptions can be scoped to affect vulnerabilities in different ways,
depending on the attributes you provide:
Scope by Host and Port:#
hosts
and/or port
attributes, the exception will apply to all occurrences of thespecified vulnerability across the given host(s) and port(s).
Scope by Scan:#
scan
attribute (scan ID), the exception will apply to all occurrences of thespecified vulnerability within that specific scan only.
Request
Body Params application/json
exception
objectÂ
optional
text
stringÂ
required
Example:
My Exception
hosts
stringÂ
optional
Example:
178.151.13.5
port
integerÂ
optional
Example:
8080
task
string <uuid>
optional
scan
attribute insteadscan
string <uuid>
optional
new_severity
numberÂ
optional
Example:
2
nvt
stringÂ
required
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",
"scan": "a7a2f3fe-ff95-4c3f-9ff0-56fb58648122",
"new_severity": 2,
"nvt": "1.3.6.1.4.1.25623.1.0.815255"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/exceptions' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢201Created
This response does not have a body.
🟠401Unauthorized
🟠422Parameter Error
Modified at 2025-04-24 10:59:46