Skip to content

Commit e2c7bb8

Browse files
authored
Fix EPSS measure labels for consistency (#72)
Rename "Moderate" to "Medium" and "Not available" to "Not found" to align EPSSMeasure labels with established naming conventions.
1 parent 5d81de5 commit e2c7bb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/moderne/devcenter/DependencyVulnerabilityCheck.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,9 @@ public static SeverityMeasure ofSeverity(String severity) {
219219
public enum EPSSMeasure implements DevCenterMeasure {
220220
Critical("Critical", ">50%"),
221221
High("High", "10-50%"),
222-
Medium("Moderate", "1-10%"),
222+
Medium("Medium", "1-10%"),
223223
Low("Low", "<1%"),
224-
NotFound("Not available", "No EPSS score available");
224+
NotFound("Not found", "No EPSS score available");
225225

226226
private final String name;
227227
private final String description;

0 commit comments

Comments
 (0)