mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
Show the number of vulnerabilities reported by debsecan for freedombox package and for managed_packages of each installed app. Essential apps are not included in the list. Also note that dependencies of the managed_packages are not included yet. The purpose of this information is to help users decide which apps to use, and what level of personal information to store in each app. Closes #1609. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil@medhas.org Show essential apps too] [sunil@medhas.org Fix HTML tags] [sunil@medhas.org Use setup_helper to get the installed state of an app] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
55 lines
1.6 KiB
HTML
55 lines
1.6 KiB
HTML
{% extends "app.html" %}
|
|
{% comment %}
|
|
#
|
|
# This file is part of FreedomBox.
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as
|
|
# published by the Free Software Foundation, either version 3 of the
|
|
# License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
{% endcomment %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
{% block status %}
|
|
<h3>{% trans "Status" %}</h3>
|
|
<p>
|
|
{% blocktrans trimmed with count=freedombox_vulns.count %}
|
|
The installed version of FreedomBox has {{ count }} reported security
|
|
vulnerabilities.
|
|
{% endblocktrans %}
|
|
</p>
|
|
<p>
|
|
{% blocktrans trimmed %}
|
|
The following table lists the reported number of security vulnerabilities
|
|
for each installed app.
|
|
{% endblocktrans %}
|
|
</p>
|
|
<table class="table table-bordered table-condensed table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans "App Name" %}</th>
|
|
<th>{% trans "Vulnerabilities Reported" %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for app in apps_vulns %}
|
|
<tr>
|
|
<td>{{ app.name }}</td>
|
|
<td>{{ app.count }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|