bandit does not respect -level for exit code
Bug #1480014 reported by
Austin English
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bandit |
Fix Released
|
Medium
|
Travis McPeak |
Bug Description
Running bandit on a project with -lll (high) or -ll (medium) shows no issues, but exits with status 1. There are low issues, however, which bandit detects (but doesn't print because of the level option).
Bandit's exit code should respect the level option, and not exit with an error if no issues were detected at the desired scan level.
Changed in bandit: | |
importance: | Undecided → Medium |
assignee: | nobody → Travis McPeak (travis-mcpeak) |
status: | New → Confirmed |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/208629
Review: https:/