diff options
author | Neil Williams <neil.williams@linaro.org> | 2018-10-01 08:33:51 +0100 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2018-10-01 16:14:00 +0100 |
commit | d353200b923472e09039ef7d7d59cbbad1967d33 (patch) | |
tree | b33dad5249fa109f07b21a88758acaeba2983b59 /lava_dispatcher/actions/deploy/overlay.py | |
parent | b69f7c11e41e0094d49b2fe2f60a8bb8fb6ee019 (diff) |
Add overrides for bandit false positives
Reduce the noise in the SAST report further.
Override bandit warnings in lava-dispatcher as bandit is
overly based on a web UI mindset.
Add overrides and fixes for files in ./share/
Signed-off-by: Neil Williams <neil.williams@linaro.org>
Diffstat (limited to 'lava_dispatcher/actions/deploy/overlay.py')
-rw-r--r-- | lava_dispatcher/actions/deploy/overlay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lava_dispatcher/actions/deploy/overlay.py b/lava_dispatcher/actions/deploy/overlay.py index ac6fe5452..26589b8fa 100644 --- a/lava_dispatcher/actions/deploy/overlay.py +++ b/lava_dispatcher/actions/deploy/overlay.py @@ -223,7 +223,7 @@ class MultinodeOverlayAction(OverlayAction): # Multinode-only self.lava_multi_node_test_dir = os.path.realpath( '%s/../../lava_test_shell/multi_node' % os.path.dirname(__file__)) - self.lava_multi_node_cache_file = '/tmp/lava_multi_node_cache.txt' + self.lava_multi_node_cache_file = '/tmp/lava_multi_node_cache.txt' # nosec - on the DUT self.role = None self.protocol = MultinodeProtocol.name @@ -316,7 +316,7 @@ class VlandOverlayAction(OverlayAction): # vland-only self.lava_vland_test_dir = os.path.realpath( '%s/../../lava_test_shell/vland' % os.path.dirname(__file__)) - self.lava_vland_cache_file = '/tmp/lava_vland_cache.txt' + self.lava_vland_cache_file = '/tmp/lava_vland_cache.txt' # nosec - on the DUT self.params = {} self.sysfs = [] self.tags = [] |