mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 11:46:20 -04:00
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
4d4e79fde5
commit
6d8d8821dd
1 changed files with 2 additions and 4 deletions
|
@ -5,12 +5,10 @@ Vulnerabilities Found: {{len .Vulns}}
|
||||||
|
|
||||||
{{range $key, $value := .VulnsBySeverity}}{{$key}}: {{len $value}}
|
{{range $key, $value := .VulnsBySeverity}}{{$key}}: {{len $value}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{if gt .BadVulns 5}}------------------------------------ ALERT ------------------------------------
|
||||||
{{if gt .BadVulns 10}}------------------------------------ ALERT ------------------------------------
|
|
||||||
{{.BadVulns}} High, Critical, and/or Defcon1 vulnerabilities found
|
{{.BadVulns}} High, Critical, and/or Defcon1 vulnerabilities found
|
||||||
|
|
||||||
{{end}}
|
{{end}}{{range $vulns := .VulnsBySeverity}}{{range $value := $vulns}}{{$value.Name}}: [{{$value.Severity}}]
|
||||||
{{range $vulns := .VulnsBySeverity}}{{range $value := $vulns}}{{$value.Name}}: [{{$value.Severity}}]
|
|
||||||
{{trim $value.Description}}
|
{{trim $value.Description}}
|
||||||
{{$value.Link}}
|
{{$value.Link}}
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue