You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-7Lines changed: 27 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,22 +39,39 @@ Multiple upstream sources are used by vdb to improve accuracy and reduce false n
39
39
## Installation
40
40
41
41
```shell
42
-
pip install appthreat-vulnerability-db>=6.0.0
42
+
pip install appthreat-vulnerability-db>=6.0.1
43
43
```
44
44
45
-
VDB v6 is a major rewrite to use sqlite database. Current users of depscan v5 must continue using version 5.6.x
45
+
To install vdb with optional dependencies such as `oras` use the `[oras]` or `[all]` dependency group.
46
46
47
47
```shell
48
-
pip install appthreat-vulnerability-db==5.6.6
48
+
pip install appthreat-vulnerability-db[all]
49
+
```
50
+
51
+
**NOTE:** VDB v6 is a major rewrite to use sqlite database. Current users of depscan v5 must continue using version 5.6.x
52
+
53
+
```shell
54
+
pip install appthreat-vulnerability-db==5.6.7
49
55
```
50
56
51
57
## Usage
52
58
53
59
This package is ideal as a library for managing vulnerabilities. This is used by [owasp-dep-scan](http://github.com/owasp-dep-scan/dep-scan), a free open-source dependency audit tool. However, there is a limited cli capability available with few features to test this tool directly.
To download a pre-built sqlite database ([refreshed](https://github.com/AppThreat/vdb/actions) every 6 hours) containing all application and OS vulnerabilities. This step is recommended for all users.
64
+
65
+
```shell
66
+
# pip install appthreat-vulnerability-db[all]
67
+
vdb --download-image
68
+
```
69
+
70
+
You can execute this command daily or when a fresh database is required.
56
71
57
-
Use the [ORAS cli](https://oras.land/cli/) to download a pre-built sqlite database ([refreshed](https://github.com/AppThreat/vdb/actions) every 6 hours) containing all application and OS vulnerabilities. This is recommended for all users.
72
+
### Option 2: Download pre-built database (ORAS)
73
+
74
+
Using [ORAS cli](https://oras.land/) might be slightly faster.
58
75
59
76
```
60
77
export VDB_HOME=$HOME/vdb
@@ -73,7 +90,7 @@ Use any sqlite browser or cli tools to load and query the two databases.
Copy file name to clipboardExpand all lines: pyproject.toml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[project]
2
2
name = "appthreat-vulnerability-db"
3
-
version = "6.0.0"
3
+
version = "6.0.1"
4
4
description = "AppThreat's vulnerability database and package search library with a built-in sqlite based storage. OSV, CVE, GitHub, npm are the primary sources of vulnerabilities."
0 commit comments