To delete pending scans, follow this GitHub article.
To delete in-progress scans:
- Download the package from GitHub.
- Edit line 37 of the file clean_queue.py. This line determines the scan status you want to delete. Change "pending" to "in-progress".
- Repackage the container image.
docker build -t smartcheck-clean-inprogress .
- Run the docker image.
docker run --rm \
-e USERNAME="<user>" \
-e PASSWORD="<password>" \
-e URL="<Smart Check IP>:<port>" \
smartcheck-clean-inprogress