5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity</h1> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing checks for the insecure use of SNMP. |
11 Module implementing checks for the insecure use of SNMP. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 <tr><td>None</td></tr> |
21 <tr><td>None</td></tr> |
23 </table> |
22 </table> |
|
23 |
24 <h3>Functions</h3> |
24 <h3>Functions</h3> |
25 |
|
26 <table> |
25 <table> |
27 |
|
28 <tr> |
26 <tr> |
29 <td><a href="#checkInsecureVersion">checkInsecureVersion</a></td> |
27 <td><a href="#checkInsecureVersion">checkInsecureVersion</a></td> |
30 <td>Function to check for the use of insecure SNMP version like v1, v2c.</td> |
28 <td>Function to check for the use of insecure SNMP version like v1, v2c.</td> |
31 </tr> |
29 </tr> |
32 <tr> |
30 <tr> |
36 <tr> |
34 <tr> |
37 <td><a href="#getChecks">getChecks</a></td> |
35 <td><a href="#getChecks">getChecks</a></td> |
38 <td>Public method to get a dictionary with checks handled by this module.</td> |
36 <td>Public method to get a dictionary with checks handled by this module.</td> |
39 </tr> |
37 </tr> |
40 </table> |
38 </table> |
|
39 |
41 <hr /> |
40 <hr /> |
42 <hr /> |
41 <hr /> |
43 <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a> |
42 <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a> |
44 <h2>checkInsecureVersion</h2> |
43 <h2>checkInsecureVersion</h2> |
45 <b>checkInsecureVersion</b>(<i>reportError, context, config</i>) |
44 <b>checkInsecureVersion</b>(<i>reportError, context, config</i>) |
46 |
|
47 <p> |
45 <p> |
48 Function to check for the use of insecure SNMP version like |
46 Function to check for the use of insecure SNMP version like |
49 v1, v2c. |
47 v1, v2c. |
50 </p> |
48 </p> |
|
49 |
51 <dl> |
50 <dl> |
52 |
51 |
53 <dt><i>reportError</i> (func)</dt> |
52 <dt><i>reportError</i> (func)</dt> |
54 <dd> |
53 <dd> |
55 function to be used to report errors |
54 function to be used to report errors |
67 <hr /> |
66 <hr /> |
68 <hr /> |
67 <hr /> |
69 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> |
68 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> |
70 <h2>checkWeakCryptography</h2> |
69 <h2>checkWeakCryptography</h2> |
71 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>) |
70 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>) |
72 |
|
73 <p> |
71 <p> |
74 Function to check for the use of insecure SNMP cryptography |
72 Function to check for the use of insecure SNMP cryptography |
75 (i.e. v3 using noAuthNoPriv). |
73 (i.e. v3 using noAuthNoPriv). |
76 </p> |
74 </p> |
|
75 |
77 <dl> |
76 <dl> |
78 |
77 |
79 <dt><i>reportError</i> (func)</dt> |
78 <dt><i>reportError</i> (func)</dt> |
80 <dd> |
79 <dd> |
81 function to be used to report errors |
80 function to be used to report errors |