-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Severity Label validation to All Vulns table (CRASM-822) (#720)
* Added Severity Label validation to All Vulns table - Ensured that null or empty string values are displayed as 'N/A' in the severity column of the All Vulns table. - Ensured that values of Other or any value that does not include 'Critical', 'High', 'Medium', or 'Low' are displayed as 'Other' in the severity column of the All Vulns table.. - Formatted the severity column of the All Vulns table to display the severity label in title case. - Updated the vulnerability search endpoint to return vulnerabilities with a severity of 'Other' if the severity is not 'Critical', 'High', 'Medium', or 'Low'. - Updated the vulnerability search endpoint to return vulnerabilities with a severity of 'N/A' if the severity is null or an empty string. - Updated the vulnerability search endpoint to return vulnerabilities regardless of the case of the severity value. * Resolved issue with frontend snapshot - Could be from the HTML encodings for the org search introduced in CRASM-746/PR #691 * Reverted edit to RegionAndOrganizationFilters.tsx - Added an if statement and a console.log to help troubleshoot a github actions issue. - This change was reverted because it was erroneously included in the draft pull request. * Resolve fixes --------- Co-authored-by: Janson Bunce <janson.bunce@associates.cisa.dhs.gov>
- Loading branch information
1 parent
96a12ee
commit 36eb23c
Showing
4 changed files
with
69 additions
and
28 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
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