bandit icon indicating copy to clipboard operation
bandit copied to clipboard

How to exclude .bandit inside folder scan ?

Open dugdug36 opened this issue 5 years ago • 1 comments

I would like make massive scanning in many repos, some repos have .bandit file (its scanning profile). How to exclude this profile like --ignore-nosec do it ?. @jreese @jparise @flaper87 @ajaeger @Psycojoker

dugdug36 avatar Oct 09 '20 14:10 dugdug36

@dugdug36 It's actually easy bandit has an exclude command -x. example:

bandit -r my_project -x my_project/.bandit

This command will scan all files in my_project dirctory except for .bandit

meuzgebre avatar Sep 06 '22 10:09 meuzgebre