Jmullinax-hill382092 (Community Member) asked a question.

How can the REST APIs be called directly from Azure DevOps Pipelines when HMAC is required?

I need to delete "incomplete" sandboxes that get stuck before attempting a new build. The DevOps extension does not support the Java flag that does this automatically. When I contacted support, the guidance was to call the REST APIs directly. The problem is, from reading the documentation, this does not seem possible without some extreme measures, because the Java/Python/C# HMAC libraries are required to authenticate. It is not a standard oauth2 REST API. I cannot find any examples or information for this.


  • Hello @Jmullinax-hill382092 (Community Member)​ ,

     

    Thank you for reaching out to the Community.

     

    There was an issue in the deleteincompletescan parameter in Azure DevOps extension where it earlier accept Boolean value and now a number (0,1,2). We have fixed this issue in INTM-350 and it will be available with the next Azure DevOps release.

     

    Users will have to enter this parameter in optional parameter input in their environment for the time being. e.g. -deleteincompletescan 1 

     

    We would appreciate it if you could mark the response that was helpful with “Select as Best”. This will help other Community members who come across your question as a similar challenge they might be facing and your best answer will help them find the right solution as well.

     

    Kind regards,

    Steven

    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.