| 1 |
# NOTE: At present Bandit does *not* automatically source the .bandit |
| 2 |
# configuration file, invoke like so: |
| 3 |
# $ bandit -r --ini .bandit |
| 4 |
# For development it may be convenient to use flake8-bandit. |
| 5 |
|
| 6 |
[bandit] |
| 7 |
targets: cylc/flow |
| 8 |
skips: B404,B607 |
| 9 |
# B404: import_subprocess - consider security implications |
| 10 |
# * Ignored as the use of subprocesses is a project wide decision. |
| 11 |
# * The purpose of cylc is to run user defined code therefore the use |
| 12 |
# of subprocesses is unavoidable. |
| 13 |
# B607: Starting a process with a partial executable path |
| 14 |
# * Ignored as Cylc needs to be able to call out to executables which |
| 15 |
# may have to be installed into environments so we cannot specify |
| 16 |
# absolute paths. In some cases this may be required for portability. |
| 17 |
# * Users can modify their $PATH to get Cylc to call malicious scripts, |
| 18 |
# however, the purpose of Cylc Flow is to run user-defined code making |
| 19 |
# this a moot point, note all code is run as the user. Cylc Flow does |
| 20 |
# *not* provide multi-user functionality. |