ipdk-io / ipdk

Infrastructure Programmer Development Kit (IPDK) is an open source, vendor agnostic framework of drivers and APIs for infrastructure offload and management that runs on a CPU, IPU, DPU or switch.
Apache License 2.0
185 stars 68 forks source link

Fix bandit warnings in storage code. #291

Closed artek-koltun closed 2 years ago

artek-koltun commented 2 years ago

Bandit warns about subprocess usage, which is vulnerable to shell injections. However, this module is needed to run fio against devices. The required parameters were added to avoid shell injections and bandit warnings were suppressed.