Change security scanner column to be more informative
This commit is contained in:
parent
9297373bd6
commit
685bdf6814
6 changed files with 29 additions and 20 deletions
|
@ -230,6 +230,7 @@ angular.module('quay').directive('repoPanelTags', function () {
|
|||
imageData.vulnerabilities = vulnerabilities;
|
||||
imageData.highestVulnerability = highest;
|
||||
imageData.featuresInfo = VulnerabilityService.buildFeaturesInfo(null, resp);
|
||||
imageData.vulnerabilitiesInfo = VulnerabilityService.buildVulnerabilitiesInfo(null, resp);
|
||||
}
|
||||
}, function() {
|
||||
imageData.loading = false;
|
||||
|
|
|
@ -13,10 +13,10 @@ angular.module('quay').directive('imageVulnerabilityView', function () {
|
|||
'image': '=image',
|
||||
'isEnabled': '=isEnabled'
|
||||
},
|
||||
controller: function($scope, $element, Config, ApiService, VulnerabilityService, ViewArray, ImageMetadataService, TableService) {
|
||||
controller: function($scope, $element, $routeParams, Config, ApiService, VulnerabilityService, ViewArray, ImageMetadataService, TableService) {
|
||||
$scope.options = {
|
||||
'filter': null,
|
||||
'fixableVulns': false,
|
||||
'fixableVulns': $routeParams['fixable'] == 'true',
|
||||
'predicate': 'score',
|
||||
'reverse': false,
|
||||
};
|
||||
|
|
|
@ -9,7 +9,8 @@ angular.module('quay').directive('vulnerabilityPriorityView', function () {
|
|||
transclude: true,
|
||||
restrict: 'C',
|
||||
scope: {
|
||||
'priority': '=priority'
|
||||
'priority': '=priority',
|
||||
'hideIcon': '@hideIcon'
|
||||
},
|
||||
controller: function($scope, $element, VulnerabilityService) {
|
||||
$scope.color = '';
|
||||
|
|
Reference in a new issue