Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>AccuKnox SAST
AccuKnox SAST

AccuKnox SAST

AccuKnox

|
5 installs
| (0) | Free
AccuKnox SAST extension for scanning source code.
Get it free

AccuKnox SAST Azure DevOps extension

Learn more about AccuKnox

Description

This extension runs a Static Application Security Test (SAST) using SonarQube, then uploads the generated report to the AccuKnox CSPM panel. The extension can be configured with specific inputs to integrate seamlessly with your DevSecOps pipeline.

How to use it?

  1. Add the following task into your pipeline:
- task: AccuKnox-SAST@1
  inputs:
    sonarQubeUrl: $(sonarQubeUrl)
    sonarQubeToken: $(sonarQubeToken)
    sonarQubeProjectKey: $(sonarQubeProjectKey)
    accuknoxEndpoint: $(accuknoxEndpoint)
    accuknoxTenantId: $(accuknoxTenantId)
    accuknoxToken: $(accuknoxToken)
    accuknoxLabel: $(accuknoxLabel)
    qualityGate: $(qualityGate)
    skipSonarQubeScan: $(skipSonarQubeScan)
  1. Generate the AccuKnox API token:

For generating the token, open up the AccuKnox UI. And navigate to the settings > tokens and click on the create button.

Screenshot of the AccuKnox tokens page


Give your token a name and set the expiry date according to your needs. Click on the generate button.

Screenshot of the AccuKnox tokens page


Copy and note down the tenant id and token.

Screenshot of the AccuKnox tokens page


Store the token as a secret in Azure DevOps.

Input values

Input Value Required Default Value Description
sonarQubeUrl Yes None URL of the SonarQube server. eg. https://sonarqube.example.com
sonarQubeToken Yes None SonarQube user token.
sonarQubeProjectKey Yes None Project key of your SonarQube project.
sonarQubeOrganizationId No None Required only for SonarQube Cloud users
accuknoxEndpoint Yes None AccuKnox domain for sending DAST report. eg. cspm.demo.accuknox.com, cspm.accuknox.com
accuknoxTenantId Yes None Your AccuKnox tenant ID. You can see your tenant ID while creating an AccuKnox token.
accuknoxToken Yes None AccuKnox API token.
accuknoxLabel Yes None AccuKnox label to group similar findings together.
qualityGate No false Quality gate check to fail the build if the quality gate fails. Value should be boolean.
skipSonarQubeScan No false Skip SonarQube scan, for advanced users. Value should be boolean.

How it Works

  • SonarQube SAST: The extension runs a SAST scan on the specified project using SonarQube.
  • AccuKnox Report Generation: After running the SAST scan it generates a report.
  • Report Upload: The generated report is uploaded to the AccuKnox CSPM panel for centralized monitoring and insights.
  • Quality Gate Check: Verifies if the project meets the set quality standards on SonarQube.

Notes

  • Ensure all necessary secrets are securely stored in an Azure DevOps variable group.
  • AccuKnox control plane provides a centralized view of all SAST results, enabling detailed security monitoring and analytics.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft