Skip to content

[BUG]: SARIF presentation on GH is broken (again) #604

@woodruffw

Description

@woodruffw

Pre-submission checks

  • I am not filing a feature request. These should be filed via the feature request form instead.
  • I have looked through the open issues for a duplicate report.

Expected behavior

SARIF should preview correctly on GitHub.

Actual behavior

Looks like this regressed again, because of some (otherwise good) changes to relative path handling.

In particular, it looks like GitHub's SARIF consumer can handle relative paths like foo/bar fine, but they don't currently handle ./foo/bar.

Consequently, findings get rendered without a correct preview:

Image

Reproduction steps

See above.

Logs


Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions