Run CybeDefend scans in your on-prem Azure DevOps Server pipeline, maintaining code on your own infrastructure while benefiting from automated security checks.Documentation Index
Fetch the complete documentation index at: https://docs.cybedefend.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Personal Access Token (PAT): Create one in your CybeDefend profile and store it as
CYBEDEFEND_PATin Azure DevOps. - Agent Permissions: Ensure your self-hosted agent can install or run the CybeDefend CLI.
- Azure DevOps Access: Sufficient rights to modify your pipeline definition.
Make sure the agent’s OS matches one of our supported CLI binaries (Windows, Linux, or macOS).
Example azure-pipelines.yml
Explanation
- checkout: self
Ensures your code is present on the build agent. - Download & Install
Grabs the CLI binary, grants permissions, and moves it to/usr/local/bin. - Run the Scan
The--ciflag keeps the output minimal. We rely on environment variables for the API key and project ID.
Viewing Scan Results
- CLI Output
The console output shows a summary of detected issues. - CLI “results”
If you want more detail in the pipeline logs, add a step: - CybeDefend Dashboard
Login to your CybeDefend account to see a full vulnerability breakdown.