baude / image-scanner

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

xml_parse needs to work on a given ET object #37

Closed baude closed 9 years ago

baude commented 9 years ago

Right now the xml_parse API assumes local access to the XML result oval file. There is a client API that gets a XML from any host and returns it as an Elementtree (ET) object. We need to be able to pass the xml_parse a file_path/name or an ET object.

baude commented 9 years ago

Closed with https://github.com/baude/image-scanner/commit/b48a3c39fa5a4ef7d6b2baf741f7cd9696f3061d