25 |
25 |
26 <table> |
26 <table> |
27 |
27 |
28 <tr> |
28 <tr> |
29 <td><a href="#checkInsecureVersion">checkInsecureVersion</a></td> |
29 <td><a href="#checkInsecureVersion">checkInsecureVersion</a></td> |
30 <td></td> |
30 <td>Function to check for the use of insecure SNMP version like v1, v2c.</td> |
31 </tr> |
31 </tr> |
32 <tr> |
32 <tr> |
33 <td><a href="#checkWeakCryptography">checkWeakCryptography</a></td> |
33 <td><a href="#checkWeakCryptography">checkWeakCryptography</a></td> |
34 <td></td> |
34 <td>Function to check for the use of insecure SNMP cryptography (i.e.</td> |
35 </tr> |
35 </tr> |
36 <tr> |
36 <tr> |
37 <td><a href="#getChecks">getChecks</a></td> |
37 <td><a href="#getChecks">getChecks</a></td> |
38 <td>Public method to get a dictionary with checks handled by this module.</td> |
38 <td>Public method to get a dictionary with checks handled by this module.</td> |
39 </tr> |
39 </tr> |
42 <hr /> |
42 <hr /> |
43 <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a> |
43 <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a> |
44 <h2>checkInsecureVersion</h2> |
44 <h2>checkInsecureVersion</h2> |
45 <b>checkInsecureVersion</b>(<i>reportError, context, config</i>) |
45 <b>checkInsecureVersion</b>(<i>reportError, context, config</i>) |
46 |
46 |
|
47 <p> |
|
48 Function to check for the use of insecure SNMP version like |
|
49 v1, v2c. |
|
50 </p> |
|
51 <dl> |
|
52 |
|
53 <dt><i>reportError</i> (func)</dt> |
|
54 <dd> |
|
55 function to be used to report errors |
|
56 </dd> |
|
57 <dt><i>context</i> (SecurityContext)</dt> |
|
58 <dd> |
|
59 security context object |
|
60 </dd> |
|
61 <dt><i>config</i> (dict)</dt> |
|
62 <dd> |
|
63 dictionary with configuration data |
|
64 </dd> |
|
65 </dl> |
47 <div align="right"><a href="#top">Up</a></div> |
66 <div align="right"><a href="#top">Up</a></div> |
48 <hr /> |
67 <hr /> |
49 <hr /> |
68 <hr /> |
50 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> |
69 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> |
51 <h2>checkWeakCryptography</h2> |
70 <h2>checkWeakCryptography</h2> |
52 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>) |
71 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>) |
53 |
72 |
|
73 <p> |
|
74 Function to check for the use of insecure SNMP cryptography |
|
75 (i.e. v3 using noAuthNoPriv). |
|
76 </p> |
|
77 <dl> |
|
78 |
|
79 <dt><i>reportError</i> (func)</dt> |
|
80 <dd> |
|
81 function to be used to report errors |
|
82 </dd> |
|
83 <dt><i>context</i> (SecurityContext)</dt> |
|
84 <dd> |
|
85 security context object |
|
86 </dd> |
|
87 <dt><i>config</i> (dict)</dt> |
|
88 <dd> |
|
89 dictionary with configuration data |
|
90 </dd> |
|
91 </dl> |
54 <div align="right"><a href="#top">Up</a></div> |
92 <div align="right"><a href="#top">Up</a></div> |
55 <hr /> |
93 <hr /> |
56 <hr /> |
94 <hr /> |
57 <a NAME="getChecks" ID="getChecks"></a> |
95 <a NAME="getChecks" ID="getChecks"></a> |
58 <h2>getChecks</h2> |
96 <h2>getChecks</h2> |