You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the "-a vuln" option for the bandit command line, I get a KeyError.
promd-1s-dhcp317:bandit browne$ bandit -r ../glance/glance/ -a vuln
315 [0.. 50.. 100.. 150.. 200.. 250.. 300.. ]
Traceback (most recent call last):
File "/usr/local/bin/bandit", line 10, in
sys.exit(main())
File "/Library/Python/2.7/site-packages/bandit/bandit.py", line 88, in main
args.output_format)
File "/Library/Python/2.7/site-packages/bandit/core/manager.py", line 112, in output_results
output_format=output_format
File "/Library/Python/2.7/site-packages/bandit/core/result_store.py", line 382, in report
level=level) # noqa
File "/Library/Python/2.7/site-packages/bandit/core/result_store.py", line 324, in report_tty
issue['lineno'],
KeyError: 'lineno'
The text was updated successfully, but these errors were encountered:
When using the "-a vuln" option for the bandit command line, I get a KeyError.
promd-1s-dhcp317:bandit browne$ bandit -r ../glance/glance/ -a vuln
315 [0.. 50.. 100.. 150.. 200.. 250.. 300.. ]
Traceback (most recent call last):
File "/usr/local/bin/bandit", line 10, in
sys.exit(main())
File "/Library/Python/2.7/site-packages/bandit/bandit.py", line 88, in main
args.output_format)
File "/Library/Python/2.7/site-packages/bandit/core/manager.py", line 112, in output_results
output_format=output_format
File "/Library/Python/2.7/site-packages/bandit/core/result_store.py", line 382, in report
level=level) # noqa
File "/Library/Python/2.7/site-packages/bandit/core/result_store.py", line 324, in report_tty
issue['lineno'],
KeyError: 'lineno'
The text was updated successfully, but these errors were encountered: