Skip to content

Security and backlog checks task

Run StrideAIChecks@0 on a schedule for a report of open security alerts and of backlog items without acceptance criteria or estimates, without an owner, or stuck. No security licence needed: the built-in scan reads your repositories with the pipeline’s identity, checks dependencies (npm, NuGet, PyPI, Go) against the open OSV vulnerability database, and scans source files for exposed secrets and risky patterns. It also reads GitHub Advanced Security alerts where you have them and the SARIF files your own scanners write. It can fail the run when critical alerts are open, and it publishes the alerts for the security radar in the chat.

- task: StrideAIChecks@0
inputs:
repositories: "*"
sarifFolder: $(Build.ArtifactStagingDirectory)
team: Web Team
failOn: critical
wikiPath: StrideAI/Checks/Latest
Input Default Meaning
securityCheck true Check security alerts.
builtInScan auto Built-in scan of each repository’s default branch: auto, always, never.
dependencyCheck true Check dependencies against OSV (only package names and versions leave Azure DevOps).
secretScan true Scan files for secrets and risky patterns.
advancedSecurity true Read GitHub Advanced Security alerts (Azure DevOps Services only; needs View alerts).
repositories This pipeline’s repository Names separated by commas, or * for every repository.
sarifFolder Where earlier steps wrote SARIF files.
minSeverity low Lowest severity to report.
failOn critical Fail the run on: never, critical, high, medium.
publishAlerts true Save the alerts as the StrideAISecurity artifact so the radar shows them.
Input Default Meaning
backlogCheck true Check the backlog.
team Check the team’s current sprint; without a team, items changed in the last 90 days.
areaPath Area path.
staleDays 14 Stuck after days without a change.

Report: title, outputFile, wikiPath; optional model inputs for a narrative summary.

SecurityVerdict (clear, attention, critical), BacklogIssues, ReportPath.