diff options
-rwxr-xr-x | tools/cron.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/cron.py b/tools/cron.py index 85228e4..a5679e2 100755 --- a/tools/cron.py +++ b/tools/cron.py @@ -235,6 +235,12 @@ def parse_nvd_dict(directory): namespace = root.tag[:-3] for tree in root: + + if tree.get('severity') is None \ + or tree.get('CVSS_vector') is None \ + or tree.get('CVSS_score') is None: + continue + cve = { 'cve' : tree.get('name'), 'published' : tree.get('published'), |