Skip to content

feat: add break-on-detections input for build failure on vulnerabilities#160

Open
DimaBir wants to merge 1 commit intomainfrom
feature/break-on-detections
Open

feat: add break-on-detections input for build failure on vulnerabilities#160
DimaBir wants to merge 1 commit intomainfrom
feature/break-on-detections

Conversation

@DimaBir
Copy link
Contributor

@DimaBir DimaBir commented Feb 17, 2026

Summary

Dependency

Requires toolkit PR: microsoft/security-devops-actions-toolkit#23
(The toolkit must respect MSDO_BREAK to skip --not-break-on-detections)

Usage

- uses: microsoft/security-devops-action@main
  with:
    break-on-detections: true

Backward compatible

Default is false — no behavior change unless user explicitly opts in.

Test plan

  • Default (false): no change in behavior
  • Enabled (true): MSDO_BREAK=true set, toolkit skips --not-break-on-detections
  • Works with existing inputs (tools, categories, etc.)

ADO: AB#36807380

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Impossible to break the build - not-break-on-detections flag is forcebly added on scan run

1 participant