-
Notifications
You must be signed in to change notification settings - Fork 4
/
markdown-template.txt
43 lines (28 loc) · 1.01 KB
/
markdown-template.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Security vulnerabilites in deployed Galasa
## Vulnerabilities
### Summary
{{range .CveSummary }}- [{{.Cve}}]({{.Link}}) - {{.Severity}} - {{if ( gt .Amount 1)}}{{.Amount}} projects{{else}}1 project{{end}}
{{end}}
{{range .CveStructs}}### {{.Cve}}
Severity: **{{.Severity}}**
{{if .ReviewDate}}Acceptance: To be reviewed {{.ReviewDate}}
{{end}}{{if .Comment}}Acceptance: {{.Comment}}
{{end}}[Link]({{.Link}})
Vulnerable artifacts:
{{range .VulnerableArtifacts}}{{.VulnName}}
Galasa Projects/Images directly affected:
{{range .Projects}}- {{.Name}}
{{ range .DependencyChain}} - {{.}}
{{end}}
{{end}}{{end}}
{{end}}
## Galasa Projects/Images
### Summary
{{range .ProjectSummary}}- {{.Project}} - {{.High}} High+{{if (gt .Other 0)}}, {{.Other}} Other{{end}}{{if (gt .Dependents 0)}}, {{.Dependents}} dependents{{end}}
{{end}}{{range .ProjectStructs}}
### {{.Name}}
{{range .Cves}}- {{.Cve}} - **{{.Severity}}**
{{range .VulnArtifacts}} - {{.Artifact}}
{{ range .DependencyChain}} - {{.}}
{{end}}
{{end}}{{end}}{{end}}