trivy output does not match trivy@1 - Azure DevOps Pipeline
还没有人认领这个 Issue。
评估
调研方向
首先,使用 MicrosoftSecurityDevOps@1、trivy@1 和提供的 gdnconfig 路径复现 Ubuntu Azure DevOps 管道,然后比较两个任务的输出。调查配置路径为何会接收 -linux 后缀,以及结果为何不同;当行为得到解释或修正,并记录一个可正常工作的 Linux 代理示例时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Agent: Ubuntu latest, using Azure DevOps pipelines.
I have been running trivy side by side and found the results in MicrosoftSecurityDevOps@1 to be less than the output results running in trivy@1
The lack of working examples for MicrosoftSecurityDevOps@1 probably doesn't help - it takes me some time to figure out how to use the task and i cant get gdnconfig files to work.
I originally started with this config:
- job: microsoft_security_devops
continueOnError: false
steps:
- task: MicrosoftSecurityDevOps@1
displayName: 'Microsoft Security DevOps'
inputs:
command: 'run'
tools: terrascan, trivy
I then created a gdnconfig file and tried to use the
config: '$(System.DefaultWorkingDirectory)/workflows/templates/*.gdnconfig'
I tried loads of variances of the path but every single time it adds a postfix '-linux' to the file name. So the path would turn into:
config: '$(System.DefaultWorkingDirectory)/workflows/templates/*-linux.gdnconfig'
Anyway, the output for the results showed 0 for the MicrosoftSecurityDevOps@1 task and 5 (2 critical, 1 high, and 2 medium) using the trivy@1 task.
I have no confidence in what it showing me and the lack of decent examples and clear documentation is compounding the issue.
Any help appreciated - especially if anyone has got a working example of using trivy, with a gdnconfig file on a Linux agent. 😄
- 主要语言
- TypeScript
- 星标
- 86
- 派生
- 22
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 一周以上 新手友好度 35/100
microsoft/security-devops-azdevops#166 · 2 条评论 · 1 个 reaction ·
-
area:task area:tools status:team-review type:feature
microsoft/security-devops-azdevops#164 · 2 个 reaction · 已指派 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 小时 新手友好度 84/100
copse-dev/agent-pane#2953 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
calcite-components needs triage refactor
难度 2/5 1-3 小时 新手友好度 75/100
Esri/calcite-design-system#15203 ·