Azure DevOps
Last updated
Last updated
Akto's integration with Azure DevOps allows you to maintain API security through Azure Pipelines. With this integration, you'll be able to:
Check status of Akto CICD tests directly from Azure DevOps through quality gates
Generate tests from live functional traffic for targeted security testing
Insert security seamlessly into existing functional tests with complete automation
Azure DevOps project with administrator access
Akto dashboard access
Akto API credentials (API key and dashboard URL)
Create a new file named azure-pipelines.yml
in your repository root:
Go to Pipelines > Edit > Variables
Add the following required variables:
AKTO_DASHBOARD_URL
: Your Akto dashboard URL
AKTO_API_KEY
: Your Akto API key (mark as secret)
AKTO_TEST_ID
: Your Akto test ID
WAIT_TIME_FOR_RESULT
: Time to wait for test results
Save it and then hit the run button
Navigate to Project Settings > Repositories
Select your repository branch
Add build policy:
Add build pipeline
Make it required
Create a new pull request
Verify that Akto security checks appear in the pipeline
Check test results in the Azure DevOps pipeline interface
Navigate to your pipeline run
Check the 'Test Stage' logs
Review security test results
Access detailed reports in Akto dashboard