aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-04 05:04:56 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-04 05:04:56 +0100
commit062dfa1f3bd86a7e8c898eac0ef948a425410986 (patch)
treee4074e40600f29e1b7535ccdbb80ae30341df623
parentcvetool: Catch call without any arguments (diff)
downloadsecurity-062dfa1f3bd86a7e8c898eac0ef948a425410986.tar.gz
security-062dfa1f3bd86a7e8c898eac0ef948a425410986.tar.bz2
security-062dfa1f3bd86a7e8c898eac0ef948a425410986.zip
cvetool: info: show internal CVE id in addition
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rwxr-xr-xbin/cvetool2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cvetool b/bin/cvetool
index f60248b..28b8901 100755
--- a/bin/cvetool
+++ b/bin/cvetool
@@ -83,7 +83,7 @@ class CVETool:
print('{} not found in Gentoo\'s CVE database!'.format(cve))
sys.exit(0)
- print(' CVE ID: ' + data['cve_id'])
+ print(' CVE ID: ' + data['cve_id'] + ' (#' + str(data['id']) + ')')
print(' Summary: ' + data['summary'])
print(' Published: ' + (data['published_at'] if data['published_at'] is not None else "Not yet published"))
print('-' * 80)