diff --git a/tests/functional/test_functional.py b/tests/functional/test_functional.py index ab2ada95e..5fa51217f 100644 --- a/tests/functional/test_functional.py +++ b/tests/functional/test_functional.py @@ -824,3 +824,11 @@ def test_no_blacklist_pycryptodome(self): "CONFIDENCE": {"UNDEFINED": 0, "LOW": 0, "MEDIUM": 0, "HIGH": 0}, } self.check_example("pycryptodome.py", expect) + + def test_snmp_security_check(self): + """Test insecure and weak crypto usage of SNMP.""" + expect = { + "SEVERITY": {"UNDEFINED": 0, "LOW": 0, "MEDIUM": 3, "HIGH": 0}, + "CONFIDENCE": {"UNDEFINED": 0, "LOW": 0, "MEDIUM": 0, "HIGH": 3}, + } + self.check_example("snmp.py", expect)