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
tools: add support for using API key to vuln checking script
This change adds a new parameter `--nvd-key` to `dep_checker`,
which allows the user to specify a NVD API key with which to query
the National Vulnerability Database.
This increases the rate at which we are allowed to query the
database, which speeds up the running time of the script.
PR-URL: #43909
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Copy file name to clipboardExpand all lines: tools/dep_checker/README.md
+17-7
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,29 @@ in Node's dependencies.
6
6
7
7
## How to use
8
8
9
-
In order to query the GitHub Advisory Database,
10
-
a [Personal Access Token](https://docs.github.com./en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
11
-
has to be created (no permissions need to be given to the token, since it's only used to query the public database).
9
+
### Database authentication
10
+
11
+
- In order to query the GitHub Advisory Database,
12
+
a [Personal Access Token](https://docs.github.com./en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)
13
+
has to be created (no permissions need to be given to the token, since it's only used to query the public database).
14
+
- The NVD can be queried without authentication, but it will be rate limited to one query every six seconds. In order to
15
+
remove
16
+
that limitation [request an API key](https://nvd.nist.gov/developers/request-an-api-key) and pass it as a parameter.
0 commit comments