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

branch
eric7
changeset 9325
8157eb19aba5
child 10070
9f5758c0fec1
equal deleted inserted replaced
9324:7f7f3e47b238 9325:8157eb19aba5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity</h1>
10
11 <p>
12 Module implementing checks for the insecure use of SNMP.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22 <tr><td>None</td></tr>
23 </table>
24 <h3>Functions</h3>
25
26 <table>
27
28 <tr>
29 <td><a href="#checkInsecureVersion">checkInsecureVersion</a></td>
30 <td>Function to check for the use of insecure SNMP version like v1, v2c.</td>
31 </tr>
32 <tr>
33 <td><a href="#checkWeakCryptography">checkWeakCryptography</a></td>
34 <td>Function to check for the use of insecure SNMP cryptography (i.e.</td>
35 </tr>
36 <tr>
37 <td><a href="#getChecks">getChecks</a></td>
38 <td>Public method to get a dictionary with checks handled by this module.</td>
39 </tr>
40 </table>
41 <hr />
42 <hr />
43 <a NAME="checkInsecureVersion" ID="checkInsecureVersion"></a>
44 <h2>checkInsecureVersion</h2>
45 <b>checkInsecureVersion</b>(<i>reportError, context, config</i>)
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>
67 <hr />
68 <hr />
69 <a NAME="checkWeakCryptography" ID="checkWeakCryptography"></a>
70 <h2>checkWeakCryptography</h2>
71 <b>checkWeakCryptography</b>(<i>reportError, context, config</i>)
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>
92 <div align="right"><a href="#top">Up</a></div>
93 <hr />
94 <hr />
95 <a NAME="getChecks" ID="getChecks"></a>
96 <h2>getChecks</h2>
97 <b>getChecks</b>(<i></i>)
98
99 <p>
100 Public method to get a dictionary with checks handled by this module.
101 </p>
102 <dl>
103 <dt>Return:</dt>
104 <dd>
105 dictionary containing checker lists containing checker function and
106 list of codes
107 </dd>
108 </dl>
109 <dl>
110 <dt>Return Type:</dt>
111 <dd>
112 dict
113 </dd>
114 </dl>
115 <div align="right"><a href="#top">Up</a></div>
116 <hr />
117 </body></html>

eric ide

mercurial