B508: snmp_insecure_versionΒΆ

bandit.plugins.snmp_security_check.snmp_insecure_version_check(context)[source]

B508: Checking for insecure SNMP versions

This test is for checking for the usage of insecure SNMP version like
v1, v2c
Using the pysnmp documentation:
http://snmplabs.com/pysnmp/examples/hlapi/asyncore/sync/manager/cmdgen/snmp-versions.html

Please update your code to use more secure versions of SNMP.

New in version 1.7.2.