Skip to content

Enable BinSkim build breaking in the official pipeline - #7722

Open
matouskozak wants to merge 1 commit into
mainfrom
matouskozak-security-gate-findings
Open

matouskozak wants to merge 1 commit into
mainfrom
matouskozak-security-gate-findings

Conversation

@matouskozak

@matouskozak matouskozak commented Sep 18, 2026

Copy link
Copy Markdown
Member

Summary

Set sdl.binskim.break: true in build/vsts-ci.yml so the official pipeline explicitly requests build failure for BinSkim findings that meet the configured policy threshold. Keep TSA enabled and leave the scan scope unchanged.

Note: this will not have the desired effect at the moment, not until we update the binskim baseline https://dev.azure.com/dnceng/internal/_build/results?buildId=3080307&view=results

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 18, 2026 12:47
@matouskozak matouskozak added the Security Issue related to security label Sep 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The scoped configuration change has no unresolved review comments.

Pull request overview

Enables BinSkim build breaking in the official pipeline while preserving TSA, auto-baselining, and scan scope.

Changes:

  • Sets sdl.binskim.break to true.
File summaries
File Description
build/vsts-ci.yml Enables BinSkim policy failures to break the build.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.88%. Comparing base (e4dff01) to head (8cbecb1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7722   +/-   ##
=======================================
  Coverage   69.88%   69.88%           
=======================================
  Files        1487     1487           
  Lines      276249   276249           
  Branches    28291    28291           
=======================================
+ Hits       193064   193069    +5     
+ Misses      75696    75690    -6     
- Partials     7489     7490    +1     
Flag Coverage Δ
Debug 69.88% <ø> (+<0.01%) ⬆️
production 64.07% <ø> (+<0.01%) ⬆️
test 89.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

Security Issue related to security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants