Closed lucasnetau closed 4 years ago
I am so glad someone noticed this change on Ubuntu OVAL files and is trying to pull a workaround! Thanks for that!
I am now using your solution and I have noticed that "Debian Advisories" come as "text/plain", thus entering in your default switch statement...
I have also posted a two part issue an hour ago related with Ubuntu OVAL files... The first part is now solved with your solution but I still have the problem where I can not check CVEs on Ubuntu systems... I can only imagine that the reason for the problem is related to the change in the Canonical OVAL structure...
Good pickup @mgrosa, updated to handle the plain text DSA files.
Thanks @lucasnetau and @mgrosa!
Ubuntu and Oracle OVAL files are distributed with bz2 compression. Detect compression and decompress file before import.