2021-12-04 21:59:49 +00:00
|
|
|
{{- if . -}}
|
|
|
|
#### Chart Object: {{ escapeXML ( index . 0 ).Target }}
|
|
|
|
{{ range . }}
|
|
|
|
|
|
|
|
{{ if (eq (len .Misconfigurations) 0) }}
|
|
|
|
| No Misconfigurations found |
|
|
|
|
|:---------------------------------|
|
|
|
|
|
|
|
|
{{ else }}
|
2021-12-04 23:20:51 +00:00
|
|
|
| Type | Misconfiguration ID | Check | Severity | Explaination | Links |
|
|
|
|
|:----------------|:------------------:|:-----------:|:------------------:|-----------------------------------------|-----------------------------------------|
|
2021-12-04 21:59:49 +00:00
|
|
|
{{- range .Misconfigurations }}
|
2021-12-04 23:20:51 +00:00
|
|
|
| {{ escapeXML .Type }} | {{ escapeXML .ID }} | {{ escapeXML .Title }} | {{ escapeXML .Severity }} | <details><summary>Expand...</summary> {{ escapeXML .Description }} <br> <hr> <br> {{ escapeXML .Message }} </details>| <details><summary>Expand...</summary>{{ range .References }}<a href={{ escapeXML . | printf "%q" }}>{{ escapeXML . }}</a><br>{{ end }}</details> |
|
2021-12-04 21:59:49 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- else }}
|
|
|
|
|
|
|
|
| No Misconfigurations found |
|
|
|
|
|:---------------------------------|
|
|
|
|
{{- end }}
|