Skip to content

Commit

Permalink
[WIP] Add CVE Information to template.go
Browse files Browse the repository at this point in the history
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
  • Loading branch information
puerco committed Jul 27, 2020
1 parent 9d54273 commit 43976ac
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pkg/notes/document/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@ filename | sha512 hash
{{- end -}}
# Changelog since {{$PreviousRevision}}
{{with .CVEList -}}
## Important Security Information
This release contains changes that address the following vulnerabilities:
{{range .}}
### {{.Title}}
{{.Description}}
__Rating:__ {{.Rating}} — __Score:__ {{.Score}} — __Published:__ {{.Published}}
{{if .LinkedPRs -}}
Pull Requests: {{range .LinkedPRs}}[#{{print .}}](https://github.com/kubernetes/kubernetes/issues/{{print .}}) {{end}}
{{ end -}}
{{ end }}
{{- end -}}
{{with .NotesWithActionRequired -}}
## Urgent Upgrade Notes
Expand Down

0 comments on commit 43976ac

Please sign in to comment.