mirror of
https://github.com/genuinetools/reg.git
synced 2024-07-02 11:54:15 -04:00
21 lines
487 B
Plaintext
21 lines
487 B
Plaintext
|
CVE Report for {{.Repo}}:{{.Tag}}
|
||
|
Generated on: {{.Date}}
|
||
|
|
||
|
Vulnerabilities Found: {{len .Vulns}}
|
||
|
|
||
|
{{range $key, $value := .VulnsBySeverity}}
|
||
|
{{$key}}: {{len $value}}
|
||
|
{{end}}
|
||
|
|
||
|
{{if gt .BadVulns 10}}
|
||
|
----------------- ALERT -----------------
|
||
|
{{.BadVulns}} High, Critical, and/or Defcon1 vulnerabilities found
|
||
|
{{end}}
|
||
|
|
||
|
{{range $key, $value := .VulnsBySeverity}}
|
||
|
{{$value.Name}}: [{{$value.Severity}}]
|
||
|
{{$value.Description}}
|
||
|
{{$value.Link}}
|
||
|
-----------------------------------------
|
||
|
{{end}}
|