-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
PMD sarif report preview unavailable #4522
Comments
Thank you for your reply. The full path of the file is And here are the sarif files. It looks like this is because MegaLinter's sarif report has the extra |
@xezzon Ok, so basically if we manage to remove the file:// , it should be ok ? :) |
Is it PMD that adds it? Is it supposed to be there in the sarif spec? |
I don't think PMD added it. You can tell this from the sarif report that was unzip from the attachment |
Before going too deep, did you try the beta version of megalinter? I know PMD has had a couple updates since |
@janderssonse I see you made the latest updates about SARIF post-processing, do you have some suggestions ? :) |
Sorry, I seem to have got one thing wrong. The sarif report for pmd-github-action does not contain |
But technically there's a way that you can specify (in sarif), the root to use for all the paths in the run (for a single tool). |
I'm not a sarif expert, if it's better to remove file:// everywhere that's not complicated to do with a regex in post processing :) |
The SARIF specification does not forbid |
Describe the bug
To Reproduce
Here is my configuration:
Expected behavior
Complies with pmd/pmd-github-action behaviour.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: