39 |
39 |
40 <hr /> |
40 <hr /> |
41 <hr /> |
41 <hr /> |
42 <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a> |
42 <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a> |
43 <h2>checkInsecureVersion</h2> |
43 <h2>checkInsecureVersion</h2> |
44 <b>checkInsecureVersion</b>(<i>reportError, context, config</i>) |
44 <b>checkInsecureVersion</b>(<i>reportError, context, _config</i>) |
45 <p> |
45 <p> |
46 Function to check for the use of insecure SNMP version like |
46 Function to check for the use of insecure SNMP version like |
47 v1, v2c. |
47 v1, v2c. |
48 </p> |
48 </p> |
49 |
49 |
55 </dd> |
55 </dd> |
56 <dt><i>context</i> (SecurityContext)</dt> |
56 <dt><i>context</i> (SecurityContext)</dt> |
57 <dd> |
57 <dd> |
58 security context object |
58 security context object |
59 </dd> |
59 </dd> |
60 <dt><i>config</i> (dict)</dt> |
60 <dt><i>_config</i> (dict)</dt> |
61 <dd> |
61 <dd> |
62 dictionary with configuration data |
62 dictionary with configuration data (unused) |
63 </dd> |
63 </dd> |
64 </dl> |
64 </dl> |
65 <div align="right"><a href="#top">Up</a></div> |
65 <div align="right"><a href="#top">Up</a></div> |
66 <hr /> |
66 <hr /> |
67 <hr /> |
67 <hr /> |
68 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> |
68 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> |
69 <h2>checkWeakCryptography</h2> |
69 <h2>checkWeakCryptography</h2> |
70 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>) |
70 <b>checkWeakCryptography</b>(<i>reportError, context, _config</i>) |
71 <p> |
71 <p> |
72 Function to check for the use of insecure SNMP cryptography |
72 Function to check for the use of insecure SNMP cryptography |
73 (i.e. v3 using noAuthNoPriv). |
73 (i.e. v3 using noAuthNoPriv). |
74 </p> |
74 </p> |
75 |
75 |
81 </dd> |
81 </dd> |
82 <dt><i>context</i> (SecurityContext)</dt> |
82 <dt><i>context</i> (SecurityContext)</dt> |
83 <dd> |
83 <dd> |
84 security context object |
84 security context object |
85 </dd> |
85 </dd> |
86 <dt><i>config</i> (dict)</dt> |
86 <dt><i>_config</i> (dict)</dt> |
87 <dd> |
87 <dd> |
88 dictionary with configuration data |
88 dictionary with configuration data (unused) |
89 </dd> |
89 </dd> |
90 </dl> |
90 </dl> |
91 <div align="right"><a href="#top">Up</a></div> |
91 <div align="right"><a href="#top">Up</a></div> |
92 <hr /> |
92 <hr /> |
93 <hr /> |
93 <hr /> |