Skip to main content

How to start a re-test

Start a re-test of a finding to check if the vulnerability is fixed and can no longer be exploited.

Step 1: Start the re-test

To start a re-test, you need to know the finding and target identifiers. To do this, you can list the findings to select which finding you want to re-test for which target.

In this request, the finding identifier is 1 for the target identifier 2oir9t8RKxdr.

Request
curl https://api.probely.com/targets/2oir9t8RKxdr/findings/1/retest/ \
-X POST \
-H 'Authorization: JWT <YOUR_API_TOKEN>' \
-H 'Content-Type: application/json'

The response returns the confirmation the re-test has begun ("status": "queued").

Response
{
"id": "w2gDAvPoP7ga",
"target": {
"id": "2oir9t8RKxdr",
"name": "",
"site": {
"id": "spMJGK2QAB7B",
"name": "My target",
"desc": "",
"url": "https://example.com",
"host": "example.com",
...
},
...
},
"status": "queued",
"started": null,
"completed": null,
...
}

The re-test will start shortly, and you can check when it is finished by polling the finding (using the finding and target identifiers). For that, see the tutorial about How to check a re-test result.