vulndb/internal/cveclient
Tatiana Bradley 34375e4319 internal/cveclient, cmd/cve: tweak output of CVE publish
Modify cve publish to:
1) support the new MITRE web test instance, which displays test CVE
records
2) print out a link to the existing CVE record if it exists
3) not print out the full published CVE record

Also moves the logic for computing the web link to the cveclient instead
of the reports package.

Change-Id: I04b0ef8b93650b834908b29b7a2fa10eb41bf12a
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/459597
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Run-TryBot: Tatiana Bradley <tatiana@golang.org>
2022-12-28 16:08:25 +00:00
..
cveclient.go internal/cveclient, cmd/cve: tweak output of CVE publish 2022-12-28 16:08:25 +00:00
cveclient_test.go cmd/cve, internal/cveclient: check if a record is already published in cve publish 2022-10-31 15:59:27 +00:00