Skip to content

Conversation

DmitriyLewen
Copy link
Contributor

@DmitriyLewen DmitriyLewen commented Mar 16, 2023

Description

Add Amazon Linux 2023 support

Related PRs

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've followed the conventions in the PR title.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@DmitriyLewen DmitriyLewen marked this pull request as ready for review March 20, 2023 09:54
@knqyf263
Copy link
Collaborator

knqyf263 commented Mar 20, 2023

I confirmed it worked well.

$ trivy image --scanners vuln amazonlinux:2023.0.20230222.1
2023-03-20T13:27:19.514+0200    INFO    Vulnerability scanning is enabled
2023-03-20T13:27:31.829+0200    INFO    Detected OS: amazon
2023-03-20T13:27:31.829+0200    INFO    Detecting Amazon Linux vulnerabilities...
2023-03-20T13:27:31.832+0200    INFO    Number of language-specific files: 0

amazonlinux:2023.0.20230222.1 (amazon 2023 (Amazon Linux))
==========================================================
Total: 34 (UNKNOWN: 0, LOW: 0, MEDIUM: 2, HIGH: 32, CRITICAL: 0)

@@ -23,6 +23,7 @@ var (
"2": time.Date(2024, 6, 30, 23, 59, 59, 0, time.UTC),
// N/A
"2022": time.Date(3000, 1, 1, 23, 59, 59, 0, time.UTC),
"2023": time.Date(3000, 1, 1, 23, 59, 59, 0, time.UTC),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting with AL2023, a new Amazon Linux major release will be available every 2 years. This cadence provides you with a more predictable release cycle and up to 5 years of support, making it easier for you to plan your upgrades.

According to this statement, we can put 15 Mar 2028 as the EOL date. We can update it after Amazon announces the exact date.

https://endoflife.date/amazon-linux

@knqyf263
Copy link
Collaborator

It's not relevant to AL2023, but I found AL2 extended EOL.

Amazon Linux 2 end of support date (End of Life, or EOL) has been extended by two years from 2023-06-30 to 2025-06-30 to provide customers with ample time to migrate to the next version.

https://aws.amazon.com/amazon-linux-2/faqs/?nc1=h_ls

@knqyf263 knqyf263 merged commit fc2e80c into aquasecurity:main Mar 20, 2023
atombrella pushed a commit to atombrella/trivy that referenced this pull request Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants