parent
460ccf2dfd
commit
34a8090328
5 changed files with 5 additions and 5 deletions
|
@ -115,6 +115,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-feature-view-element .defcon1 {
|
.image-feature-view-element .defcon1 {
|
||||||
background-color: #FF8181;
|
background-color: #FB5151;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
|
@ -199,6 +199,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-vulnerability-view-element .defcon1 {
|
.image-vulnerability-view-element .defcon1 {
|
||||||
background-color: #FF8181;
|
background-color: #FB5151;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
|
@ -21,7 +21,7 @@
|
||||||
<div class="co-alert co-alert-danger" ng-if="hasDefcon1">
|
<div class="co-alert co-alert-danger" ng-if="hasDefcon1">
|
||||||
One or more of your tags has an <strong>extremely critical</strong> vulnerability which should be addressed immediately:
|
One or more of your tags has an <strong>extremely critical</strong> vulnerability which should be addressed immediately:
|
||||||
<a href="{{ vuln.Link }}" ng-repeat="(key, vuln) in defcon1" style="margin-left: 10px;" target="_blank">
|
<a href="{{ vuln.Link }}" ng-repeat="(key, vuln) in defcon1" style="margin-left: 10px;" target="_blank">
|
||||||
{{ vuln.ID }}
|
{{ vuln.Name }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -168,7 +168,7 @@ angular.module('quay').directive('repoPanelTags', function () {
|
||||||
|
|
||||||
VulnerabilityService.forEachVulnerability(resp, function(vuln) {
|
VulnerabilityService.forEachVulnerability(resp, function(vuln) {
|
||||||
if (VulnerabilityService.LEVELS[vuln.Severity].index == 0) {
|
if (VulnerabilityService.LEVELS[vuln.Severity].index == 0) {
|
||||||
$scope.defcon1[vuln.ID] = v;
|
$scope.defcon1[vuln.Name] = vuln;
|
||||||
$scope.hasDefcon1 = true;
|
$scope.hasDefcon1 = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ PRIORITY_LEVELS = {
|
||||||
'description': 'Critical is a world-burning problem, exploitable for nearly all people in ' +
|
'description': 'Critical is a world-burning problem, exploitable for nearly all people in ' +
|
||||||
'a installation of the package. Includes remote root privilege escalations, ' +
|
'a installation of the package. Includes remote root privilege escalations, ' +
|
||||||
'or massive data loss.',
|
'or massive data loss.',
|
||||||
'banner_required': True
|
'banner_required': False
|
||||||
},
|
},
|
||||||
|
|
||||||
'Defcon1': {
|
'Defcon1': {
|
||||||
|
|
Reference in a new issue