awolfson (Community Member) asked a question.

quick way to grab a build_id of a scan

I'm attempting to download a detailedPDF report from a sandbox scan with the java API wrapper. Currently, I need to request three different actions to grab the build_id of a scan that I just started with the "uploadandscan" action.

 

instead of these actions:

 

#get application id (-action getapplist)

#get sandbox id (-action getsandboxlist)

#get build id ( -action getbuildlist)

 

finally #generate pdf (-action detailedreport)

 

is there a quicker solution?

 


  • Hello @awolfson (Community Member)​ ,

     

    I would advise reviewing the Help Center article API Tutorial: How to Access Scan Results. Each of these individually can be used with the Veracode Java API wrapper as there is not a composite action for the detailed report PDF, although there is one for the XML reports, called, alldetailedreports. Try adding these calls to your script to see if it will accomplish the solution you are looking for.

     

    Jason

    Veracode Support Engineer

    Expand Post

Topics (4)

No articles found
Loading

Ask the Community

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