Commit Graph

6 Commits

Author SHA1 Message Date
zhufl 1e8d93841f Fix duplicated words issue like "is is provided to"
This is to fix the duplicated words issue like
"This object is is provided to the plugin"

Change-Id: I857463b9fd9a1db9763fd0a335c8b9413f35ed62
2020-05-20 08:29:06 +00:00
Tim Kelsey 021d441d6f Bandit password tests
These tests were broken, a previous patch failed to fix them
(referenced old docs). This patch actually fixes them and adds
nosec comments as needed. Note that 'hardcoded_password_default'
is disabled until some issues are resolved.

Change-Id: I0c6977b48fd824cfdb13e86086476a4acd945585
2016-04-01 12:03:16 +01:00
Tim Kelsey 72b5a58abc Fixing the bandit config
Change-Id: Ie812a5ab88c298b0f074f0d4aa1ff1b5b3e31576
2016-03-31 17:01:53 +01:00
Tim Kelsey df9dfbcde3 Fixes to make bandit integration tests work with sahara
Change-Id: I4457c4b2f8a8c25c1afba89df34497a144c7cc4a
Partial-Bug: #1546777
2016-02-18 16:35:38 +00:00
Travis McPeak 2e3a28eeb5 Bringing the Sahara Bandit config current
There have been several changes in Bandit since the Sahara profile
was implemented.  This commit brings the Sahara config up to date
by:
  - changing info to severity to low
  - adding a couple of plugin configs - currently unused

It should be noted that upstream Bandit config has recently had
some changes to make it more organized and readable.  It's
probably worth implementing a new profile for Sahara, based on
upstream Bandit's example profile, soon.

Change-Id: I37d62708282a4aa830d84e2a1749ac53d3923a0a
2015-10-14 09:41:09 -04:00
Michael McCune f0d39aa777 Adding basic bandit config
This change adds a basic bandit config for sahara. It can be invoked by
running the tox environment for bandit; `$ tox -e bandit`. The tests are
based on the default bandit configuration with a few blacklist tests as
well. This is intended as a starting point for using bandit with sahara
and it should be revisited to improve the testing as more is learned
about the specific needs of the sahara code base.

* adding bandit.yaml configuration
* adding bandit to tox.ini
* adding a requirements file for bandit tox environment

Change-Id: I4b03f04dca80b146fdbae31a6b6011e78380d665
2015-04-27 12:04:25 -04:00