Closed bugbaba closed 5 months ago
@bugbaba Thanks for the detailed report. Would you also share what's in the noseyparker_exclude.txt
file that you are using?
Hi @bradlarsen, Thank you for looking into this. I currently only have cdk.json
in it as I am trying to understand and make this work.
@bugbaba Oh, I see. I think what you are encountering here is the impact of #17: in Nosey Parker currently, the path-based ignore rules are not used at all when scanning history in Git repositories.
Sorry, I should have checked the open issues.
Sorry, I should have checked the open issues.
No problem! I appreciate the detailed bug report regardless!
Hi Team,
Describe the bug The
--ignore
flag forscan
module doesn't works for git url and local directory input.To Reproduce With git-url: Log: https://gist.github.com/bugbaba/ff514ed795731e12b0c3a87031ca801e
With same repo cloned locally: Log: https://gist.github.com/bugbaba/0cfd2a1e5603ae1b68710aef7ac11e78
Expected behavior The file passed with
--ignore
flag should be parsed and the files mentioned in it should not be scanned.Actual behavior The ignore file contains
cdk.json
that should be ignore and shouldn't be searched. But still findings are found in the file. The file passed with--ignore
flag is not even parsed for git-url input. For the local directory input the file is parsed but still its failing to avoid the files specified.Screenshots
Output of
noseyparker --version
-- Best Regards, @bugbaba