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

Expanded dpkg cataloger globs to search outside of /var #3373

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

njv299
Copy link
Contributor

@njv299 njv299 commented Oct 22, 2024

Description

This expands the globs handled by the debian cataloger to include dpkg/status and dpkg/status.d files that are found in directories not located under var. This has been observed 'in the wild' in several instances, in which case Syft failed to parse the available package information.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have added unit tests that cover changed behavior
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

Signed-off-by: Nathan Voss <njvoss299@gmail.com>
@wagoodman wagoodman changed the title Issue #2692 - Expanded dpkg cataloger globs Expanded dpkg cataloger globs to search outside of /var Oct 23, 2024
@wagoodman wagoodman enabled auto-merge (squash) October 23, 2024 14:49
@wagoodman wagoodman merged commit b505317 into anchore:main Oct 23, 2024
12 checks passed
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.

Look for dpkg status file at additional globs
2 participants