vmware/burp-rest-api

The /burp/scanner/status API still returns "scanPercentage": 0 after the scans are complete

sujendram opened this issue · 3 comments

Describe the bug
The /burp/scanner/status API still returns "scanPercentage": 0 after the scans are complete

To Reproduce
Steps to reproduce the behavior:

  1. Use the "/burp/scanner/scans/active" API to trigger the scan on target url
  2. Check the UI to see if the scans are finished
  3. Once the active scan and passive scan is complete, use the "/burp/scanner/status" api
  4. The response from status API is still "scanPercentage": 0

Expected behavior
The scan status API should return "scanPercentage": 100

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Burp Suite Professional v2020.2
  • Extension burp-rest-api 2.0.1

Additional context
Add any other context about the problem here.

Adding screenshots
burp_scans_screenshot

burp_api_screenshot

This looks like a bug. We're not actively supporting this extension at this time, but will try to take a look at some point

getPercentageComplete() in IScanQueueItem has been deprecated by Burp Suite.

We've pushed a change to simulate the 100% once the scan is either canceled, finished or abandoned. This should at least avoid breaks in CI/CD pipelines.