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.cjs
CHANGED
|
@@ -2633,7 +2633,7 @@ function calculateGrade(findings, _totalFiles) {
|
|
|
2633
2633
|
else if (medium >= 1) grade = capGrade("A");
|
|
2634
2634
|
let summary;
|
|
2635
2635
|
if (critical > 0) {
|
|
2636
|
-
summary = `${critical} critical ${critical === 1 ? "vulnerability" : "vulnerabilities"}
|
|
2636
|
+
summary = `${critical} critical ${critical === 1 ? "vulnerability requires" : "vulnerabilities require"} immediate attention.`;
|
|
2637
2637
|
} else if (high >= 3) {
|
|
2638
2638
|
summary = `${high} high-severity issues require urgent attention.`;
|
|
2639
2639
|
} else if (high > 0) {
|