engineering

Verify the state of an artifact finding after rollback

Find out whether a production rollback restored an affected build. Tie vulnerability closure or reopening to the digest running after the rollback.

TrustIvan · · 10 min read

A worker rollout replaced an affected image and the security team verified that the fixed artifact was running. An unrelated error then led the on-call team to roll back. The incident dashboard says recovered, and the security finding still says resolved. Those labels can both be accurate for their original decisions and still leave the current workload state unknown. Verify what the rollback actually restored.

Preserve the earlier proof. It can be correct that a replacement removed the affected bytes at 14:00, and correct that an earlier image returned at 16:20. Record the runtime observation that establishes each state. Link a recurrence or scope-specific reopening without erasing the original remediation history.

Begin with the precise scope that was verified

Find the original finding, affected component and artifact observation. Record the fixed candidate, scan version and policy, plus the deployment evidence that led to the closure. Include platform, environment, workload, replicas or scheduled jobs where relevant. A closure can apply to one cluster and leave another pending. A finding in a source repository and the risk on a deployed artifact can also have different states.

Find the deployment change that initiated the rollback. Record the operator or automation actor, approved target revision, intended environment and time. Compare the rollback's scope with the finding's deployment scope. A traffic rollback may route requests to an earlier environment with no new container deployment. A chart rollback can change several workloads, and a single Deployment rollback can touch its own template. State which serving or execution path you intend to observe.

For example, Kubernetes documents that rolling a Deployment back to an earlier revision restores its Pod template and does not roll back unrelated properties. An external configuration change or a separate scheduled job can have its own history. Confirm the specific controller and deployment method before assuming the selected revision accounts for every affected component. Kubernetes Deployment rollback documentation.

Observe the runtime after the requested change

Verify intended and observed identity separately. Record what the rollout controller expects and which artifact is actually running for each in-scope cohort. Some workloads can have both old and new replicas until rollout completes. A pull error or scheduling limit can leave a planned rollback partially applied. Preserve the measurement time and the conditions that define a completed reconciliation.

Check digest semantics. The artifact evidence might identify a multi-platform index and the runtime might identify a child manifest or another runtime-specific identifier. Use approved metadata to confirm the relationship for the actual platform. A matching tag is not equivalent to a matching digest. Kubernetes documents that a tag can change the represented content, while digest references pin content. Kubernetes image references and pull behavior.

Include jobs, restore paths and independent deployments that still launch an earlier version. A security claim about what is running now differs from a claim about what the next scheduled job can select. Where policy includes both, keep current and future verification separate. If some regions, namespaces or platforms are unavailable to the observer, carry that as unknown and assign investigation. A healthy probe on the first region cannot prove the identity of workloads it does not reach.

Work through a synthetic rollback with several valid states

Use an approved staging workload and inert package metadata. The original image A31 contains codec 3.1 under this fictional policy, and the replacement A32 contains the acceptable codec 3.2. Initial closure records a matching scan and one verified deployment scope at 14:00. At 16:00, an unrelated problem prompts the operator to use rollback options that have different security states.

Scope in the fixtureRuntime evidence after the rollback requestFinding disposition
Region One online workerTwo of three replicas have returned to A31 and one still runs A32Reopen the proven affected cohort, keep rollout scope explicit
Region Two online workerAlternative rollback image A33 is observed with its matching clean scanPreserve verification for this separately proven alternative
Batch scheduled workerTemplate points to A31, but no execution has occurred during the observation windowRecord future execution path and verify according to the batch scope
Standby restore targetController reports an intended revision, no current authenticated observationMark unknown and assign a scoped check

Trigger the planned synthetic rollback in staging. Ask the reviewer to identify which artifacts are present and whether each supports the existing closure. Then temporarily delay one replacement so the room sees mixed observations. If a status flag remains closed merely because any fixed replica exists, the check is too broad for this scope. Record the numbers of affected, fixed and unresolved instances instead of collapsing them into one state.

Rerun the fixture with the alternative target A33. Show that restoring an earlier revision can preserve the security fix when the selected artifact independently has acceptable component evidence. Verify that A33's report covers the relevant platform and policy. Being newer than A31 is not the evidence. The relevant comparison is the observed content and the trusted result at that subject.

Confirm which facts require a fresh scan

An exact artifact identity can make earlier inspection evidence useful if the report remains acceptable under the current policy and scope. A reviewer should check the report date, scanner configuration, policy revision and affected component. If an associated data source or policy changed, a prior pass is one historical observation. Request a fresh result or review under the organization's established process where required.

An image can contain changes outside package metadata. A rebuilt artifact that has a new digest needs its own verification path even if it comes from the same Git commit. A live observed artifact with no accepted scan record should remain pending or unknown according to the defined decision. Neither a successful build nor a successful rollback event can fill in the missing scan evidence. Compare the affected package paths, inspection evidence or allowed runtime metadata with one confirmed record.

Treat a planned rollback image separately if a different platform will pull it. Check the index and requiring platforms before declaring it available or acceptable. Run a positive control on both platforms when possible, and compare results using the same declared policy. Compare amd64 and arm64 scan coverage covers the per-manifest evidence.

Preserve the recurrence without duplicating all of the history

Link the original observation, closure event, rollback decision and new verification under authorized tracking. A security process can use the original issue with a recurrence record, an associated reopened scope, or a new observation with a reference to the older finding. Use the convention your owners understand. Keep original discovery, resolved-at time, recurrence date and the affected scopes available.

Choose how the recurrence affects security metrics. One previously closed finding can now affect two additional workloads with their own consequences. Count separately where the policy tracks deployments or instances, and preserve the common underlying issue so reviewers can connect work. A return of an affected artifact is a real exposure change even if a dashboard calls its record old. Use a time-bounded reporting state with the known denominators and pending verifications visible.

Do not silently carry an earlier risk exception over to the returned artifact. Its original scope, permitted use, environment and expiration still govern. The new rollout decision may need a separate review especially if it enables traffic in a wider region or a new recovery practice. Record what authority applied at the actual time of recurrence and which role owns the next decision.

Check for state changes outside the rollout controller

Try a routing-only rollback in the synthetic test. All current replicas can remain on A32 while a traffic rule redirects an affected cohort to a standby cluster running A31. Inspect the scope of user traffic and its target evidence rather than only the main Deployment. The published revision can stay fixed while the live service contract reaches an earlier environment.

Rehearse the opposite case too. A planned rollback is cancelled before it reaches workloads, so A32 stays active. Preserve the cancellation and prove what actually ran instead of reopening solely from the request. If a job started briefly and finished before the final runtime snapshot, check authorized historical execution evidence. The verified current state and a short interval of earlier use belong in separate observations. Give the affected interval its own times when it influences the review.

A scanner or configuration console can update asynchronously. Inspect the time at which the controller reported a transition, which replica or running job observed it, and when the inventory picked it up. Plan a repeat verification after the expected collection delay. If it never observes the relevant target, escalate the coverage gap rather than treating the record as corrected just because the clock advanced.

Time-box the next verification rather than carrying an old conclusion

After observing A31 again, assign the rollout owner to record whether the approved fallback is temporary and when the next forward fix can run. Give the security reviewer the exact moment the affected content became observable, the currently served scope and the next decision time. If the incident requires an urgent release, coordinate any scope-specific exception through the documented approval flow. Preserve the status of each affected target even when several share a remediation task.

Run one final sequence for the exercise. At 16:20 the inventory shows two affected replicas. At 16:45 an approved forward release yields A34 and reaches the required cohort. At 17:00 the operator records an equivalent qualifying inspection for A34. Store each conclusion at the time the evidence supports it. The absence of A31 after 16:45 can demonstrate removal from that observed cohort, while verification of A34 under the relevant policy is recorded when its evidence is complete.

Ask a reviewer to query which status applied at 16:30 before showing them the end of the exercise. A useful report should retain the recurrence interval and the scope while also showing current resolution. This works even if the reporting views need a different granularity for an outstanding source remediation.

Compare how tools represent the test cases

Give each evaluator the same initial closure, mixed rollback, clean alternate and queued job. Ask whether the product detects or accepts a new observation of the earlier artifact, distinguishes scan history from current state, and can show a reader the relationship between rollout and recurrence. Ask the operator to recover which evidence established the state and what remains unknown with normal access. Document whether the integration watches runtime, uses deployment intent, or requires operator reconciliation.

Include a cancelled rollback and a comparable multi-platform result. A workflow that always reopens on a rollback event can create false alarms. A workflow that never rechecks artifact identity can miss renewed exposure. Compare what a second operator can independently confirm, including names, platforms, scope, times and evidence export. See the code and cloud security comparison for adjacent evaluation criteria.

Close the follow-up when the approved evidence accounts for the scope the rollback could return. Keep the original closure as history, and assign any affected or unknown workloads to an accountable owner. The container verification guide explains the initial scan-to-runtime proof this exercise repeats after a change.