src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity.html

branch
eric7
changeset 10070
9f5758c0fec1
parent 9325
8157eb19aba5
child 10259
b51dfacef37f
equal deleted inserted replaced
10069:435cc5875135 10070:9f5758c0fec1
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>Function to check for the use of insecure SNMP version like v1, v2c.</td> 30 <td></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>Function to check for the use of insecure SNMP cryptography (i.e.</td> 34 <td></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>
66 <div align="right"><a href="#top">Up</a></div> 47 <div align="right"><a href="#top">Up</a></div>
67 <hr /> 48 <hr />
68 <hr /> 49 <hr />
69 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a> 50 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a>
70 <h2>checkWeakCryptography</h2> 51 <h2>checkWeakCryptography</h2>
71 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>) 52 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>)
72 53
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>
92 <div align="right"><a href="#top">Up</a></div> 54 <div align="right"><a href="#top">Up</a></div>
93 <hr /> 55 <hr />
94 <hr /> 56 <hr />
95 <a NAME="getChecks" ID="getChecks"></a> 57 <a NAME="getChecks" ID="getChecks"></a>
96 <h2>getChecks</h2> 58 <h2>getChecks</h2>

eric ide

mercurial