diff --git a/ipfabric/tools/nist.py b/ipfabric/tools/nist.py index f6041ef..2f10dd9 100644 --- a/ipfabric/tools/nist.py +++ b/ipfabric/tools/nist.py @@ -54,9 +54,7 @@ def check_cve(self, vendor: str, family: str, version: str): res = self.get('', params=params) res.raise_for_status() data = res.json() - for c in data['result']['CVE_Items']: - if len(c['cve']['description']['description_data']) > 1: - print() + cves = CVEs( total_results=data['totalResults'], cves=[CVE(cve_id=i['cve']['CVE_data_meta']['ID'],