Commit e7bc758
authored
feat: add support for new wolfi/chainguard apk database location CN-150 (#667)
Update the apk database scanning logic to look at /usr/lib/apk/db/installed in addition to /lib/apk/db/installed. Recently, Chainguard/Wolfi images have moved the location of /lib/apk to /usr/lib/apk. Without this change, snyk container scanning fails to find and analyze the apk package database on newer Chainguard/Wolfi container images.1 parent bce585b commit e7bc758
3 files changed
Lines changed: 850 additions & 2 deletions
File tree
- lib/inputs/apk
- test/system/package-managers
- __snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments