Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity</h1> <p> Module implementing checks for the insecure use of SNMP. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr><td>None</td></tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#checkInsecureVersion">checkInsecureVersion</a></td> <td>Function to check for the use of insecure SNMP version like v1, v2c.</td> </tr> <tr> <td><a href="#checkWeakCryptography">checkWeakCryptography</a></td> <td>Function to check for the use of insecure SNMP cryptography (i.e.</td> </tr> <tr> <td><a href="#getChecks">getChecks</a></td> <td>Public method to get a dictionary with checks handled by this module.</td> </tr> </table> <hr /> <hr /> <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a> <h2>checkInsecureVersion</h2> <b>checkInsecureVersion</b>(<i>reportError, context, _config</i>) <p> Function to check for the use of insecure SNMP version like v1, v2c. </p> <dl> <dt><i>reportError</i> (func)</dt> <dd> function to be used to report errors </dd> <dt><i>context</i> (SecurityContext)</dt> <dd> security context object </dd> <dt><i>_config</i> (dict)</dt> <dd> dictionary with configuration data (unused) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> <h2>checkWeakCryptography</h2> <b>checkWeakCryptography</b>(<i>reportError, context, _config</i>) <p> Function to check for the use of insecure SNMP cryptography (i.e. v3 using noAuthNoPriv). </p> <dl> <dt><i>reportError</i> (func)</dt> <dd> function to be used to report errors </dd> <dt><i>context</i> (SecurityContext)</dt> <dd> security context object </dd> <dt><i>_config</i> (dict)</dt> <dd> dictionary with configuration data (unused) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="getChecks" ID="getChecks"></a> <h2>getChecks</h2> <b>getChecks</b>(<i></i>) <p> Public method to get a dictionary with checks handled by this module. </p> <dl> <dt>Return:</dt> <dd> dictionary containing checker lists containing checker function and list of codes </dd> </dl> <dl> <dt>Return Type:</dt> <dd> dict </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>