I would like to get python code for an analysis using Bandit static analyzer. The main emphasis is security, for python 2.7.
Can anyone help ?
I would like to get python code for an analysis using Bandit static analyzer. The main emphasis is security, for python 2.7.
Can anyone help ?
Copyright © 2021 Jogjafile Inc.
You don't need to write code to test your software using Bandit static analyzer tool.
All you need to do (in the most basic scenario) is:
pip3 install bandit(Python3) orpip install bandit(Python2)cd /home/user/projects/abc/bandit -r .What you may also want to do, is to exclude virtualenv libraries' files from testing by adding
-x envto the command (now it would look like this:bandit -r . -x env).For more information, please refer to Bandit main page.