engineering
Check a release gate after a scanner upgrade
Compare old and new scanner verdicts on the same test artifacts. Explain changes in rules, finding identity or failure behavior before promoting the upgrade.
TrustIvan · · 5 min read
The new scanner flags a development-only component that the old configuration excluded. It also reports no result for a required platform. On the release page both changes appear as a single red verdict. In this fictional upgrade, separate the changed finding classification from the missing coverage before the team enables enforcement.
Replay a fixed set of candidates
| Fixture | Old scanner | New scanner | Review |
|---|---|---|---|
| Same application digest | Runtime packages | Runtime plus development packages | Scope expanded |
| ARM variant | Complete | Collect failed | Required evidence missing |
| Approved exception | Existing rule matched | Package key changed | Reconcile identity |
Start in report-only mode using the same fixture outputs and target policy. Keep database and observation dates visible. Where scanner versions require different database formats, document that dependency because timing can also explain a finding difference. A differently colored verdict has little value without a comparison of what each input contained.
Make the decision scope readable at promotion
A release gate joins a piece of evidence to a policy at a particular point in a workflow. Write down the required evidence and who may interpret it for the target. Capture the immutable artifact, intended destination, policy revision and observation window when those fields affect the decision. The build and promotion jobs may run under different identities. Give the promotion job an authoritative record it can check even when the producer has finished and the human-readable job output has expired.
Before switching, save the old decisions for a small set of approved artifacts. Include an accepted result, a result expected to fail and an unavailable-result case. Run the new version using the expected policy, then compare relevant rules, verdicts, evidence and any existing exception bindings. If a finding key changes, verify that an old exception cannot apply to the wrong condition.
When comparing Snyk, Aikido or TrustIvan in a proof of concept, apply one written release rule to the same authorized sample and ask each product to export the check scope, verdict and evidence. Feature labels on a comparison page cannot show how your CI interprets the result. Consult the sourced Snyk and Aikido pages for workflow options to test.
Give the packaging owner the development component and ask which release artifact includes it. Then review the platform failure with pipeline operators. In the exception case compare package identity and subject directly. A renamed identifier may not justify a new risk decision, but mapping it to the old decision still needs authorized scope review.
Check result differences on one axis
For the development component, show the source of the two collection profiles and the subject under policy. Record whether the old and new collectors both see the component on a fixture built with production settings. Then compare the ARM scan from a known complete run and its failing counterpart. An ARM collection failure stays visible even if the labeled vulnerability verdict looks better.
The approved exception needs a focused mapping check. Give the policy reviewer one record from the former match and one record for the new package key. Check the dependency identity, subject and approval validity before deciding whether that exception still applies. On the next replay, keep the identifying correction separate from any change in authorized exceptions. That gives the operator three distinct conclusions for coverage, component classification and decision authority rather than one status for the upgrade.
Define success for the upgraded gate as reliable handling of every fixture disposition. A complete candidate should receive its expected decision, and the ARM failure should surface as unresolved evidence. Confirm a corrected report for ARM and re-run the policy on that same artifact before publishing the comparison.
Record evidence before using the upgraded verdict
Ask someone who did not run the build to identify what the gate examined and why the destination accepted the decision. They should be able to find the policy revision, the observed subject, the conclusion and approval basis directly. Include timestamps and retain the previous verdict when a repeat evaluation produces a different outcome. Determine where this history lives when there are multiple release jobs or a deployment tool change. The operator should know whether a new review, an evidence re-collection or a policy escalation will move the release forward.
Record the cutover decision, scanner profile, effective policy and date at which each production pipeline starts depending on the upgraded result. Keep the rollback criteria and reporting window in the same review. Another team can then reproduce whether a later results shift began with the upgrade or with a change in its candidate.
Keep raw evidence in the service it came from, with normal access controls. The handoff should carry a stable reference and a summary of the observation. Test whether a reviewer with the usual role can open that link and attach a dated decision.
In an escalation, send the active owner the decision being requested and the source they can consult. Give them one record to confirm and a date for responding. This keeps follow-up anchored to a reviewable observation instead of a broad request to take another look.