Skip to content

.talismanrc ignoreconfig does not disable filecontent detector #106

Closed
@ghost

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

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions