feat(ci): generate correct md/html output from trivy (#1462)

* feat(ci): generate correct md/html output from trivy

* split css from trivy template

* remove code tags

* use plain md

* click to expand

* use tccr in security scan docs
This commit is contained in:
Kjeld Schouten-Lebbing
2021-12-04 14:25:20 +01:00
committed by GitHub
parent 52aecf1094
commit 1b6c21ca76
5 changed files with 1722 additions and 8 deletions
+26
View File
@@ -0,0 +1,26 @@
.severity {
text-align: center;
font-weight: bold;
color: #fafafa;
}
.severity-LOW .severity { background-color: #5fbb31; }
.severity-MEDIUM .severity { background-color: #e9c600; }
.severity-HIGH .severity { background-color: #ff8800; }
.severity-CRITICAL .severity { background-color: #e40000; }
.severity-UNKNOWN .severity { background-color: #747474; }
.severity-LOW { background-color: #5fbb3160; }
.severity-MEDIUM { background-color: #e9c60060; }
.severity-HIGH { background-color: #ff880060; }
.severity-CRITICAL { background-color: #e4000060; }
.severity-UNKNOWN { background-color: #74747460; }
table tr td:first-of-type {
font-weight: bold;
}
.links a,
.links[data-more-links=on] a {
display: block;
}
.links[data-more-links=off] a:nth-of-type(1n+5) {
display: none;
}
a.toggle-more-links { cursor: pointer; }