Skip to content

feat(redhat): Add Red Hat Hummingbird support#10457

Open
prarit wants to merge 1 commit intoaquasecurity:mainfrom
prarit:HUM-528
Open

feat(redhat): Add Red Hat Hummingbird support#10457
prarit wants to merge 1 commit intoaquasecurity:mainfrom
prarit:HUM-528

Conversation

@prarit
Copy link
Copy Markdown

@prarit prarit commented Mar 28, 2026

OS detection is handled through the existing os-release analyzer by adding "hummingbird" to the ID-to-OS-family mapping. No dedicated analyzer type is needed since Hummingbird uses a standard /etc/os-release file, following the same pattern as other projects.

The vulnerability driver reuses the Red Hat advisory database query mechanism since Hummingbird advisories share the same CSAF VEX database structure. It differs from the RHEL driver in three ways: it uses Hummingbird-specific default content sets (ie, public-hummingbird-*-rpms), it passes the full date-based version rather than extracting a major version number, and it has no end-of-life date restrictions.

Add support for Red Hat Hummingbird images.

Description

Related issues

  • Close #XXX

Related PRs

  • #XXX
  • #YYY

Remove this section if you don't have 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).

@prarit prarit force-pushed the HUM-528 branch 2 times, most recently from bcd0871 to b45cdf5 Compare April 1, 2026 14:07
Add support for scanning Red Hat Hummingbird container images.

OS detection is handled through the existing os-release analyzer by
adding "hummingbird" to the ID-to-OS-family mapping. No dedicated
analyzer type is needed since Hummingbird uses a standard /etc/os-release
file, following the same pattern as other projects.

The vulnerability driver reuses the Red Hat advisory database query
mechanism since Hummingbird advisories share the same CSAF VEX database
structure. It differs from the RHEL driver in three ways: it uses
Hummingbird-specific default content sets (public-hummingbird-*-rpms),
it passes the full date-based version rather than extracting a major
version number, and it has no end-of-life date restrictions. The driver
also falls back to looking up advisories by source RPM name when no
match is found by binary package name, handling VEX feeds that reference
source rather than binary RPM names.

The RPM analyzer is updated to recognize "Hummingbird" as a known OS
vendor and to treat packages with ".hum" in the release string as
official rather than third-party, since Hummingbird RPMs may not set
the Vendor header tag.

Co-authored-by: Cursor <noreply@cursor.ai>
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 9, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants