Skip to content
Snippets Groups Projects
Commit 5188ba45 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-299: Disable B104: hardcoded bind to 0.0.0.0

parent d6737d02
No related branches found
No related tags found
1 merge request!74Resolve L2SS-299 "Disable bandit warning"
...@@ -24,9 +24,13 @@ commands = ...@@ -24,9 +24,13 @@ commands =
; doc8 doc/source/ README.rst ; doc8 doc/source/ README.rst
flake8 flake8
[testenv:bandit] [testenv:bandit];
; B104: hardcoded_bind_all_interfaces
; - We disable this warning as Docker serves as our firewall.
; It thus matters what interfaces Docker will bind our
; containers to, not what our containers listen on.
commands = commands =
bandit -r devices/ clients/ common/ examples/ util/ -n5 -ll bandit -r devices/ clients/ common/ examples/ util/ -n5 -ll -s B104
[flake8] [flake8]
filename = *.py,.stestr.conf,.txt filename = *.py,.stestr.conf,.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment