Debian Codegraph @

plinth/modules/security/templates/security_report.html

raw
1 {% extends "base.html" %}
2 {% comment %}
3 # SPDX-License-Identifier: AGPL-3.0-or-later
4 {% endcomment %}
5
6 {% load bootstrap %}
7 {% load i18n %}
8
9 {% block content %}
10 <h3>{% trans "Security Report" %}</h3>
11 <p>
12 {% blocktrans trimmed with count=freedombox_report.vulns %}
13 There are {{ count }} reported security vulnerabilities in the FreedomBox
14 app, which provides the core services and user interface for a FreedomBox
15 server.
16 {% endblocktrans %}
17 </p>
18 <p>
19 {% blocktrans trimmed %}
20 The following table lists the current reported number of
21 security vulnerabilities for each installed app. More
22 information on the vulnerabilities can be found on the
23 <a href="https://security-tracker.debian.org/tracker/">Debian
24 Security Bug Tracker</a>.
25 {% endblocktrans %}
26 </p>
27 <p>
28 {% blocktrans trimmed %}
29 For apps that provide services, the "Sandboxed" column shows whether
30 sandboxing features are in use. Sandboxing mitigates the impact of a
31 potentially compromised app to the rest of the system.
32 {% endblocktrans %}
33 </p>
34 <p>
35 {% blocktrans trimmed %}
36 "Sandbox Coverage" is a score of how effectively the service is isolated
37 from the rest of the system. It is only displayed while the service is
38 running.
39 {% endblocktrans %}
40 </p>
41 <div class="table-responsive">
42 <table class="table">
43 <thead>
44 <tr>
45 <th>{% trans "App Name" %}</th>
46 <th>{% trans "Current Vulnerabilities" %}</th>
47 <th>{% trans "Sandboxed" %}</th>
48 <th>{% trans "Sandbox Coverage" %}</th>
49 </tr>
50 </thead>
51 <tbody>
52 {% for app in apps_report %}
53 <tr>
54 <td>{{ app.name }}</td>
55 <td>{{ app.vulns }}</td>
56 <td>
57 {% if app.sandboxed is None %}
58 {% trans "N/A" %}
59 {% elif app.sandboxed %}
60 {% trans "Yes" %}
61 {% else %}
62 {% trans "No" %}
63 {% endif %}
64 </td>
65 <td>
66 {% if app.sandbox_coverage %}
67 {{ app.sandbox_coverage }}%
68 {% elif app.sandboxed %}
69 {% trans "Not running" %}
70 {% endif %}
71 </td>
72 </tr>
73 {% endfor %}
74 </tbody>
75 </table>
76 </div>
77 {% endblock %}