Red HatBen Breard, Matej MarušákTutorial
Automate Lightwell updates with Mend Renovate
Summary
Lightwell delivers vulnerability remediations for open source libraries, including novel vulnerabilities scanners do not yet detect. Accessing these remediated libraries is only the first step; teams must embed them into their software development lifecycle. This article describes using Mend Renovate, an open source dependency automation tool, to apply Lightwell patches automatically. The workflow uses a renovate.json configuration that inherits a Lightwell preset, points to a local artifact repository mirror, and groups related updates into single pull requests. Mend Renovate runs in most CI/CD environments and submits pull requests with remediated dependencies, reducing manual security tracking.
Context
Lightwell provides vulnerability remediations for open source libraries, including novel vulnerabilities not yet detected by scanners. Accessing remediated libraries is only the first step; teams need to embed them into their SDLC and apply them automatically. This article describes how to use Mend Renovate to automate that process.
Approach / What changed
Use Mend Renovate, an open source dependency automation tool, to automatically apply Lightwell vulnerability remediations. The workflow involves configuring a renovate.json file that inherits a Lightwell preset (e.g., java-remediated or java-upgrade), points to a local artifact repository mirror, and groups related updates into single pull requests. Optionally enable OSV vulnerability alerts. Mend Renovate runs as a stateless process in CI/CD environments and submits pull requests with remediated dependencies.
Takeaways
Lightwell has delivered more than 800 novel vulnerability remediations in its first few months, targeting both known CVEs and vulnerabilities scanners do not yet detect.
Mend Renovate was chosen for Lightwell because of its first-class support for versioning and suffixes like .rhlw-00001, pluggable advisory feeds, and ability to run in air-gapped environments.
To batch updates, use packageRules with groupName to bundle multiple dependency updates into a single pull request, reducing PR fatigue and running CI once per batch.
FAQ
Why use Mend Renovate for Lightwell?
Mend Renovate supports versioning and suffixes like .rhlw-00001, connects to OSV advisory feeds, runs in most CI/CD environments, and interacts with repositories through a dependency dashboard and pull requests.
How do I configure Mend Renovate for Lightwell?
Add an extends block to your renovate.json file referencing a Lightwell preset, such as "github>lightwell-experience/renovate-config:java-upgrade". Then configure hostRules and packageRules to point to your local artifact repository mirror and group updates.
Can I enable OSV vulnerability feeds?
Yes, add "osvVulnerabilityAlerts": true and "dependencyDashboardOSVVulnerabilitySummary": "all" to your renovate.json. OSV support is currently marked as experimental in Mend Renovate.
Source and freshness
- Source
- developers.redhat.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.