-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix severity lookup in Qualys parser (#10205)
* fix: fix severity lookup in Qualys parser Fixes a bug in the Qualys parser where the severity lookup was not correctly handling integer values. This caused incorrect severity values to be returned. The fix updates the severity lookup to convert the severity value to an integer before performing the lookup. * Add unittest for qualys parser get_severity * Add non-legacy severity parsing unittest * Fix severity lookup order: first 'SEVERITY' then fall back to 'CVSS_VALUE' * Remove fallback to cvss_value from 'severity' extraction
- Loading branch information
Showing
2 changed files
with
71 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters