Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions docs/supported_languages_and_lockfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ We found that when performing different forms of scanning, you are generally int

When scanning container images (`osv-scanner scan image ...`), OSV-Scanner automatically extracts and analyzes the following artifacts:

| Source | Example files |
| ------------------------------- | ---------------------------------- |
| Alpine APK packages | `/lib/apk/db/installed` |
| Debian/Ubuntu dpkg/apt packages | `/var/lib/dpkg/status` |
| | |
| Go Binaries | `main-go` |
| Java Uber `jars` | `my-java-app.jar` |
| Node Modules | `node-app/node_modules/...` |
| Python wheels | `lib/python3.11/site-packages/...` |
| Source | Example files |
| ------------------------------------ | ---------------------------------- |
| Alpine APK packages | `/lib/apk/db/installed` |
| Debian/Ubuntu dpkg/apt packages | `/var/lib/dpkg/status` |
| | |
| Go Binaries | `main-go` |
| Rust Binaries (with cargo-auditable) | `main-rust-built-with-auditable` |
| Java Uber `jars` | `my-java-app.jar` |
| Node Modules | `node-app/node_modules/...` |
| Python wheels | `lib/python3.11/site-packages/...` |

## Supported lockfiles/manifests

Expand Down
3 changes: 3 additions & 0 deletions pkg/osvscanner/internal/scanners/extractorbuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
"github.com/google/osv-scalibr/extractor/filesystem/language/python/wheelegg"
"github.com/google/osv-scalibr/extractor/filesystem/language/r/renvlock"
"github.com/google/osv-scalibr/extractor/filesystem/language/ruby/gemfilelock"
"github.com/google/osv-scalibr/extractor/filesystem/language/rust/cargoauditable"
"github.com/google/osv-scalibr/extractor/filesystem/language/rust/cargolock"
"github.com/google/osv-scalibr/extractor/filesystem/os/apk"
"github.com/google/osv-scalibr/extractor/filesystem/os/dpkg"
Expand Down Expand Up @@ -177,6 +178,8 @@ func BuildArtifactExtractors() []filesystem.Extractor {
gobinary.New(gobinary.DefaultConfig()),
// Javascript
nodemodules.Extractor{},
// Rust
cargoauditable.NewDefault(),

// --- OS packages ---
// Alpine
Expand Down