The Fix of the POC: Vulnerability-Driven Merge Requests Without GitLab Ultimate

Renovate found the advisories itself and proposed exactly the upgrades Copacetic could not — express, lodash, axios — as reviewable MRs, including our Flux manifests. No Ultimate licence involved.

The Fix of the POC: Vulnerability-Driven Merge Requests Without GitLab Ultimate

Every patching story has a gap. Copacetic handles OS packages and nothing else. The question is what fills the gap for npm, pip, Go modules, Maven — and the base image itself.

Our answer was already installed: Renovate, running as a scheduled GitLab CI pipeline. What surprised us was how completely it covered the gap, with two properties that made it the find of the POC.

Property 1: it proposes exactly what Copacetic cannot touch

On the Node fixture with 61 fixable OS CVEs, Copacetic zeroed the OS list in 58 seconds — and left express (2 CVEs), lodash (5), body-parser (2), brace-expansion (5), cookie, cross-spawn, glob, ip-address, diff still vulnerable. Structurally; Copa runs package managers, not npm install.

Renovate's dry run proposed precisely those upgrades — express 4.17.1→5.2.1, lodash→4.18.1, axios→1.19.0, jsonwebtoken→9.0.3, minimist→1.2.8 — in dedicated renovate/npm-*-vulnerability branches, plus base-image bumps. The two tools do not overlap; they complete each other.

The remediation decision, in one line: if the CVE is in an apt/apk package, Copacetic fixes it tonight without a rebuild. If it is in npm/pip/Go or the base image, it needs a Renovate MR and a rebuild.

Property 2: it speaks GitOps

Renovate proposed updates to our Flux manifests — flux/ocirepository.yaml, flux/helmrelease-redis.yaml — because its Flux manager reads the version lines in them:

{
  "flux": {
    "managerFilePatterns": ["/^base/.+\\.yaml$/"]
  }
}

Remediation arrives as a reviewable merge request in the repositories Flux already reconciles. No new workflow, no new approval surface, no drift between the scanner's notion of "fixed" and the cluster's actual state.

Property 3: no GitLab Ultimate required

This matters more than it sounds. GitLab's own Container Scanning template runs fine in Community Edition — it is Trivy underneath — but the management layer (Security Dashboard, MR security widgets, CVE allowlist management, security policies) is what Ultimate gates. Ultimate is priced per seat for every user, quote-only, and does nothing for our Azure DevOps repositories.

Renovate's OSV-driven vulnerability alerts work without any of that. It found the advisories itself. For dependency updates driven by CVEs, it is the cheapest adequate tool we evaluated, by a wide margin.

Operational details worth knowing

Copacetic and Renovate: zero overlap in what they remediate
Copacetic and Renovate: zero overlap in what they remediate

Measured on the same fixture: Copacetic took the OS half to zero; Renovate proposed MRs for exactly the rest.

One instance per platform. Platform and token are global in Renovate's config, so you need one instance against GitLab and another against Azure DevOps — not one serving both. (It is, incidentally, the only tool we tested that natively supports both self-hosted GitLab and Azure DevOps.)

Scope the managers deliberately. Our config points both managers at /^base/.*\.yaml$/, which is where every version lives. The corollary: nothing under clusters/ or ci/ gets scanned, so keep versions in base/ and keep the # renovate: datasource=... hints on ambiguous lines.

Automerge needs a safety valve. :automergePatch plus :skipStatusChecks means a patch bump can reach main — and therefore the cluster — without human review. For most charts that is fine. For anything in the admission or ingress path (Kyverno, Envoy Gateway, cert-manager), we disable automerge via packageRules and add a 🔧 security-tooling label, because a silent bump of the nightly patch job's BuildKit image could break the pipeline it runs.

What it is not

Renovate is not a scanner. It produces no findings, builds no dashboard, and answers no "are we compliant" question. It is the remediation engine — the thing that turns a finding into a diff. Pair it with a scanner (Trivy), a registry gate (Harbor), and whatever admission control your platform allows, and the loop from CVE to merged fix closes without a single person copy-pasting a version number.

Series: Building a Container Image Security Stack. Next: Harbor — closing the registry gap with ~260 MiB and zero licences.