feat(os): add CleanStart OS support#10390
Open
cleanstart-community-admin wants to merge 2 commits intoaquasecurity:mainfrom
Open
feat(os): add CleanStart OS support#10390cleanstart-community-admin wants to merge 2 commits intoaquasecurity:mainfrom
cleanstart-community-admin wants to merge 2 commits intoaquasecurity:mainfrom
Conversation
Author
|
I wanted to kindly request you to review my PR when you have a moment. Please let me know if there’s anything further required from my side. Regards |
Author
|
Hello @DmitriyLewen @knqyf263, I just wanted to follow up on my previous message. Please let me know if there are any updates or if any additional information is needed from our side. Thank you! |
Contributor
|
Hello @cleanstart-community-admin We appreciate your understanding and patience. Regards, Dmitriy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds CleanStart OS as a supported distribution in the Trivy scanner.
CleanStart is a container-optimized Linux distribution using APK package management. It uses
ID=clnstrtin/etc/os-releasetoday, withID=cleanstartplanned — both identifiers are handled. The OS family is reported ascleanstartin scan output regardless of which identifier is present.Changes:
pkg/fanal/types/const.go— addedCleanStart OSType = "cleanstart"constant, appended toOSTypesslicepkg/fanal/analyzer/os/release/release.go— added"clnstrt", "cleanstart"cases toidToOSFamily()to handle both identifiers during ongoing transitionpkg/detector/ospkg/detect.go— registeredftypes.CleanStart: cleanstart.NewScanner()in the drivers mappkg/detector/ospkg/cleanstart/cleanstart.go(new) — APK-based vulnerability scanner;IsSupportedVersionalways returnstrueas CleanStart is a rolling releasedocs/guide/coverage/os/cleanstart.md(new) — OS coverage documentationdocs/guide/coverage/os/index.md— added CleanStart to supported OS tabledocs/guide/scanner/vulnerability.md— added CleanStart data sourcemkdocs.yml— added CleanStart to navigationBefore:

After:

Related PRs
Checklist