diff --git a/resources/v2/noIssues.png b/resources/v2/noIssues.png
new file mode 100755
index 000000000..73d5a4e77
Binary files /dev/null and b/resources/v2/noIssues.png differ
diff --git a/resources/v2/smallNoIssues.svg b/resources/v2/smallNoIssues.svg
new file mode 100644
index 000000000..76cc2e523
--- /dev/null
+++ b/resources/v2/smallNoIssues.svg
@@ -0,0 +1,4 @@
+
diff --git a/utils/outputwriter/icons.go b/utils/outputwriter/icons.go
index 49c341a0c..9e3b2ddd8 100644
--- a/utils/outputwriter/icons.go
+++ b/utils/outputwriter/icons.go
@@ -27,12 +27,14 @@ const (
notApplicableLowSeveritySource ImageSource = "v2/notApplicableLow.png"
unknownSeveritySource ImageSource = "v2/applicableUnknownSeverity.png"
notApplicableUnknownSeveritySource ImageSource = "v2/notApplicableUnknown.png"
+ noIssuesSource ImageSource = "v2/noIssues.png"
smallCriticalSeveritySource ImageSource = "v2/smallCritical.svg"
smallHighSeveritySource ImageSource = "v2/smallHigh.svg"
smallMediumSeveritySource ImageSource = "v2/smallMedium.svg"
smallLowSeveritySource ImageSource = "v2/smallLow.svg"
smallUnknownSeveritySource ImageSource = "v2/smallUnknown.svg"
+ smallNoIssuesSource ImageSource = "v2/smallNoIssues.svg"
)
func getSeverityTag(iconName IconName, applicability string) string {
@@ -56,6 +58,8 @@ func getNotApplicableIconTags(iconName IconName) string {
return GetIconTag(notApplicableMediumSeveritySource, "medium (not applicable)") + "
"
case "low":
return GetIconTag(notApplicableLowSeveritySource, "low (not applicable)") + "
"
+ case "scanned - no issues":
+ return GetIconTag(noIssuesSource, "scanned - no issues found") + "
"
}
return GetIconTag(notApplicableUnknownSeveritySource, "unknown (not applicable)") + "
"
}
@@ -70,6 +74,8 @@ func getApplicableIconTags(iconName IconName) string {
return GetIconTag(mediumSeveritySource, "medium") + "
"
case "low":
return GetIconTag(lowSeveritySource, "low") + "
"
+ case "scanned - no issues":
+ return GetIconTag(noIssuesSource, "scanned - no issues found") + "
"
}
return GetIconTag(unknownSeveritySource, "unknown") + "
"
}
@@ -84,6 +90,8 @@ func getSmallApplicableIconTags(iconName IconName) string {
return GetImgTag(smallMediumSeveritySource, "")
case "low":
return GetImgTag(smallLowSeveritySource, "")
+ case "scanned - no issues":
+ return GetImgTag(smallNoIssuesSource, "")
}
return GetImgTag(smallUnknownSeveritySource, "")
}