You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when you have a symbolic link to a file that is either missing(removed for some reason) or link to a file that is out of the attached docker volume, kics stops the scan and throw some error such as:
Preparing Scan Assets: Done
Error: failed to read sources: failed to walk directory: failed to open file: open blabla.json: no such file or directory
I would prefer that in that case, we will just show a log that the file is missing and continue with the scan.
In addition, the bug is when I tried to exclude that file from the scan using '-e' flag I get the same error like it wasn't affecting at all.
for example, let's say we have a file named a.yaml and we create a symlink to that file called b.yaml(in the same directory). if for some reason a.yaml is removed and we run kics like: kics scan --disable-secrets -p $PWD -e $PWD/b.yaml
then we are getting the error like above.
The text was updated successfully, but these errors were encountered:
when you have a symbolic link to a file that is either missing(removed for some reason) or link to a file that is out of the attached docker volume, kics stops the scan and throw some error such as:
I would prefer that in that case, we will just show a log that the file is missing and continue with the scan.
In addition, the bug is when I tried to exclude that file from the scan using '-e' flag I get the same error like it wasn't affecting at all.
for example, let's say we have a file named a.yaml and we create a symlink to that file called b.yaml(in the same directory). if for some reason a.yaml is removed and we run kics like:
kics scan --disable-secrets -p $PWD -e $PWD/b.yaml
then we are getting the error like above.
The text was updated successfully, but these errors were encountered: