clients/test-requirements.txt
Sharath Kumar K 697b43e00f Tox and Zuul job for the python code scan in starlingx/clients
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/clients folder.
Expecting this merge will enable zuul job for CI/CD of bandit scan.

Configuration files:
1. tox.ini for adding bandit environment and command.
2. test-requirements.txt for adding bandit version.
3. .zuul.yaml file for adding bandit job and configuring under
   check job to run code scan every time before code commit.

Test:
Run tox -e bandit command inside the fault folder to validate the
bandit scan and result.

Please note:
Changes will be implemented in batches and  this is Batch5 change.

Story: 2007541
Task: 39624
Depends-On: https://review.opendev.org/#/c/721294/

Change-Id: I602b43f0f0bc70a1eb48b11aa07fdf2e286db408
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
2020-06-29 08:24:30 +00:00

5 lines
78 B
Plaintext

bashate >= 0.2
PyYAML >= 3.1.0
yamllint >= 0.5.2
bandit!=1.6.0,>=1.1.0,<2.0.0