We've had support for .tar.xz files but not .xz files. This PR tweaks our .tar.xz checks to support both.
This will allow us to scan our archived sample binaries without needing to extract them as part of the repository cloning. To do so, I'll need to make the archive names match the .simple file names so that's for a later PR.
We've had support for
.tar.xz
files but not.xz
files. This PR tweaks our.tar.xz
checks to support both.This will allow us to scan our archived sample binaries without needing to extract them as part of the repository cloning. To do so, I'll need to make the archive names match the
.simple
file names so that's for a later PR.