diff --git a/.github/ISSUE_TEMPLATE/trivy-results.tpl b/.github/ISSUE_TEMPLATE/trivy-results.tpl index 52b524b..f68e2ec 100644 --- a/.github/ISSUE_TEMPLATE/trivy-results.tpl +++ b/.github/ISSUE_TEMPLATE/trivy-results.tpl @@ -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 }}
{{- end -}} +| {{ .PrimaryURL -}} | {{- end }}