RX24Research & insights

A Remediation Ticket Is a State Machine

Separate applied changes from verified fixes with explicit remediation states, target-aware checks, regression handling, and measurable verification debt.

A patch command exits successfully, the automation closes the finding, and the affected process continues running the old component. The workflow has recorded a successful operation as a successful security outcome. That error is possible whenever the ticket status does not distinguish applying a change from verifying its effect.

Treat remediation as a state machine whose transitions require evidence. This does not require a complicated orchestration platform. It requires explicit meanings for states, guards that prevent unsupported transitions, and a record of what was observed. The design below is an engineering proposal for a remediation workflow; the numerical examples are constructed scenarios.

Make states describe facts

“In progress” describes attention, not system condition. A more useful sequence is confirmed, planned, authorized, applying, applied, verifying, verified, and closed. Add failed, deferred, and reopened where they represent distinct operational outcomes. The names matter less than the evidence required to enter each state.

Confirmed means the finding is valid for a specific asset and observation interval. Planned means a proposed change identifies prerequisites, affected scope, rollback conditions, and a verification method. Authorized means an appropriate decision maker or standing policy permits that particular change. Applied means the change mechanism completed; verified means an independent check supports the intended security result.

Closure can then represent administrative completion: evidence stored, ownership resolved, and any follow-up work linked. Keeping closure separate from verification prevents missing documentation from being confused with continuing exposure. It also prevents a tidy ticket queue from concealing an untested change.

Define the transition contract

Every transition should specify its input evidence, permitted actor, preconditions, output evidence, and failure destination. For example, moving from applied to verifying requires an asset identifier, change identifier, completion time, and a verifier capable of observing the relevant condition. Moving from verifying to verified requires a passing result tied to the deployed state.

Do not accept “scanner clear” without identifying what was scanned and when. A result collected before the change cannot verify the change. A scan of a replacement host cannot establish the condition of the original host unless the workflow explicitly records the replacement and retirement. Identity and time bind the evidence to the claim.

Figure 1 — Applied work must cross a verification gate before it becomes a verified fix. Failed verification enters Failed and returns to Planned; later regression moves Verified or Closed to Reopened. Deferred planning returns to Planned when work resumes. Illustrative model — not measured data.

Separate desired state from observed state

A configuration repository can say that a control is enabled while the running service still uses a previous configuration. A package manager can report a new package while an old process remains active. A network rule can be present in one policy layer while another path still permits access. Verification must observe the condition that actually matters to the finding.

For a fictional service update, the plan requires the package revision to change and the active process to use that revision. The verifier checks both. If the package changes but the process does not, the workflow records partial application and a failed outcome check. It does not silently assume that a future restart will complete the work.

Choose the least invasive test that establishes the intended result. Sometimes configuration inspection is sufficient; sometimes a harmless functional probe is necessary. The verification plan should state its limits. A successful probe along one path does not establish every possible path unless the architecture makes that inference valid.

Treat verifier availability as a scheduling constraint

Reconcile unknown execution outcomes before retrying, and review changed authorizations before allowing another application attempt. These guards prevent unsupported entry into Applied; after that transition, verification must establish the resulting target condition.

Schedule verification when the relevant runtime can actually expose that condition. A restart-dependent update cannot be verified solely by inspecting files before the maintenance window. A disconnected device may be applied but unobservable. Keep it in Verifying with a reason and an owner, instead of recording Failed merely because the verifier cannot reach it.

Verifier coverage can differ from deployment coverage. A rollout controller may report completion across a fleet while the security check observes only a sample. Bind a result to the assets actually checked. If sampling is authorized, preserve the selection rule and distinguish sampled confidence from per-asset proof. A successful check on a convenient canary does not silently close findings on unreachable hosts.

Measure verification debt separately

Suppose a team applies changes to forty findings in a week. Twenty-eight pass verification, seven fail, and five cannot be checked because the target is unavailable. Calling all forty closed would overstate progress. Calling only twenty-eight completed while forgetting the other twelve would hide the operational work remaining.

Figure 2 — Applied changes produce three different evidential outcomes. Unavailable verification is neither a pass nor a demonstrated failure. Illustrative model — not measured data.

Track the age of applied-but-unverified work. That queue represents verification debt: changes have consumed effort, but their security effect remains unsupported. Assign an owner and a next check time. Otherwise the organization may improve its deployment throughput while accumulating uncertainty about actual exposure.

Distinguish failed verification from unavailable verification in reporting. A failed check provides evidence that the intended outcome was not achieved under the test conditions. An unavailable check says the workflow lacks evidence. Both need action, but they require different diagnosis and should not be merged into one failure rate.

Evidence retention also needs an owner. If verification logs expire before the next review, the closed record becomes an unsupported assertion. Store the minimum necessary result, target identity, check version, and timestamp with the finding, using access controls appropriate to the captured information.

Reopening is a valid outcome

A verified fix can later regress. A deployment may restore an old configuration, an image may reintroduce a component, or a previously retired asset may return. Reopening should preserve the earlier successful verification and add the new observation. Rewriting history to make the finding look continuously open loses useful information about regression.

Tie recurring findings to their originating control when possible. If the same configuration drift repeatedly reopens findings, another one-time correction may be less valuable than repairing the deployment source. The state history can reveal this pattern only if transitions retain timestamps and causal links.

Avoid punishing teams merely for reopening records. A metric that rewards permanent closure can encourage separate tickets for the same recurring condition. Measure sustained outcomes and recurrence causes alongside closure volume so that accurate reporting remains compatible with good performance.

Keep transitions consistent under concurrent observation

A slow verifier can return after a newer deployment has already replaced its target. Record the deployment generation with the verification request and compare it when accepting the result. A pass for the earlier generation remains historical evidence; it cannot move the current finding to Verified. This protects the meaning of the state without requiring the old observation to be discarded.

Likewise, two workers should not independently overwrite a finding's state. Accept a transition only from the expected prior revision and retain rejected transition attempts for diagnosis. A late failure must not overwrite a later successful verification without checking which deployment each describes. The state machine is useful precisely because its history preserves these distinctions.

Keep machine assistance inside the evidence boundary

An AI assistant can propose a plan, summarize change evidence, and identify missing verification fields. Its generated explanation should not be accepted as evidence that a system changed. Evidence must come from an authorized execution record or an observation of the target condition, with provenance the reviewer can inspect.

Require generated plans to state assumptions and stop conditions. If the assistant cannot identify the asset owner, affected service, or verification method, the plan is incomplete. A fluent narrative should not bypass the same transition guards that apply to a manually written plan.

The operational test is straightforward: select a closed finding and reconstruct why it was considered fixed. You should be able to identify the original condition, approved plan, applied change, verification result, and any limits. If the record ends at a successful command, the workflow has proved activity. The missing transition is proof of effect.