Closed

Description
I tried to disable the filecontent detector for a specific file as detailed in readme, talisman seems not to pick up a ignore_detectors: [filecontent] directive for a file.
version: talisman v0.4.3
reproduce
- have talisman installed globally (I followed instructions in readme)
- clone https://github.com/foo-tw/talisman-noignore-reproduce
- modify the
test
file (in my case, added a blank line between existing lines 1&2) - run
git add -u && git ci -mmodified
expected
because of the .talismanrc
configuration, file test
passes checks and git commits without problem
actual
Talisman Report:
+------+--------------------------------+
| FILE | ERRORS |
+------+--------------------------------+
| test | Potential secret pattern : |
| | AWS_SECRET_KEY_ID= |
+------+--------------------------------+
If you are absolutely sure that you want to ignore the above files from talisman detectors, consider pasting the following format in .talismanrc file in the project root
fileignoreconfig:
- filename: test
checksum: f6412e100630a0848de579c5bdb151a6c820b0d3a4c2c6a3f3c9cc6df67551f3
ignore_detectors: []
am I misunderstanding something in the configuration?
Metadata
Metadata
Assignees
Labels
No labels