Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat][report-converter][fix][server] Add support for bug path arrows into sarif parser. #4401

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jstevens176
Copy link

The current status quo supports SARIF but doesn't allow you to use the "show arrows" feature within the report detail view. This PR extracts the relevant data from the SARIF files and provides the database the means to draw the arrows, making "show arrows" usable.

This exposed an issue with the current server ingest process, in that it assumes a certain format for the BugPath positions and event objects. This PR also adds a number of checks to correctly extract the data as required.

Joe Stevens and others added 2 commits December 9, 2024 09:50
sarif files contain all the information required to construct the arrows.
This commit extracts that information and uses it in the report.
…dded to the database

The current mass_store_run makes the assumption that the report object is well formed.
However with sarif support there are multiple valid formats, this commit protects against invalid formats.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants