{{ define "vulns-section" }}
{{ if eq .VulnReason "ok" }} {{ template "vuln-details" .VulnData }} {{ else if eq .VulnReason "hold-unreachable" }}
{{ icon "wifi-off" "size-4 shrink-0" }}

We couldn't reach the hold

Scan data is stored on the hold. It may be offline or unreachable right now.

{{ else if eq .VulnReason "not-applicable" }}

Vulnerability scanning isn't applied to this artifact type

ATCR's scanner only runs on container images. This artifact was intentionally skipped.

{{ else if eq .VulnReason "fetch-failed" }}

Scan data couldn't be loaded

The hold is reachable but didn't return scan results for this manifest. Try refreshing the page in a minute.

{{ else }}

No vulnerability scan available yet

Scans run automatically shortly after a push. Check back in a few minutes, or push a new tag to trigger a scan.

{{ end }}
{{ end }}