Skip to content

Commit

Permalink
fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
R-HNF committed Oct 30, 2023
1 parent 83f321c commit ab8f154
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/trivy-results.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
{{- range . -}}
## {{ .Target }}

### {{ .Type }}
### {{ .Type }} [{{ .Class }}]

{{ if .Vulnerabilities -}}
| Title | Severity | CVE | Package Name | Installed Version | Fixed Version | References |
| Title | Severity | CVE | Package Name | Installed Version | Fixed Version | PrimaryURL |
| :--: | :--: | :--: | :--: | :--: | :--: | :-- |
{{- range .Vulnerabilities }}
| {{ .Title -}}
| {{ get $d .Vulnerability.Severity }}{{ .Vulnerability.Severity -}}
| {{ get $d .Severity }}{{ .Severity -}}
| {{ .VulnerabilityID -}}
| {{ .PkgName -}}
| {{ .InstalledVersion -}}
| {{ .FixedVersion -}}
| {{ range $ref := .Vulnerability.References -}}- {{ $ref }}<br>{{- end -}}
| {{ .PrimaryURL -}}
|
{{- end }}

Expand Down

0 comments on commit ab8f154

Please sign in to comment.