Commit 57b8b78
feat: import chisel in scalibrplugin (#2772)
## Description
This PR imports the `os/chisel` extractor from the
[osv-scalibr](https://github.com/google/osv-scalibr) in the
`scalibrplugin/presets.go` to enable the scanning of container images
built with [Chisel](https://github.com/canonical/chisel).
The description of `Ubuntu chiseled packages` is added to
`docs/supported_languages_and_lockfiles.md`, which corresponds to the
changes of this PR.
This PR expects no breaking changes nor regressive UX to be introduced
to the OSV-Scanner.
## Related pull requests
google/osv-scalibr#764
google/osv-scalibr#2018
P.S. I've run `make refresh-all REBUILD_IMAGES=true` to update the
snapshots.
FYI: @cjdcordeiro
---------
Co-authored-by: Rex P <rexpan@google.com>
Co-authored-by: Rex P <106129829+another-rex@users.noreply.github.com>1 parent 1f0bd83 commit 57b8b78
15 files changed
Lines changed: 1971 additions & 83 deletions
File tree
- cmd/osv-scanner/scan
- image
- __snapshots__
- testdata
- cassettes
- source
- __snapshots__
- testdata/cassettes
- docs
- internal/scalibrplugin
- __snapshots__
Lines changed: 362 additions & 7 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
366 | 374 | | |
367 | 375 | | |
368 | 376 | | |
| |||
499 | 507 | | |
500 | 508 | | |
501 | 509 | | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
502 | 524 | | |
503 | 525 | | |
504 | 526 | | |
| |||
0 commit comments