Skip to content

Commit

Permalink
add small script for counting vulnerability severities
Browse files Browse the repository at this point in the history
  • Loading branch information
srmish-jfrog committed Sep 20, 2022
1 parent 987e91e commit 5c51c1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vuln_severity_count.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

echo Low: $(grep -l 'severity: low' vulnerabilities/*.md | wc -l)
echo Medium: $(grep -l 'severity: medium' vulnerabilities/*.md | wc -l)
echo High: $(grep -l 'severity: high' vulnerabilities/*.md | wc -l)
echo Critical: $(grep -l 'severity: critical' vulnerabilities/*.md | wc -l)

0 comments on commit 5c51c1e

Please sign in to comment.