File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ as real git repositories.
69
69
#### Example
70
70
71
71
``` bash
72
- $ go run ./cmd/ osv-scanner -r /path/to/your/dir
72
+ $ osv-scanner -r /path/to/your/dir
73
73
```
74
74
75
75
### Input an SBOM
@@ -84,7 +84,7 @@ auto-detected based on the input file contents.
84
84
#### Example
85
85
86
86
``` bash
87
- $ go run ./cmd/ osv-scanner --sbom=/path/to/your/sbom.json
87
+ $ osv-scanner --sbom=/path/to/your/sbom.json
88
88
```
89
89
90
90
### Input a lockfile
@@ -109,7 +109,7 @@ A wide range of lockfiles are supported by utilizing this [lockfile package](htt
109
109
#### Example
110
110
111
111
``` bash
112
- $ go run ./cmd/ osv-scanner --lockfile=/path/to/your/package-lock.json -L /path/to/another/Cargo.lock
112
+ $ osv-scanner --lockfile=/path/to/your/package-lock.json -L /path/to/another/Cargo.lock
113
113
```
114
114
115
115
### Scanning a Debian based docker image packages (preview)
@@ -125,7 +125,7 @@ This currently does not scan the filesystem of the Docker container, and has var
125
125
#### Example
126
126
127
127
``` bash
128
- $ go run ./cmd/ osv-scanner --docker image_name:latest
128
+ $ osv-scanner --docker image_name:latest
129
129
```
130
130
131
131
## Configure OSV-Scanner
You can’t perform that action at this time.
0 commit comments