add bandit security linter
skip B104:hardcoded_bind_all_interfaces since we are an API, so we need to bind to all interfaces, skip this test for now. Change-Id: I2ce3eccb28872b81c04f79e2434833f8c038af3f
This commit is contained in:
@@ -39,7 +39,7 @@ LOG = logging.getLogger(__name__)
|
||||
|
||||
occi_opts = [
|
||||
config.cfg.StrOpt('ooi_listen',
|
||||
default="0.0.0.0",
|
||||
default="0.0.0.0", # nosec
|
||||
help='The IP address on which the OCCI (ooi) API '
|
||||
'will listen.'),
|
||||
config.cfg.IntOpt('ooi_listen_port',
|
||||
|
||||
Reference in New Issue
Block a user