Course contents · Reconstruct the release and risk
- 1. Bind source, build and deployed workload evidenceFree
- 2. Reconcile exposure, identity and sensitive-data evidenceFree account
- 3. Correlate runtime observations and bound containmentPremium
- 4. Assess the release and verify repair across boundariesPremium
- 5. Transfer a CNAPP finding into an owned SOC casePremium
- 6. Approve a CNAPP containment handoff against current statePremium
- 7. Reconcile CNAPP repair, SOC closure and service recoveryPremium
Bind source, build and deployed workload evidence
Reconstruct a release through immutable artifact identity and workload lifetime. Reject a healthy assessment of a different artifact before using it to approve the running service.
30 MIN
By AISecurityInterviews · Updated
TL;DR: Reconstruct a release through immutable artifact identity and workload lifetime. Reject a healthy assessment of a different artifact before using it to approve the running service.
Where you are. Step 1 of 7: reconstruct the release and risk.
Reference and lab boundary: Kubernetes image and audit documentation, SLSA 1.2 provenance and cloud audit documentation, reviewed November 2026. All records, times and organizations below are fictional. Python exercises run offline without cloud credentials. No exploit, live workload, cloud change or product enforcement is executed.
Start with the deployment under investigation
Hearthstone Documents is a fictional document-processing service. Its release manager approved revision rev-41, and a build assessment passed. The platform team then replaced a worker using the same image tag. A CNAPP finding now refers to that worker. Before asking whether the release was safe, determine which artifact actually ran and which evidence belongs to it.
The protected asset is the customer document collection. Relevant boundaries include the repository changing a build input, the build service publishing an artifact, the registry resolving a reference and the orchestrator creating a workload. Each system has its own identifier. An application name shared across all four systems is useful for navigation but insufficient for a security conclusion.
Kubernetes image documentation distinguishes mutable tags from digests that identify image content. Record the deployed image identity alongside the assessment subject. A matching tag cannot establish matching bytes. For multi-platform images, preserve the relationship between the approved index and the actual platform manifest; comparing unrelated digest types without that relationship can produce a false mismatch.
Source
Reviewed revision
Build
Artifact and provenance
Assessment
Completed result
Workload
Actual deployment
Required evidence
Source
- Expected repository and inputs
Build
- Trusted producer; verified subject
Assessment
- Same artifact and policy scope
Workload
- UID, configuration and lifetime
Reconstruct the chain without trusting its labels
Request the source revision, build invocation, provenance statement, assessment subject, deployment revision, workload UID and observed image identity. Keep collection timestamps and the identity of the service that produced each record. SLSA provenance describes how artifact history can be represented. A statement's presence is not enough: an implementation must verify its authenticity and expected builder, inputs and subject under the organization's trust policy.
The following normalized records intentionally omit real digest encoding. They model the identity join only, not signature verification or a Kubernetes response schema. The permitted builder list and approved revision are external requirements; do not infer them from the statement being checked.
approval = {"revision": "rev-41", "artifact": "image-A"}
assessment = {"artifact": "image-A", "complete": True, "passed": True}
workload = {"uid": "worker-9", "artifact": "image-B", "started": 105}
def matches(approved, assessed, running):
return (approved["artifact"] == assessed["artifact"] == running["artifact"]
and assessed["complete"] and assessed["passed"])
print(matches(approval, assessment, workload)) # => False
The result withholds reuse of the assessment; it does not prove that image B is malicious. Determine whether the replacement was approved, obtain its provenance and request the appropriate assessment. Preserve the original release evidence because it still describes image A. Editing old records to make them match the new worker would destroy the history the investigation needs.
Account for configuration outside the image
Even a correct artifact join leaves other release changes unexamined. Workload identity bindings, environment configuration, mounted secrets, ingress policy and data permissions can change without rebuilding the image. Add a configuration revision and authority review to the release packet. Keep these checks separate so a clean image assessment cannot silently qualify an unrelated access expansion.
A rollout can contain old and new replicas simultaneously. Enumerate each active workload UID at the decision time, then associate it with the relevant assessment and configuration. If one replica is missing, report partial coverage instead of choosing the newest visible replica as representative. Record terminated workloads when reconstructing an earlier event; the current inventory alone cannot establish yesterday's population.
Do this before moving on
Produce a release ledger with one row per active workload and columns for approved revision, build identity, assessed artifact, deployed artifact, configuration revision and unresolved checks. Correct the fictional deployment to image A and rerun the example. Then change the assessment to incomplete: the decision must return false again. Explain which trust checks this small model does not perform, and name the record needed to review a configuration-only change.
Go deeper
-
Incident handling: Separate containment, recovery and unresolved historical evidence.
-
Build provenance: Review the trust policy behind source-to-artifact evidence.
-
CNAPP learning path: Choose a product branch and return here for the shared investigation.
-
Cloud estate course: Review inventory, identity and data boundaries before joining release evidence.
-
Cloud coverage acceptance: Practise explaining why an unobserved resource remains unresolved.
Key takeaways
- Join immutable subjects before reusing evidence.
- Verify provenance against an external trust policy.
- Include configuration and every relevant workload lifetime.
Check yourself
Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.
1A passed scan and the running container share a tag but have different artifact identities. What is supported?
2The image is unchanged but its service account gains document-read permission. What needs review?
Sign in to track which lessons you have finished.