Skip to content

Commit d04fe12

Browse files
committed
Add @dw's jq magic filter to sort vulnmap
1 parent 20689d3 commit d04fe12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/sort_vuln_map.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jq '[(.[] | (. * {time: .cvedate | strptime("%m/%d/%Y") | strftime("%s") | tonumber}))] | sort_by(.time) | del(.[].time)' assets/vuln_map.json

0 commit comments

Comments
 (0)