2015-03-20 21:46:02 +00:00
|
|
|
<div class="resource-view image-view"
|
|
|
|
resources="[repositoryResource, imageResource]"
|
|
|
|
error-message="'Image not found'">
|
|
|
|
<div class="page-content">
|
|
|
|
<div class="cor-title">
|
|
|
|
<span class="cor-title-link">
|
|
|
|
<a class="back-link" href="/repository/{{ repository.namespace }}/{{ repository.name }}?tab=tags">
|
|
|
|
<i class="fa fa-hdd-o" style="margin-right: 4px"></i>
|
|
|
|
{{ repository.namespace }}/{{ repository.name }}
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
<span class="cor-title-content">
|
2015-03-23 19:22:22 +00:00
|
|
|
<i class="fa fa-archive fa-lg" style="margin-right: 10px"></i>
|
2015-03-20 21:46:02 +00:00
|
|
|
{{ image.id.substr(0, 12) }}
|
|
|
|
</span>
|
2013-12-18 03:56:28 +00:00
|
|
|
</div>
|
2013-10-19 02:28:46 +00:00
|
|
|
|
2013-10-19 23:46:30 +00:00
|
|
|
|
2015-03-23 19:22:22 +00:00
|
|
|
<div class="cor-tab-panel">
|
|
|
|
<div class="cor-tabs">
|
|
|
|
<span class="cor-tab" tab-active="true" tab-title="Layers" tab-target="#layers">
|
|
|
|
<i class="fa ci-layers"></i>
|
|
|
|
</span>
|
2016-02-17 19:50:37 +00:00
|
|
|
<span class="cor-tab" tab-title="Security Scan" tab-target="#vulnerabilities"
|
|
|
|
tab-init="loadImageSecurity()"
|
2015-11-11 20:52:30 +00:00
|
|
|
quay-show="Features.SECURITY_SCANNER">
|
|
|
|
<i class="fa fa-bug"></i>
|
|
|
|
</span>
|
2015-10-28 19:38:55 +00:00
|
|
|
<span class="cor-tab" tab-title="Packages" tab-target="#packages"
|
2016-02-17 19:50:37 +00:00
|
|
|
tab-init="loadImageSecurity()"
|
2015-11-11 20:52:30 +00:00
|
|
|
quay-show="Features.SECURITY_SCANNER">
|
2015-10-28 19:38:55 +00:00
|
|
|
<i class="fa ci-package"></i>
|
|
|
|
</span>
|
2015-03-23 19:22:22 +00:00
|
|
|
</div> <!-- /cor-tabs -->
|
|
|
|
|
|
|
|
<div class="cor-tab-content">
|
|
|
|
<!-- Layers -->
|
|
|
|
<div id="layers" class="tab-pane active">
|
|
|
|
<h3>Image Layers</h3>
|
|
|
|
<div class="image-view-layer" repository="repository" image="image" images="image.history"></div>
|
|
|
|
<div class="image-view-layer" repository="repository" image="parent" images="image.history"
|
|
|
|
ng-repeat="parent in reversedHistory"></div>
|
|
|
|
</div>
|
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<!-- Vulnerabilities -->
|
|
|
|
<div id="vulnerabilities" class="tab-pane" quay-require="['SECURITY_SCANNER']">
|
|
|
|
<div class="resource-view" resource="securityResource" error-message="'Could not load security information for image'">
|
2015-11-12 20:42:45 +00:00
|
|
|
<div class="col-md-9">
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="filter-box floating" collection="securityVulnerabilities" filter-model="options.vulnFilter" filter-name="Vulnerabilities" ng-if="securityStatus == 'scanned' && securityVulnerabilities.length"></div>
|
2015-11-11 20:52:30 +00:00
|
|
|
|
2015-11-12 20:42:45 +00:00
|
|
|
<h3>Image Security</h3>
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="empty" ng-if="securityStatus == 'queued'">
|
2015-11-12 20:42:45 +00:00
|
|
|
<div class="empty-primary-msg">This image has not been indexed yet</div>
|
|
|
|
<div class="empty-secondary-msg">
|
|
|
|
Please try again in a few minutes.
|
|
|
|
</div>
|
2015-11-11 20:52:30 +00:00
|
|
|
</div>
|
2015-11-12 20:42:45 +00:00
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="empty" ng-if="securityStatus == 'failed'">
|
2015-11-12 20:42:45 +00:00
|
|
|
<div class="empty-primary-msg">This image could not be indexed</div>
|
|
|
|
<div class="empty-secondary-msg">
|
|
|
|
Our security scanner was unable to index this image.
|
|
|
|
</div>
|
2015-11-11 20:52:30 +00:00
|
|
|
</div>
|
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="empty" ng-if="securityStatus == 'scanned' && !securityVulnerabilities.length">
|
2015-11-12 20:42:45 +00:00
|
|
|
<div class="empty-primary-msg">This image contains no recognized security vulnerabilities</div>
|
2015-11-11 20:52:30 +00:00
|
|
|
<div class="empty-secondary-msg">
|
2016-02-17 19:50:37 +00:00
|
|
|
Quay currently indexes Debian, Red Hat and Ubuntu based images.
|
2015-11-11 20:52:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-12 20:42:45 +00:00
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<div ng-if="securityStatus == 'scanned' && securityVulnerabilities.length">
|
2015-11-12 20:42:45 +00:00
|
|
|
<table class="co-table">
|
|
|
|
<thead>
|
|
|
|
<td style="width: 200px;">Vulnerability</td>
|
|
|
|
<td style="width: 200px;">Priority</td>
|
2016-02-17 19:50:37 +00:00
|
|
|
<td style="width: 200px;">Introduced by</td>
|
|
|
|
<td style="width: 200px;">Fixed by</td>
|
2015-11-12 20:42:45 +00:00
|
|
|
<td>Description</td>
|
|
|
|
</thead>
|
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<tr ng-repeat="vulnerability in securityVulnerabilities | filter:options.vulnFilter | orderBy:'index'">
|
|
|
|
<td><a href="{{ vulnerability.link }}" target="_blank">{{ vulnerability.name }}</a></td>
|
2015-11-12 20:42:45 +00:00
|
|
|
<td>
|
2016-02-17 19:50:37 +00:00
|
|
|
<span class="vulnerability-priority-view" priority="vulnerability.severity"></span>
|
|
|
|
</td>
|
|
|
|
<td>{{ vulnerability.feature.name }} {{ vulnerability.feature.version }}</td>
|
|
|
|
<td>
|
|
|
|
<span ng-if="vulnerability.fixedBy">{{ vulnerability.feature.name }} {{ vulnerability.fixedBy }}</span>
|
|
|
|
</td>
|
|
|
|
<td>{{ vulnerability.description }}</td>
|
2015-11-12 20:42:45 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="empty" ng-if="(securityVulnerabilities | filter:options.vulnFilter).length == 0"
|
2015-11-12 20:42:45 +00:00
|
|
|
style="margin-top: 20px;">
|
|
|
|
<div class="empty-primary-msg">No matching vulnerabilities found</div>
|
|
|
|
<div class="empty-secondary-msg">
|
|
|
|
Please adjust your filter above.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="level-col col-md-3 hidden-sm hidden-xs">
|
|
|
|
<h4>Priority Guide</h4>
|
|
|
|
<ul class="levels">
|
|
|
|
<li ng-repeat="level in VulnerabilityLevels | orderBy: 'index'">
|
|
|
|
<div class="vulnerability-priority-view" priority="level.title"></div>
|
|
|
|
<div class="description">
|
|
|
|
{{ level.description }}
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2015-11-11 20:52:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<!-- Features -->
|
2015-11-11 20:52:30 +00:00
|
|
|
<div id="packages" class="tab-pane" quay-require="['SECURITY_SCANNER']">
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="resource-view" resource="securityResource" error-message="'Could not load image packages'">
|
|
|
|
<div class="filter-box floating" collection="securityFeatures" filter-model="options.packageFilter" filter-name="Features" ng-if="securityStatus == 'scanned' && securityFeatures.length"></div>
|
2015-11-11 20:52:30 +00:00
|
|
|
|
2015-10-28 19:38:55 +00:00
|
|
|
<h3>Image Packages</h3>
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="empty" ng-if="securityStatus == 'queued'">
|
2015-10-28 19:38:55 +00:00
|
|
|
<div class="empty-primary-msg">This image has not been indexed yet</div>
|
|
|
|
<div class="empty-secondary-msg">
|
|
|
|
Please try again in a few minutes.
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-12 20:42:45 +00:00
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="empty" ng-if="securityStatus == 'failed'">
|
2015-11-12 20:42:45 +00:00
|
|
|
<div class="empty-primary-msg">This image could not be indexed</div>
|
2015-10-28 19:38:55 +00:00
|
|
|
<div class="empty-secondary-msg">
|
2015-11-12 20:42:45 +00:00
|
|
|
Our security scanner was unable to index this image.
|
2015-10-28 19:38:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<table class="co-table" ng-if="securityStatus == 'scanned'">
|
2015-10-28 19:38:55 +00:00
|
|
|
<thead>
|
2015-11-11 20:52:30 +00:00
|
|
|
<td>Package Name</td>
|
|
|
|
<td>Package Version</td>
|
2016-02-17 19:50:37 +00:00
|
|
|
<td>Package OS</td>
|
|
|
|
<td>Number of vulnerabilities</td>
|
2015-10-28 19:38:55 +00:00
|
|
|
</thead>
|
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<tr ng-repeat="feature in securityFeatures | filter:options.packageFilter | orderBy:'Name'">
|
|
|
|
<td>{{ feature.name }}</td>
|
|
|
|
<td>{{ feature.version }}</td>
|
|
|
|
<td>{{ feature.namespace }}</td>
|
|
|
|
<td>{{ feature.vulnerabilities.length }}</td>
|
2015-10-28 19:38:55 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
2015-11-11 20:52:30 +00:00
|
|
|
|
2016-02-17 19:50:37 +00:00
|
|
|
<div class="empty" ng-if="(securityFeatures | filter:options.packageFilter).length == 0"
|
2015-11-11 20:52:30 +00:00
|
|
|
style="margin-top: 20px;">
|
|
|
|
<div class="empty-primary-msg">No matching packages found</div>
|
2015-11-12 20:42:45 +00:00
|
|
|
<div class="empty-secondary-msg" ng-if="options.packageFilter">
|
2015-11-11 20:52:30 +00:00
|
|
|
Please adjust your filter above.
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-10-28 19:38:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-23 19:22:22 +00:00
|
|
|
</div>
|
2014-11-24 21:07:38 +00:00
|
|
|
</div>
|
2013-10-19 02:28:46 +00:00
|
|
|
</div>
|
2015-03-30 21:55:04 +00:00
|
|
|
</div>
|