Skip to content

feat(os): add CleanStart OS support#10390

Open
cleanstart-community-admin wants to merge 2 commits intoaquasecurity:mainfrom
cleanstart-community-admin:feat/cleanstart_ecosystem
Open

feat(os): add CleanStart OS support#10390
cleanstart-community-admin wants to merge 2 commits intoaquasecurity:mainfrom
cleanstart-community-admin:feat/cleanstart_ecosystem

Conversation

@cleanstart-community-admin
Copy link
Copy Markdown

@cleanstart-community-admin cleanstart-community-admin commented Mar 13, 2026

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=clnstrt in /etc/os-release today, with ID=cleanstart planned — both identifiers are handled. The OS family is reported as cleanstart in scan output regardless of which identifier is present.

Changes:

  • pkg/fanal/types/const.go — added CleanStart OSType = "cleanstart" constant, appended to OSTypes slice
  • pkg/fanal/analyzer/os/release/release.go — added "clnstrt", "cleanstart" cases to idToOSFamily() to handle both identifiers during ongoing transition
  • pkg/detector/ospkg/detect.go — registered ftypes.CleanStart: cleanstart.NewScanner() in the drivers map
  • pkg/detector/ospkg/cleanstart/cleanstart.go (new) — APK-based vulnerability scanner; IsSupportedVersion always returns true as CleanStart is a rolling release
  • docs/guide/coverage/os/cleanstart.md (new) — OS coverage documentation
  • docs/guide/coverage/os/index.md — added CleanStart to supported OS table
  • docs/guide/scanner/vulnerability.md — added CleanStart data source
  • mkdocs.yml — added CleanStart to navigation

Before:
image

After:
image

Related PRs

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@cleanstart-community-admin
Copy link
Copy Markdown
Author

Hi @DmitriyLewen @knqyf263

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
Cleanstart Community Admin

@cleanstart-community-admin
Copy link
Copy Markdown
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!

@DmitriyLewen
Copy link
Copy Markdown
Contributor

Hello @cleanstart-community-admin
We are currently busy recovering from the incident.
Once we have recovered and established our priorities — we will get to reviewing this PR.

We appreciate your understanding and patience.

Regards, Dmitriy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants