Skip to content

Commit 6d5497b

Browse files
committed
feat(osv_scanner): Add .gitignore and update README with output directory instructions for scanning docker images
1 parent 33ad0fd commit 6d5497b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

48_osv_scanner/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
out

48_osv_scanner/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ just scan-repo ../my_repo --json | jq .
2525
```sh
2626
docker pull nginx:1.27.4
2727
osv-scanner scan --docker nginx:1.27.4
28+
29+
# NOTE: It doesn't seem to be scanning the .venv or pipfile.lock in the container.
30+
mkdir -p ./out
31+
osv-scanner scan --experimental-all-packages --format=json --docker nginx:1.27.4 > ./out/nginx1.27.4.json
2832
```
2933

3034
## Resources

0 commit comments

Comments
 (0)