forked from usnistgov/mobile-threat-catalogue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mtc-data.json
15 lines (15 loc) · 854 Bytes
/
mtc-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
---
{% assign documents = site.documents | where: 'merged', true %}
[{% for document in documents %}
{
"ThreatID": "{{ document.ID }}",
"ThreatCategory": "{{ document.ThreatCategory}}",
"Threat": "{{ document.Threat }}",
"ThreatOrigin": {% if document.ThreatOrigin %}{{ document.ThreatOrigin | jsonify }}{% else %}""{% endif %},
"ExploitExample": {% if document.ExploitExample %}{{ document.ExploitExample | jsonify }}{% else %}[]{% endif %},
"CVEExample": {% if document.CVEExample %}{{ document.CVEExample | jsonify }}{% else %}[]{% endif %},
"PossibleCountermeasures": [{% for countermeasure in document.PossibleCountermeasures %}
{{ countermeasure | jsonify }}{% unless forloop.last %},{% endunless %}{% endfor %}]
}{% unless forloop.last %},{% endunless %}
{% endfor %}]