xploitscan-shared-rules 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2430,7 +2430,7 @@ function calculateGrade(findings, _totalFiles) {
|
|
|
2430
2430
|
else if (medium >= 1) grade = capGrade("A");
|
|
2431
2431
|
let summary;
|
|
2432
2432
|
if (critical > 0) {
|
|
2433
|
-
summary = `${critical} critical ${critical === 1 ? "vulnerability" : "vulnerabilities"}
|
|
2433
|
+
summary = `${critical} critical ${critical === 1 ? "vulnerability requires" : "vulnerabilities require"} immediate attention.`;
|
|
2434
2434
|
} else if (high >= 3) {
|
|
2435
2435
|
summary = `${high} high-severity issues require urgent attention.`;
|
|
2436
2436
|
} else if (high > 0) {
|