Skip to content

Commit

Permalink
fix: update Amazon Linux 1 EOL (aquasecurity#4761)
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 committed Jul 2, 2023
1 parent 6008192 commit 34a8929
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/detector/ospkg/amazon/amazon.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import (

var (
eolDates = map[string]time.Time{
"1": time.Date(2023, 6, 30, 23, 59, 59, 0, time.UTC),
// https://aws.amazon.com/jp/blogs/aws/update-on-amazon-linux-ami-end-of-life/
"1": time.Date(2023, 12, 31, 23, 59, 59, 0, time.UTC),
// https://aws.amazon.com/amazon-linux-2/faqs/?nc1=h_ls
"2": time.Date(2025, 6, 30, 23, 59, 59, 0, time.UTC),
// Amazon Linux 2022 was renamed to 2023. AL2022 is not currently supported.
Expand Down

0 comments on commit 34a8929

Please sign in to comment.