It simplifies the conditions under which Guarddog will decide to perform a local scan: whenever the target is a directory or a regular file in the local filesystem. It also eliminates as much as possible duplicate checks related to local targets
It adds functions in guarddog/utils/archives.py for checking whether a file extension is for a supported archive format and uses them pervasively
This PR makes three principal changes:
It simplifies the conditions under which Guarddog will decide to perform a local scan: whenever the target is a directory or a regular file in the local filesystem. It also eliminates as much as possible duplicate checks related to local targets
It adds functions in
guarddog/utils/archives.py
for checking whether a file extension is for a supported archive format and uses them pervasivelyCloses #411