Closed security-companion closed 1 year ago
A WARNING
level message for every file that gets skipped?
That would lead to hundreds of Warning messages per scan.
Okay, if you want I can also convert it to an INFO. Then it would be the same level as "Skipping file due to fast scan mode"
I've adapted the pull request
@Neo23x0 What about adding (only if files were skipped) one warning or notice at the end with something like "There have been files skipped due to file size or unkown file type. Please rerun with --printall to see which"
Hi, I really like loki but recently I made an own rule and had a hard time figuring out why a certain file that I was scanning didn't trigger an alert that I had defined in my own rule. After some time I noticed that the reason for it was it's file size. Loki skips files that are bigger in size than the default value.
So my suggestion is:
What do you think? Would you accept these suggestions as a pull request?
Greetings security-companion