Skip to content

Conversation

xnox
Copy link

@xnox xnox commented Apr 14, 2025

  • Add more distributions
  • Add support for apk installed db
  • go.mod: add chainguard.dev/apko requires

Issue #, if available:

Description of changes:

  • Add support for Wolfi & Chainguard in os-release files
  • Add support for parsing apk-tools installed packages database as used by Alpine, Chainguard, Wolfi
  • This enables support for inventory in Aws Inspector and SSM Package listings
  • In Aws Inspector the OS also needs to be enabled as supported, as package listings are submitted, and last scan date is updated, but the overall findings are not being reported
  • Addition of changuard.dev/apko to parse installed database might be too large, upon vendoring. If desired, I can vendor in the relevant portions that parse installed database as that is very small number of functions compared to all the dependencies that chainguard.dev/apko pulls in.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

xnox added 3 commits March 11, 2025 10:23
Note, not updating vendor files, as the amount of updates there is
huge.

Please let me know how to proceed.

Likely splitting out / reimplementing reading and parsing a single
text file inline might be a better approach, then pulling in all of
chainguard.dev/apko which has a lot of functionality, which is unused
by the inventory integration feature.
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.

1 participant