SKofod108694 (Community Member) asked a question.

How to get scan result after running Veracode@3 task in ADO pipeline

I'm using an Azure DevOps pipeline to run an application scan.

 

The scan is executed by using the task Veracode@3 and it works fine.

 

But how do I read the result of the scan in a later task in the same pipeline?

 

Based on the pipeline output it seems like it ends up here `Output filepath: D:\a\_tasks\Veracode_6292a058-d4f5-407b-b6c6-815df9ee59d6\3.24.0\reports\detailedReportdata.xml` but I'm not really sure how to generate that path dynamically. I don't really feel like hardcoding that path in my yaml file.

 

This is also being printed th the pipeline output:

```

Attaching summary report data to the build

{"_severityDTOList":[{"_level":0,"_totalFailedCount":"1","_totalMitigatedCount":0},{"_level":1,"_totalFailedCount":"0",..........

```

So does the above indicate that I can get the report data somehow from the build data?

 

 

 

 

 


lucas.ferreira likes this.

Topics (5)

No articles found
Loading

Ask the Community

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