You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, Azure DevOps recommends Pipeline Artifacts over Build Artifacts (see the disclaimer at the top of the Build Artifacts docs), but currently, the SARIF SAST Scans Tab extension only supports CodeAnalysisLogs artifacts created as Build Artifacts. If you attempt to upload CodeAnalysisLogs as a pipeline artifact, the Scans tab will show that no SARIF file(s) were found, and its developer console output will show a 404 error.
Ideally, the extension would check for both build and pipeline artifacts using that name and load any matching artifacts from both locations.
Motivation
This appears to be a common source of confusion:
Our team has helped two other teams hitting this issue during recent office hours
Issue description
Azure DevOps build pipelines support two competing types of uploaded artifacts:
publish
task keyword in a pipeline yaml file)In general, Azure DevOps recommends Pipeline Artifacts over Build Artifacts (see the disclaimer at the top of the Build Artifacts docs), but currently, the SARIF SAST Scans Tab extension only supports
CodeAnalysisLogs
artifacts created as Build Artifacts. If you attempt to uploadCodeAnalysisLogs
as a pipeline artifact, the Scans tab will show that no SARIF file(s) were found, and its developer console output will show a 404 error.Ideally, the extension would check for both build and pipeline artifacts using that name and load any matching artifacts from both locations.
Motivation
This appears to be a common source of confusion:
The text was updated successfully, but these errors were encountered: