deepfence / SecretScanner

:unlock: :unlock: Find secrets and passwords in container images and file systems :unlock: :unlock:

Home Page:https://deepfence.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Own configuration file

cavo789 opened this issue · comments

Hello

Is it possible to use my own configuration file for, only, exceptions i.e. I want to keep yours but f.i. I wish to be able to skip anything under /var/www/vendor (excluded folder).

As far I understand, I can create a config.yaml file and use it with --config-path but if I do this, your file won't be loaded anymore so I first need to copy/paste yours in mine and make some changes (https://github.com/deepfence/SecretScanner/blob/master/config.yaml)

This is bad since yours will be upgraded in the future for more rules so, on my side, I just need to be able to extend it with my own rules like my exclusions.

Also, is it possible to foresee/change the --config argument so I can provide a filename (like .config/secret-scanner.yml. The name 'config.yaml is too generic; I've already plenty of configuration files.

Thanks