-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all risk score decimal places consistent (#198450)
## Summary This PR updates risk scores to use formatter to 2DP instead of basic Math.round for consistency and accuracy. ![image](https://github.com/user-attachments/assets/ede600ef-acd3-463b-8f0f-8f527271836e) ![image](https://github.com/user-attachments/assets/a49f2a01-e05a-4077-8397-cff18da7cfa5) ![image](https://github.com/user-attachments/assets/599d3bcb-118f-4e32-94e6-ff4aa0a60fa8) With reverted alert score, showing user and host risk scores still have formatting: ![image](https://github.com/user-attachments/assets/94cb4d9e-a468-4cb7-b162-74762b134436) (cherry picked from commit 4b6b1c3)
- Loading branch information
1 parent
b667b5a
commit 290d80e
Showing
5 changed files
with
10 additions
and
6 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
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