-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Prabhu Subramanian <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Introduction | ||
|
||
This repo is a vulnerability database and package search for sources such as AppThreat vuln-list, OSV, NVD, and GitHub. Vulnerability data are downloaded from the sources and stored in a sqlite based storage with indexes to allow offline access and quick searches. | ||
This repo is a vulnerability database and package search for sources such as AppThreat vuln-list, OSV, NVD, and GitHub. Vulnerability data are downloaded from the sources and stored in a sqlite based storage with indexes to allow offline access and efficient searches. | ||
|
||
## Vulnerability Data sources | ||
|
||
|
@@ -86,13 +86,16 @@ It is possible to customize the cache behavior by increasing the historic data p | |
- NVD_START_YEAR - Default: 2018. Supports up to 2002 | ||
- GITHUB_PAGE_COUNT - Default: 2. Supports up to 20 | ||
|
||
### Basic search | ||
## CLI search | ||
|
||
It is possible to perform a simple search using the cli. | ||
It is possible to perform a range of searches using the cli. | ||
|
||
```shell | ||
vdb --search pkg:pypi/[email protected] | ||
|
||
# Search based on a purl prefix | ||
vdb --search pkg:pypi/xml2dict | ||
|
||
# Full url and short form for swift | ||
vdb --search "pkg:swift/github.com/vapor/[email protected]" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters