microsoft / microsoft/sarif-web-component

Never leave the file column empty

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

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
108
Forks
36
Avg merge
5d 15h
Merged PRs (30d)
3

Description

When the result location is at the root of the scan (for example, you scan everything under https://mySite, and you find a problem in the root URL https://mySite itself), then the viewer leaves the File column blank (because it always displays the result location relative to the root). Instead, it should display the root URL in that situation.

Contributor guide

No contributing guide indexed for this repository

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 locating the viewer code that renders the File column and reproduce a SARIF result whose location is the scan root. Confirm that the root URL is shown instead of an empty value, and check the surrounding viewer tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.