microsoft / security-devops-azdevops

Microsoft Security DevOps extension for Azure DevOps.
MIT License
60 stars 16 forks source link

Pipeline Run Successful But Results not Visible #60

Closed mlaraibkhan closed 11 months ago

mlaraibkhan commented 1 year ago

I ran this tool in my pipeline and have two methods to visualize results however none of them worked.

image image

image

Any suggestions?

chrisnielsen-MS commented 1 year ago

Hello @mlaraibkhan, thank you for raising this support issue. Unfortunately, the Scans tab is not owned by Defender for DevOps and is a Microsoft DevLabs product. Our recommendation is to follow up with the Microsoft DevLabs team by providing direct feedback via the Azure DevOps Marketplace here: https://marketplace.visualstudio.com/items?itemName=sariftools.scans&ssr=false#qna

chrisnielsen-MS commented 1 year ago

Hi @mlaraibkhan, Can you also confirm that the msdo.sarif file in your artifacts has any results in it? It may be that you are not seeing any results because the tools did not find any problems in your repositories.

mlaraibkhan commented 12 months ago

Hey,

I ran the test on a sample repository where I did find some issues, here's the sc, which indicates I have a few findings in msdo.sarif file.

image
cajohanikea commented 12 months ago

@chrisnielsen-MS I also have the same issue in one of our pipelines, the artifact uploaded includes the correct file but not visible. If I create a " - task: PublishBuildArtifacts@1" the file is visible in the Scans section.

chrisnielsen-MS commented 11 months ago

Thank you for confirming @mlaraibkhan and thank you for the suggestion @cajohanikea -- @mlaraibkhan can you try adding the publish task and see if it shows up for you? If that still doesn't do it, I think following up with the Microsoft DevLabs team via my earlier link will be the best path forward.