baude / image-scanner

[Deprecated] Vulnerability scanner for containers and images
GNU Lesser General Public License v2.1
14 stars 8 forks source link

return_cve_by_docker_obj fails #68

Closed ajcollins0 closed 9 years ago

ajcollins0 commented 9 years ago

I think if docker_state_file scanned a non-RHEL based image, then we will get the below error:

Traceback (most recent call last): File "image_scanner_client/tester.py", line 61, in obj = xmlp.return_cve_by_docker_obj(docker_state) File "/home/alcollin/Desktop/work/image-scanner/image_scanner_client/xml_parse.py", line 210, in return_cve_by_docker_obj cve_details = self._walk_cves(dock_pointer['cve_summary'] KeyError: 'cve_summary'

ajcollins0 commented 9 years ago

closed by PR #69