Tartufo does not put exclusions in report file when using --output-format report
when repo is not the present working directory
#416
Labels
bug
Something isn't working
🐛 Bug Report
If I run tartufo to scan a directory from one level above my repo, it reads the tartufo.toml file to apply exclusions, but doesn't include any exclusions in the report file.
To Reproduce
This command:
Creates this output:
In this case, ${GITHUBREPO} is set to "puppet"
The local directory structure is setup as follows:
Directory tartufo is being run from:
Directory repo is located in:
Expected Behavior
If I run tartufo from within the repo directory, I get the expected output:
Click to expand output of previous command
In this case, tartufo is being run from within the directory the repo is located in:
Code Example
Repo "puppet" used in this bug report
Command that works properly:
Command that omits exclusions from the report:
Where ${GITHUBREPO} is not the present working directory
Environment
Running in WSL
Environment details:
This is the contents of the tartufo.toml file in the "puppet" repo used in this bug report:
Click to expand contents of tartufo.toml
The text was updated successfully, but these errors were encountered: