
awolfson (Community Member) asked a question.
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?
.png)
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