diff --git a/website/web/templates/recent.html b/website/web/templates/recent.html index 3e7f086..1f19d07 100644 --- a/website/web/templates/recent.html +++ b/website/web/templates/recent.html @@ -46,7 +46,7 @@

Recent vulnerabilities

Description Publish Date Update Date - {% elif source in ['jvndb', 'ossf_malicious_packages', 'pysec'] %} + {% elif source in ['jvndb', 'ossf_malicious_packages', 'pysec', 'github'] %} ID Description Publish Date @@ -116,14 +116,16 @@

Recent vulnerabilities

{{vuln_id}} (github) - {{ vuln['details'] }} + {% if 'summary' in vuln %}{{ vuln['summary'] }}{% else %}{{ vuln['details'] | truncate(100, True, end='...') }}{% endif %} + {{ vuln['published'] }} + {{ vuln['modified'] }} {% elif source == "pysec" %} {{vuln_id}} - {{ vuln['details'] | truncate(120, True, end='...') }} + {{ vuln['details'] | truncate(100, True, end='...') }} {{ vuln['published'] }} {{ vuln['modified'] }}