-
Notifications
You must be signed in to change notification settings - Fork 88
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
[SARIF Multitool] merge command generates SARIF with multiple runs #2488
Comments
@marmegh this is one of the issues that I saw when running the E2E pipeline. |
@yongyan-gh, this is one of the issues discussed today. |
There is a command argument sarif-sdk/src/Sarif.Multitool.Library/MergeOptions.cs Lines 33 to 37 in 698adb6
So I created the fix PR based on the assumption:
Please review detail fix in the PR. Thanks |
How to simulate:
Use the attached example.zip and execute the command:
sarif merge *.sarif --output-file merged.sarif --force
Current behavior:
The merged SARIF file creates one run with one rule for each distinct rules/results/tool you have in the SARIF.
Expected behavior:
The merged SARIF should contain:
The text was updated successfully, but these errors were encountered: