Skip to content

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

Open
jstevens176 wants to merge 2 commits intoEricsson:masterfrom
jstevens176:sarif-bug-paths
Open

[feat][report-converter][fix][server] Add support for bug path arrows into sarif parser.#4401
jstevens176 wants to merge 2 commits intoEricsson:masterfrom
jstevens176:sarif-bug-paths

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.
@dkrupp dkrupp added this to the release 6.26.0 milestone Jan 24, 2025
@bruntib bruntib modified the milestones: release 6.26.0, release 6.27.0 Jun 4, 2025
@jstevens176
Copy link
Author

Hi @bruntib I note that you moved this PR from release 26 to release 27. Is there anything you need from me prior to its inclusion?

@dkrupp dkrupp modified the milestones: release 6.27.0, release 6.28.0 Nov 27, 2025
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.

4 participants