feat(alma): add AlmaLinux 10 support (#9207)

This commit is contained in:
Harshil Gupta
2025-07-17 12:25:19 +05:30
committed by GitHub
parent fe96436b99
commit 861d51e99a
2 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ Trivy supports operating systems for
| [Red Hat Enterprise Linux](rhel.md) | 6, 7, 8, 9 | dnf/yum/rpm |
| [Red Hat Enterprise Linux](rhel.md) | 10 (SBOM only) | dnf/yum/rpm |
| [CentOS](centos.md)[^1] | 6, 7, 8 | dnf/yum/rpm |
| [AlmaLinux](alma.md) | 8, 9 | dnf/yum/rpm |
| [AlmaLinux](alma.md) | 8, 9, 10 | dnf/yum/rpm |
| [Rocky Linux](rocky.md) | 8, 9 | dnf/yum/rpm |
| [Oracle Linux](oracle.md) | 5, 6, 7, 8 | dnf/yum/rpm |
| [Azure Linux (CBL-Mariner)](azure.md) | 1.0, 2.0, 3.0 | tdnf/dnf/yum/rpm |

View File

@@ -22,6 +22,7 @@ var (
// https://endoflife.date/almalinux
"8": time.Date(2029, 3, 1, 23, 59, 59, 0, time.UTC),
"9": time.Date(2032, 5, 31, 23, 59, 59, 0, time.UTC),
"10": time.Date(2035, 5, 31, 23, 59, 59, 0, time.UTC),
}
)