Fri, 27 Oct 2023 14:09:40 +0200
Regenerated the source documentation with the corrected module parser.
9325 | 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> | |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
30 | <td>Function to check for the use of insecure SNMP version like v1, v2c.</td> |
9325 | 31 | </tr> |
32 | <tr> | |
33 | <td><a href="#checkWeakCryptography">checkWeakCryptography</a></td> | |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
34 | <td>Function to check for the use of insecure SNMP cryptography (i.e.</td> |
9325 | 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 | ||
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
47 | <p> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
48 | Function to check for the use of insecure SNMP version like |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
49 | v1, v2c. |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
50 | </p> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
51 | <dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
52 | |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
53 | <dt><i>reportError</i> (func)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
54 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
55 | function to be used to report errors |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
56 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
57 | <dt><i>context</i> (SecurityContext)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
58 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
59 | security context object |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
60 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
61 | <dt><i>config</i> (dict)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
62 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
63 | dictionary with configuration data |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
64 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
65 | </dl> |
9325 | 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 | ||
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
73 | <p> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
74 | Function to check for the use of insecure SNMP cryptography |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
75 | (i.e. v3 using noAuthNoPriv). |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
76 | </p> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
77 | <dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
78 | |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
79 | <dt><i>reportError</i> (func)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
80 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
81 | function to be used to report errors |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
82 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
83 | <dt><i>context</i> (SecurityContext)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
84 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
85 | security context object |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
86 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
87 | <dt><i>config</i> (dict)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
88 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
89 | dictionary with configuration data |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
90 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
91 | </dl> |
9325 | 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> |