{{ define "digest-content" }}

Layers ({{ len .Layers }})

{{ if .Layers }}
{{ range .Layers }} {{ end }}
Image layers
# Command Size
{{ .Index }} {{ if .Command }} {{ .Command }} {{ end }} {{ humanizeBytes .Size }}
{{ else }} {{ template "state-empty" (dict "Icon" "history" "Title" "No layer history" "Subtext" "This manifest has no layer history recorded." ) }} {{ end }}
{{ if .VulnData }} {{ template "vuln-details" .VulnData }} {{ else }} {{ template "state-empty" (dict "Icon" "shield-check" "Title" "No scan data yet" "Subtext" "The scanner hasn't reported results for this manifest." ) }} {{ end }}
{{ if .SbomData }} {{ template "sbom-details" .SbomData }} {{ else }}

No SBOM data available

{{ end }}
{{ end }}