-
Notifications
You must be signed in to change notification settings - Fork 5
/
advisories.html
60 lines (52 loc) · 1.8 KB
/
advisories.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
layout: default
---
<h1>Security Advisories</h1>
As part of the Security Community, we actively support vulnerability research. Here you can find information about discovered vulnerabilities:
<!--
Lists the vulnerabilities retrieved from:
- posts (needed values: vulnerability_release_date, affected_product, cwes)
-->
{% assign vul_data = site.posts %}
{% assign sorted_vuls = vul_data | sort: 'vulnerability_release_date' | reverse %}
{% assign lastyear = "" %}
{% for vul in sorted_vuls %}
{% if vul.vulnerability_release_date != nil %}
{% assign currentyear = vul.vulnerability_release_date | date:"%Y" %}
{% if lastyear != currentyear %}
{% if lastyear != "" %}
</table>
{% endif %}
<h4> {{ currentyear }} </h4>
<table width="100%">
<tr>
<th>Date</th>
<th>Product</th>
<th>Vulnerabilty Type</th>
<th>Details</th>
</tr>
{% endif %}
<tr>
<td width="10%">
{{ vul.vulnerability_release_date | date:"%m/%Y" }}
</td>
<td width="40%">
{{ vul.affected_product }}
</td>
<td width="40%">
{% assign cwe_info = vul.cwes | join: ", " | replace: '-', '‑' %}
{{ cwe_info }}
</td>
<td width="10%">
{% assign spost = vul.url | strip %}
{% if spost != "" %}
<a href="{{ vul.url }}" />Post</a>
{% else %}
Upcoming
{% endif %}
</td>
</tr>
{% assign lastyear = currentyear %}
{% endif %}
{% endfor %}
</table>