Skip to content

Wrong logs and docs for Photon 5.0. #9723

@DmitriyLewen

Description

@DmitriyLewen

Description

Trivy currently supports vulnerability detection for Photon 5.0 (trivy-db already contains advisories for this version).

➜ trivy  image photon:5.0 
2025-10-29T14:56:59+06:00	INFO	[vuln] Vulnerability scanning is enabled
2025-10-29T14:56:59+06:00	INFO	[secret] Secret scanning is enabled
2025-10-29T14:56:59+06:00	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-10-29T14:56:59+06:00	INFO	[secret] Please see https://trivy.dev/v0.67/docs/scanner/secret#recommendation for faster secret detection
2025-10-29T14:57:02+06:00	INFO	Detected OS	family="photon" version="5.0"
2025-10-29T14:57:02+06:00	WARN	This OS version is not on the EOL list	family="photon" version="5.0"
2025-10-29T14:57:02+06:00	INFO	[photon] Detecting vulnerabilities...	os_version="5.0" pkg_num=35
2025-10-29T14:57:02+06:00	INFO	Number of language-specific files	num=0

Report Summary

┌─────────────────────────┬────────┬─────────────────┬─────────┐
│         Target          │  Type  │ Vulnerabilities │ Secrets │
├─────────────────────────┼────────┼─────────────────┼─────────┤
│ photon:5.0 (photon 5.0) │ photon │        2        │    -    │
└─────────────────────────┴────────┴─────────────────┴─────────┘

However, we show the following warning during the scan:
WARN This OS version is not on the EOL list family="photon" version="5.0".

Required changes:

  1. Add the 5.0 version to the photon eolDates map.
  2. Update the supported OS table in the docs.

Metadata

Metadata

Assignees

No one assigned

    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.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions