Azure DevOps (ADO)

Create Azure DevOps Work Item

The purpose of this example is to create a Azure DevOps Work Itemarrow-up-right when a Vulnerability is created in AttackForge, and to update AttackForge to assign the Azure DevOps Work Item Id against the Vulnerability.

This example Flow can be downloaded from our Flows GitHub Repositoryarrow-up-right and imported into your AttackForge.

Initial Set Up

Important: This example requires access to the AttackForge Self-Service API and AttackForge Flows

Action 1 - Create ADO Work Item

  • Method: POST

  • URL: https://dev.azure.com/<YOUR-ADO-TENANT>/<YOUR-ADO-PROJECT>/_apis/wit/workitems/$Issue?api-version=6.1-preview.3

  • Headers:

    • Key = Content-Type; Type = Value; Value = application/json-patch+json

    • Key = Authorization; Type = Secret; Value = ado_auth

  • Request Script:

  • Response Script:

Action 2 - Update AF Vuln with ADO Work Item Id

  • Method: PUT

  • URL: <defined in Request Script>

  • Headers:

    • Key = Content-Type; Type = Value; Value = application/json

    • Key = X-SSAPI-Key; Type = Secret; Value = af_auth

  • Request Script:

  • Response Script:

Last updated