feat(minimos): Add support for MinimOS#521
Conversation
DmitriyLewen
left a comment
There was a problem hiding this comment.
LGTM.
Left small comments
571de64 to
c6af592
Compare
c6af592 to
981b4e4
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for MinimOS as a new security data source by implementing a new vulnerability source. Key changes include registering MinimOS in the main vulnerability source registry, defining a new constant for MinimOS, and introducing a dedicated package with tests and sample JSON data for MinimOS.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| pkg/vulnsrc/vulnsrc.go | Registers the new MinimOS vulnerability source by adding the appropriate import and registration in the list of vulnerability sources. |
| pkg/vulnsrc/vulnerability/const.go | Adds the MinimOS constant to the list of known source IDs. |
| pkg/vulnsrc/minimos/ (minimos.go, minimos_test.go, JSON files) | Implements the vulnerability source logic, tests, and test data for MinimOS. |
Comments suppressed due to low confidence (1)
pkg/vulnsrc/minimos/minimos_test.go:53
- [nitpick] It might be beneficial to add additional cases to cover different error scenarios during JSON decoding for improved test coverage.
wantErr: "json decode error",
981b4e4 to
6aba7b2
Compare
6aba7b2 to
0ed4b38
Compare
|
@Daniel-Wachter I have 1 question: e.g.: |
|
@DmitriyLewen yes, it means the CVE is not relevant to our package and so fixed in all versions |

Hi,
I’m part of the Minimus team. Minimus delivers secure, minimal container images with auto-generated SBOMs and real-time vulnerability threat intelligence to help reduce vulnerability risk.
We also maintain a minimal operating system called MinimOS. We’ve been publishing our security advisories in a secdb feed and would like to contribute it as a new security data source.
Details:
The feed URL: https://packages.mini.dev/advisories/secdb/security.json
The format closely mirrors Alpine's secdb, but it's unversioned—similar to Alpine's edge feed.
Discussion ref: aquasecurity/trivy#8666
Thanks for your consideration!