Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Amazon Linux 2022 in Vulnerability Detector #13034

Closed
6 tasks done
MarcelKemp opened this issue Apr 4, 2022 · 1 comment
Closed
6 tasks done

Add support for Amazon Linux 2022 in Vulnerability Detector #13034

MarcelKemp opened this issue Apr 4, 2022 · 1 comment

Comments

@MarcelKemp
Copy link
Member

MarcelKemp commented Apr 4, 2022

Component Install type Platform
Vulnerability Detector Manager Amazon Linux 2022

Description

The aim of this issue is to add native support for vulnerability scans to Amazon Linux 2022.

Amazon Linux 2022 offers its own OVAL feed (ALAS 2022): https://alas.aws.amazon.com/AL2022/alas.rss

We currently support older versions of Amazon Linux (1 and 2). We should incorporate this new OVAL that has just been released.

Configuration

The configuration block for this new distribution will be like the one we have for the previous versions:

<vulnerability-detector>
    ...
    <!-- Amazon Linux OS vulnerabilities -->
    <provider name="alas">
      <enabled>yes</enabled>
      <os>amazon-linux-2022</os>
      <update_interval>1h</update_interval>
    </provider>
    ...
</vulnerability-detector>

Tasks

@MarcelKemp
Copy link
Member Author

MarcelKemp commented Apr 12, 2022

We have the following information about the OS:

  • os_info:
{"data": {"affected_items": [{"os": {"major": "2022", "name": "Amazon Linux", "platform": "amzn", "version": "2022"}, "scan": {"id": 0, "time": "2022-04-11T16:19:56Z"}, "release": "5.15.25-14.106.amzn2022.x86_64", "hostname": "ip-172-31-11-141.ec2.internal", "version": "#1 SMP Wed Mar 2 19:27:42 UTC 2022", "sysname": "Linux", "architecture": "x86_64", "agent_id": "001"}], "total_affected_items": 1, "total_failed_items": 0, "failed_items": []}
  • sys_programs: (Only available since Wazuh v4.4 - Issue: #13114 (fixed by #11571))

AL2022_packages.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants