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

Fix namespace detection from distro IDs #3770

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Commits on May 7, 2024

  1. Detect distro files in system package scans

    In docker image/other rootfs scans with SCIO we are always
    scanning for system packages before we scan for application
    packages, and we were not being able to use the distro
    information as this was being detected in application
    package scans happening later. So in this commit we are
    also adding os-release file parser to system package handler.
    
    Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
    AyanSinhaMahapatra committed May 7, 2024
    Configuration menu
    Copy the full SHA
    e0a985a View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Parse and set namespace from distro ID correctly

    Update debian, rpm and alpine package assembly to get
    distro identifier and then set this properly to
    created package, dependency and package_uid instances.
    
    Reference: #3443
    Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
    AyanSinhaMahapatra committed May 8, 2024
    Configuration menu
    Copy the full SHA
    c9b9175 View commit details
    Browse the repository at this point in the history
  2. Update default package type for alpine apk packages

    Reference: #3726
    Reference: package-url/purl-spec#171
    Reference: package-url/purl-spec#159
    Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
    AyanSinhaMahapatra committed May 8, 2024
    Configuration menu
    Copy the full SHA
    8797c9f View commit details
    Browse the repository at this point in the history
  3. Fix namespace assignment from distro ID

    Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
    AyanSinhaMahapatra committed May 8, 2024
    Configuration menu
    Copy the full SHA
    4c9e044 View commit details
    Browse the repository at this point in the history