Interview Prep/DevSecOps/Certificates, TLS and security incident response

A new critical zero-day in a popular Java library is announced. Leadership wants to know within an hour which running services are affected

IntermediateTroubleshootingCertificates, TLS and security incident response
Answer

Likely causes → Not a failure yet. The difficulty is having no queryable inventory of what runs where.

Diagnose → Query what you already have:

# SBOMs stored per image digest (Dependency-Track, GUAC, or S3 + jq)
grype sbom:./sboms/api.cdx.json | grep -i <library>
# Live cluster inventory
kubectl get pods -A -o jsonpath='{range .items[*]}{.status.containerStatuses[*].imageID}{"\n"}{end}' | sort -u > running.txt
trivy k8s --report summary --scanners vuln

Map running digests to SBOMs, and check shaded or fat JARs, which name-based scanning can miss.

Fix → Prioritise internet-facing services. Apply mitigations (WAF rules, config flags, removing the vulnerable class), then roll out patched builds.

Prevent → Generate SBOMs at build time, store them by digest, and keep a continuously updated runtime inventory. This drill should take minutes, not days.

All DevSecOps questions

More on Certificates, TLS and security incident response