{% extends 'ui/panels/_base.html' %} {% load i18n %} {% block panel_content %} {% with s=scope.summary %}
{% blocktrans %}What this assessment is about, read from the model as it is now. Rows marked new appeared after the assessment date: check whether the assessment still holds.{% endblocktrans %}
| {% trans "Flow" %} | {% trans "From" %} | {% if scope.kind == 'conduit' %}{% trans "To" %} | {% endif %}{% trans "Service" %} | {% trans "Access" %} | {% trans "Why it matters" %} | {% trans "Allowed" %} | {% trans "Expires" %} | {% if scope.kind == 'zone' %}{% trans "Conduit" %} | {% endif %}
|---|---|---|---|---|---|---|---|---|
| {{ f|linkify }}{% if row.new %} {% trans "new" %}{% endif %} | {{ f.source_zone|linkify }} | {% if scope.kind == 'conduit' %}{{ f.destination_zone|linkify }} | {% endif %}{{ f.get_protocol_display }} {{ f.ports_short }} | {% for value, label, color in f.get_access_display %}{% badge label bg_color=color %} {% empty %}{{ ''|placeholder }}{% endfor %} | {% if f.remote_access %}{% trans "remote access" %}{% endif %} {% if row.outside %}{% trans "from outside" %}{% endif %} {% if row.changes and row.into_control %}{% trans "changes the controllers" %}{% endif %} | {% badge f.get_allowed_display bg_color=f.get_allowed_color %} | {% if f.expires %}{{ f.expires|date:"Y-m-d" }}{% elif f.remote_access and f.allowed == 'yes' %}{% trans "none" %}{% else %}{{ ''|placeholder }}{% endif %} | {% if scope.kind == 'zone' %}{{ f.conduit|linkify|placeholder }} | {% endif %}
| {% trans "Asset" %} | {% trans "Role" %} | {% trans "Purdue level" %} | SL-C | {% trans "End of support" %} |
|---|---|---|---|---|
| {{ row.asset|linkify }}{% if row.new %} {% trans "new" %}{% endif %} | {{ row.role|placeholder }} | {% if row.level %}{% badge row.level_label bg_color=row.level_color %}{% else %}{{ ''|placeholder }}{% endif %} | {{ row.capability|placeholder }} | {% if row.end_of_support %}{% badge row.end_of_support.date|date:"Y-m-d" bg_color=row.end_of_support.color %}{% else %}{{ ''|placeholder }}{% endif %} |
| {% badge g.severity bg_color=g.color %} | {% if g.count == 1 %}{% with f=g.findings.0 %}{{ f.message }} ({{ f.obj|linkify }}){% endwith %} | {% else %}
{{ g.title }} {{ g.count }}
{% for f in g.shown %}{{ f.obj|linkify }}{% if not forloop.last %}, {% endif %}{% endfor %}{% if g.more %}, {% blocktrans with n=g.more %}and {{ n }} more{% endblocktrans %}{% endif %}
|
{% endif %}