diff options
author | 2020-03-04 05:04:56 +0100 | |
---|---|---|
committer | 2020-03-04 05:04:56 +0100 | |
commit | 062dfa1f3bd86a7e8c898eac0ef948a425410986 (patch) | |
tree | e4074e40600f29e1b7535ccdbb80ae30341df623 | |
parent | cvetool: Catch call without any arguments (diff) | |
download | security-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-x | bin/cvetool | 2 |
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) |