
PAtmakuri597716 (Community Member) asked a question.
How to get scan details by scan id like scan submitted date, scan status, life cycle stage, policy scan status, etc. Also, how to update scan details by scan id like update life cycle stage of a scan etc. in Azure DevOps Pipelines.
There are two Veracode APIs available to accomplish above requirement.
· https://analysiscenter.veracode.com/api/5.0/getbuildinfo.do
· https://analysiscenter.veracode.com/api/5.0/updatebuild.do
Can someone please help what is the best way (what scripts or tasks should be used) to call above APIs in Azure DevOps Pipelines? Thank you.
.png)
Thanks for your question! You can use the wrapper to accomplish the task:
Install and Use the C# API Wrapper:
https://help.veracode.com/r/t_about_Csharp_wrapper
In an Azure DevOps pipeline you can add additional tasks, that may include scripts.
However, we do not have an example of the code to call Veracode wrapper.
Please file a support ticket for us to research design and implementation of a new build step.
Also, you can file a product enhancement request in the community: https://community.veracode.com/s/ideas
Thanks!