TVDB (Community Member) asked a question.

Is possible to replace a scan that is in progress with a new scan with the java api wrapper?

I have a pipeline in aws where I use the uploadandscan action with the java api wrapper. The pipeline gets activated when a new commit is pushed to github. But when the scan from the previous commit is still in progress, the pipeline fails and it displays the error that there is a scan in progress. Is there a way to replace/delete the old scan so that the pipeline doesn't fail anymore?


lucas.ferreira likes this.
  • User16880520388034916362 (Veracode, Inc.)

    Hello,

     

    If a scan is in-progress then, either it has to be completed or deleted to be able to perform a new scan. For more information and assistance on deleting the in-progress scan, we recommend you to contact our technical support team.

     

    Here's how you can log a case:

    1. Navigate to the upper right corner of any page in the Community, and click on your user avatar.

    2. Select Contact Support from the drop-down menu. Open a case with Support, for Integration and your queries will be addressed. 

     

    Thanks & Regards,

    Veracode!

    Expand Post
  • Hello @TVDB (Community Member)​ 

     

    Yes! there is an option parameter into java wrapper called deleteincompletescan with the options '0', '1', and '2'

     

    In this case, you can use the option deleteincompletescan 2

     

    More information about that option, see the documentation: uploadandscan | Veracode Docs

    Expand Post

Topics (3)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.