Skip to content

Commit

Permalink
Bump scan warn colour
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Oct 26, 2024
1 parent e767c36 commit 705141f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ class ViewController {
return new Colour('#ffe4e2', '#e00404')
}
else if(hasMedium){
return new Colour('#f7dc6f', "#000000")
return new Colour('#fff8c5', "#000000")
}
return new Colour('#dff0d8', '#3c763d')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,10 +755,10 @@ class ViewControllerTest extends Specification {
where:
VULNERABILITIES | EXPEXTED_COLOR
[new ScanVulnerability(severity: 'LOW')] | new Colour('#dff0d8','#3c763d')
[new ScanVulnerability(severity: 'MEDIUM')] | new Colour('#f7dc6f','#000000')
[new ScanVulnerability(severity: 'MEDIUM')] | new Colour('#fff8c5','#000000')
[new ScanVulnerability(severity: 'HIGH')] | new Colour('#ffe4e2','#e00404')
[new ScanVulnerability(severity: 'CRITICAL')] | new Colour('#ffe4e2','#e00404')
[new ScanVulnerability(severity: 'LOW'), new ScanVulnerability(severity: 'MEDIUM')] | new Colour('#f7dc6f','#000000')
[new ScanVulnerability(severity: 'LOW'), new ScanVulnerability(severity: 'MEDIUM')] | new Colour('#fff8c5','#000000')
[new ScanVulnerability(severity: 'LOW'), new ScanVulnerability(severity: 'HIGH')] | new Colour('#ffe4e2','#e00404')
[new ScanVulnerability(severity: 'MEDIUM'), new ScanVulnerability(severity: 'CRITICAL')] | new Colour('#ffe4e2','#e00404')
[] | new Colour('#dff0d8','#3c763d')
Expand Down

0 comments on commit 705141f

Please sign in to comment.