-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Devskim is only reporting errors with no severity #605
Comments
Sorry you're not seeing what you'd expect. Can you clarify which rule I particular you're getting findings for - and if you believe those findings are false positives? Or are you looking for more information on the rationale for the provided findings? I did a quick check locally and the level value of the sarif result object (which corresponds to the severity in sarif) is being set as far as I can tell. Though "critical" is not one of the values available for the level field - I believe devskim maps a 'critical' devskim severity to sarif 'error' level. |
From https://docs.github.com/en/code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts, it looks like findings can be either error/warning/note, but CodeQL findings can be critical/high/medium/low. I'm not sure if this is a hard restriction, worst case we might be able to add an indicator to the rule title -- e.g. "[high] A weak or broken hash algorithm was detected". |
@Sof0-0 Thanks for the screenshot that helps clarify what you're seeing. We currently only populate the It looks there is room for improvement here though, we could also populate the Precision is a easy mapping from the existing |
Thank you so much for this response! Can I ask what would be the approximate timeline of such fix so I can plan the solution accordingly? |
@Sof0-0 I expect I can release an update next week that will populate I don't an estimate at this time about when we could populate |
Devskim returned more than 300+ alerts and some of them are critical with weak hash type. Is it possible to display the CWE and severity level for it? Here is the configuration file I am using:

Thank you!
The text was updated successfully, but these errors were encountered: