diff --git a/docs/docs/coverage/os/index.md b/docs/docs/coverage/os/index.md index 993725678b..4af3291777 100644 --- a/docs/docs/coverage/os/index.md +++ b/docs/docs/coverage/os/index.md @@ -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 | diff --git a/pkg/detector/ospkg/alma/alma.go b/pkg/detector/ospkg/alma/alma.go index a88257cb29..8c6a797473 100644 --- a/pkg/detector/ospkg/alma/alma.go +++ b/pkg/detector/ospkg/alma/alma.go @@ -20,8 +20,9 @@ var ( eolDates = map[string]time.Time{ // Source: // 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), + "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), } )