Skip to content

Commit 58bcf82

Browse files
committed
Update chores with vhp ready
1 parent aa942fe commit 58bcf82

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

CHORES.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,27 @@ When you find a correction, find the original YML file(s) that reference the sub
187187

188188
Push your corrections to a new branch and make a pull request.
189189

190+
191+
## Getting SWEN-331 CVEs
192+
193+
* Make sure you have the latest `vulnerabilities` repo
194+
* Make sure it's on the correct branch (e.g. dev or master depending on the situation)
195+
* Make sure you have the latest shepherd tools with `vhp version`
196+
* Check up on how to use `vhp ready` with `vhp help ready`
197+
198+
Run `vhp ready`. Example runs:
199+
200+
`vhp ready --project=kernel --min-vccs=1 --max-level=1`
201+
202+
Once you're happy with the output, pipe it to a CSV file, e.g.
203+
204+
`vhp ready --project=kernel --min-vccs=1 --max-level=1 --full > tmp/kernel_331_cves.csv`
205+
206+
The defaults of fixes and vccs being between 1 and 5 are pretty sensible, so this works:
207+
208+
`vhp ready --project=kernel --full > tmp/kernel_331_cves.csv`
209+
210+
190211
# Useful Tips and Tools
191212

192213
* SSH: for working on the servers, you'll need an SSH client. We recommend MobaXTerm or PuTTY for Windows, or just the terminal for Mac. MobaXTerm has a ton of nice features.
@@ -195,3 +216,4 @@ Push your corrections to a new branch and make a pull request.
195216
* Feel free to use `tmux` to detach your session so you can log out and have your session still running
196217
* Get the Windows "Terminal" app from the store - learn more https://github.com/microsoft/terminal
197218
* Research computing (TBD - very useful too)
219+

0 commit comments

Comments
 (0)