{%- extends "base.html" -%}
{%- from "_formhelpers.html" import nullable_value, colorize_severity, colorize_status, colorize_remote, colorize_unknown, bug_ticket -%}
{% block content %}
{{ group.name }}
{%- if can_watch_log %} log{% endif %}
{%- if can_edit %} edit{% endif %}
{%- if can_edit %} copy{% endif %}
{%- if can_delete %} delete{% endif %}
| Package |
{%- for pkg in packages %}
{{ pkg.pkgname }}{% if not loop.last %}, {% endif %}
{%- endfor %}
|
| Status |
{{ colorize_status(group.status) }} |
| Severity |
{{ colorize_severity(group.severity) }} |
| Type |
{{ issue_type }} |
| Affected |
{{ group.affected }} |
| Fixed |
{% if group.fixed %}{{ group.fixed }}{% elif group.status != Status.not_affected %}{{ colorize_unknown('Unknown') }}{% else %}{{ Status.not_affected.label }}{% endif %} |
| Current |
{% if not versions -%}
Removed |
{%- else -%}
{%- for version in versions %}
{{ version.version }} [{{ version.database }}]{% if not loop.last %} {% endif %}
{%- endfor %}
|
{%- endif %}
| Ticket |
{%- if group.bug_ticket %}
{{ bug_ticket(group.bug_ticket) }} |
{%- elif group.status == "Vulnerable" %}
Create |
{%- else %}
None |
{%- endif %}
| Created |
{{ group.created.strftime('%c') }} |
{%- if advisories_pending %}
| Advisory |
{%- if can_handle_advisory %}
|
{%- else %}
Pending |
{%- endif %}
{%- endif %}
| Issue |
Severity |
Remote |
Type |
Description |
{%- for cve in issues %}
| {{ cve.id }} |
{{ colorize_severity(cve.severity) }} |
{{ colorize_remote(cve.remote) }} |
{{ colorize_unknown(cve.issue_type|capitalize) }} |
{% if cve.description %}{{ cve.description|wordwrap(70, wrapstring=' ')|truncate(160) }}{% endif %} |
{%- endfor %}
{%- if advisories %}
{%- endif %}
{%- if group.reference %}
| References |
{{ group.reference|urlize }} |
{%- endif %}
{%- if group.notes %}
| Notes |
{{ group.notes|urlize }} |
{%- endif %}
{%- endblock %}