Skip to content

feat: add scanning of /etc/os-release for RHEL-based images #9450

Description

@DmitriyLewen

Description

While Trivy currently relies on package metadata and release files like /etc/redhat-release, these may not always be present—especially in minimal or containerized environments (e.g. Calico images)
The os-release file is the standard file, so parsing this file will help avoid missing OS detection.

Required changes

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions