microsoft / microsoft/AttackSurfaceAnalyzer

Sarif Report Doesn't Load Properly in VS Code

Open
#690 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
3k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

The VS Code Sarif Extension appears to have trouble with the ASA sarif format and doesn't display issues. Need to perhaps inspect the code and see if we are missing a property it is keying off of.

Workaround: Use SarifWebComponent (https://microsoft.github.io/sarif-web-component/).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem with an ASA SARIF report in the VS Code SARIF Extension, then inspect how ASA produces its SARIF format and which properties the extension uses to display issues. Compare the report with the extension's expected SARIF structure and verify that the resulting report displays findings correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.