From f10c5c9d2a6bc12a216ecd6814c9d1b2a825c6d6 Mon Sep 17 00:00:00 2001 From: Tiago Baptista <92083272+tiagobcx@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:32:53 +0100 Subject: [PATCH 1/2] Support for critical severity --- .../CheckmarxScanResultsAction/index.jelly | 42 ++++++++++++++----- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/src/main/resources/com/checkmarx/jenkins/CheckmarxScanResultsAction/index.jelly b/src/main/resources/com/checkmarx/jenkins/CheckmarxScanResultsAction/index.jelly index 67090a46..3d608cdf 100644 --- a/src/main/resources/com/checkmarx/jenkins/CheckmarxScanResultsAction/index.jelly +++ b/src/main/resources/com/checkmarx/jenkins/CheckmarxScanResultsAction/index.jelly @@ -131,6 +131,11 @@ width: 24.5%; } + .top-row .risk-level-tile.critical { + background-color: #C54A50; + color: #fcfdff; + } + .top-row .risk-level-tile.high { background: #f1605d; color: #fcfdff; @@ -206,6 +211,10 @@ width: 100%; } + .bar-chart .progress .progress-bar.bg-critical { + background-color: #C54A50 !important; + } + .bar-chart .progress .progress-bar.bg-danger { background-color: #f1605d !important; } @@ -252,6 +261,10 @@ padding-left: 5px; } + .severity-legend-dot.critical { + background-color: #C54A50; + } + .severity-engines-text, .severity-legend-text { float: left; @@ -377,6 +390,10 @@