Commit 373304b
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 <matteo.collina@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>1 parent 8b02485 commit 373304bCopy full SHA for 373304b
File tree
Expand file treeCollapse file tree
3 files changed
+33
-11
lines changedOpen diff view settings
Filter options
- tools/dep_checker
Expand file treeCollapse file tree
3 files changed
+33
-11
lines changedOpen diff view settings
Collapse file
tools/dep_checker/README.md
Copy file name to clipboardExpand all lines: tools/dep_checker/README.md+17-7Lines changed: 17 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
10 | | - |
11 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
12 | 20 | |
13 | 21 | |
14 | 22 | |
15 | 23 | |
16 | 24 | |
17 | 25 | |
18 | 26 | |
19 | | - |
| 27 | + |
20 | 28 | |
21 | | - |
| 29 | + |
| 30 | + |
| 31 | + |
22 | 32 | |
23 | 33 | |
24 | 34 | |
| ||
51 | 61 | |
52 | 62 | |
53 | 63 | |
54 | | - |
55 | | - |
| 64 | + |
| 65 | + |
56 | 66 | |
57 | 67 | |
58 | 68 | |
|
Collapse file
+15-3Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
21 | 22 | |
22 | 23 | |
23 | 24 | |
| ||
105 | 106 | |
106 | 107 | |
107 | 108 | |
108 | | - |
| 109 | + |
109 | 110 | |
110 | 111 | |
111 | 112 | |
| ||
121 | 122 | |
122 | 123 | |
123 | 124 | |
124 | | - |
| 125 | + |
| 126 | + |
| 127 | + |
125 | 128 | |
126 | 129 | |
127 | 130 | |
| ||
140 | 143 | |
141 | 144 | |
142 | 145 | |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
143 | 150 | |
| 151 | + |
144 | 152 | |
145 | 153 | |
146 | 154 | |
147 | 155 | |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
148 | 160 | |
149 | 161 | |
150 | 162 | |
151 | | - |
| 163 | + |
152 | 164 | |
153 | 165 | |
154 | 166 | |
|
Collapse file
tools/dep_checker/requirements.txt
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
0 commit comments