Route: https://api.cytrix.io/VulnFix
You can use this function to mark Vulnerabilities that got Fixed.
Roles Required: Admin and User. Private Users can only mark Fixed for Vulnerabilities in Scans they created.
Request Syntax
{
"apiKey": "String",
"vulnId": 123456789,
"token": "String",
"isFixed": True|False
}
Request Parameters
Parameters being used in the Request
Parameter Name :
apiKey
Parameter Usage and Options :
Your CYTRIX given API Key.
How do I get it ? :
Located in the “Profile” section.
Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.
Type :
String
Is it Optional ? :
No.
Parameter Name :
vulnId
Parameter Usage and Options :
The ID of the requested vulnerability.
How do I get it ? :
By entering the vulnerability page in CYTRIX, on the address bar, the “id=231231232133”, use the number that appears. You can also use the “GetVulnsScan” or “GetAllVulns” functions.
Type :
Integer
Is it Optional ? :
No.
Parameter Name :
token
Parameter Usage and Options :
The scan’s token.
How do I get it ? :
Simply use the “GetScan” or “GetAllScans” function, or navigate to a certain scan’s page, and in the address bar, you will notice “token=String”, use that String.
Type :
String
Is it Optional ? :
No.
Parameter Name :
isFixed
Parameter Usage and Options :
Mark isFixed as “True” if the vulnerability got fixed. By default, it’s marked as “False”.
Value :
True|False
Type :
Boolean
Is it Optional ? :
No.
Successful Response
{
"Error": 0,
"Function": "VulnFix",
"Data": "update"
}
Errors and their Possible Causes
For more information, please refer to the General Errors section.