Pipeline Task Does Not Fail When a Security Tool Encounters a Run Error.
@jbrotsos がすでに取り組んでいます。
2026年3月2日 から。
評価
この issue はまだ評価されていません。
説明
When running MicrosoftSecurityDevOps@1 task in an Azure DevOps pipeline there is a misconception about the behavior of the break input .
This is seen when there is a failure in running a tool (e.g. Trivy ,Terrascan, ect. ). The expectation is that failures in security tools should cause the task to fail. However, when a tool encounters a configuration issue and fails to execute, the task logs errors but still returns a success status, continuing the pipeline execution.
##[error]Error running tool 1 of 2: trivy
##[error]Error running trivy job: 1 of 1
##[error]GuardianErrorExitCodeException: trivy completed with an Error exit code: 1. The tool did not complete successfully due to bad parameters or a scan error. Contact TrivySecSupport for assistance.
##[error]BreakException: Guardian detected one or more breaking results.
This behavior introduces a risk where security tools silently fail, potentially causing vulnerabilities to go undetected.
To avoid this one can use the break input , but the description in the documentation focuses on severity level results and does not specify task execution issues.
- task: MicrosoftSecurityDevOps@1
displayName: 'Microsoft Security DevOps'
# inputs:
# tools: string. Optional. A comma-separated list of analyzer tools to run. Values: 'bandit', 'binskim', 'checkov', 'eslint', 'templateanalyzer', 'terrascan', 'trivy'. Example 'templateanalyzer, trivy'
# break: boolean. Optional. If true, will fail this build step if any high severity level results are found. Default: false.
The MicrosoftSecurityDevOps@1 task should return error and fail if a tool that is trying to run fails to execute. Alternatively, an additional setting should be used to distinguish between: security issue (i.e., high severity findings) and task execution failure (e.g., misconfiguration or tool failure).
Please advise and do let me know if more information is needed .
- 主要言語
- TypeScript
- スター
- 86
- フォーク
- 22
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/security-devops-azdevops のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
-
area:task area:tools status:waiting-on-author type:docs type:question
microsoft/security-devops-azdevops#169 · コメント 1 件 · 担当者 1 名 ·
-
Which Defender CLI binary should be used in CI/CD pipelines — `aka.ms` or the DevOps CDN endpoint? オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/security-devops-azdevops#166 · コメント 2 件 · リアクション 1 件 ·
-
area:task area:tools status:team-review type:feature
microsoft/security-devops-azdevops#164 · リアクション 2 件 · 担当者 2 名 ·
-
area:task area:tools status:team-review type:docs type:feature
microsoft/security-devops-azdevops#163 · コメント 17 件 · 担当者 1 名 ·
microsoft/security-devops-azdevops の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area:tools bug good first issue help wanted priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
TaewoooPark/Motifcode#14 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
newrelic-experimental/preflight#793 · コメント 1 件 ·
-
bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BasedHardware/omi#15320 ·