This repository was archived by the owner on Dec 8, 2025. It is now read-only.
Commit e108785
authored
Release of version 1.2.0, 1.2.1 and SPPCheck 1.0.0
Release of SPPCheck version 1.0.0
Note that this release does not include code documentation yet.
It must still be transferred from the masters thesis into code documentation later on.
## [1.2.1] - 2022-08-21
### Added
* Release of SPPCheck v1.0.0
* Its changes will be logged within this file
* SPPCheck function and internal structure
* Added Grafana Dashboard for SPPCheck
### Changed
* Upgraded CodeQL to v3
* Extended `SppUtils.mk_logger_file` method by an logger_dir argument to allow different log files for SPPMon and SPPCheck
* Added "sppcheckLogs" to the gitignore file.
* Moved all cSpell settings from the workspace file to the settings file
* Removed/Moved total count of exceptions during execution
* Moved verbose setting of sub-modules into init method to avoid issues and clarify program structure
* Error-Messages now have the prefix "ERROR: "
* Added InfluxClient function "get_list_rp" to query all retention policies, moving it out of existing functionality
### Fixed
* Code scanning alert #2 and #3: Printing passwords into logger due to an faulty if-expression.
* CheckPID file now uses the class-verbose setting and no longer ARGS-Verbose, making it independent of actual args.
* Fixed PID file checks under windows
* Fixed PID file entries not being deleted.
* Removed unnecessary and confusing check when creating a SelectionQuery
### Known Issues
* SPPCheck lacks a lot of documentation, which is to be delivered on a later date.
## [1.2.0] - 2022-06-17
### Added
* Adds FullLogs and LoadedSystem information to the Grafana SPPMon Runtime Duration panel.
* Adds clarification that all timestamps are changed into second precision on insert.
* Adds support for batch insert to insert into a different retention policy
* Selection queries now also support an alternative retention policy to query from
* CreateRP-Method in the influxClient to allow creating non-lasting retention policies
* Adds pandas-stubs, openpyxl and pyxlsb to requirements file
* Prints total count of errors during the execution if there are any - instead of "script finished" output
* Added type spelling dictionary to the settings file
* Added linting settings to the settings file
* Added two new tables to the definitions.py file which are only executed if SPPCheck is executed.
### Changed
* Moved pid files-functions and other functions from SPPMon to helper functions.
* Adjusted log messages to make their message generic if required.
* Added arguments to replace self-access.
* Changed default log and pid-file locations from `home/sppmonLogs/FILE` to `spectrum-protect-sppmon/sppmonLogs/FILE`
* Added init declarations in the SPPMon `__init__` function to allow overview of all self-vars
* Changed SelectionQueries to only take a single table instead of an List of such, as it isn't required and complicates the code
* Predefined retention policies are no longer protected in the definitions module.
* Sending a select query now raises a error when it fails.
* Allows SelectionQueries from table to be another inner-selection query
* Changed all calls of the constructor
* Made sure to only allow inner queries when using the selection-keyword.
* Changed the severity of unknown type-annotation due to submodules not being typed from error to warning.
* Minor printing edits when generifing Dashboard
* Removes deprecated functions
### Fixed
* Fixed typo in exception_utils.py file, renaming it and all references on it.
* Lots of typos in the inline documentation
* SelectionQuery and associated methods: Introduces Optional annotation to fix linter error
### Known Issues
* In newer Grafana versions the dashboard import might corrupt the datasource name. A fix is unavailable yet, though the error is only visual.
* Some typos in the table definitions (commited / uncommited) cannot be fixed. This would not be backward-compatible and break the database.File tree
60 files changed
+13816
-1664
lines changed- Grafana
- config_files
- python
- .vscode
- influx
- sppCheck
- excel
- predictor
- report
- media
- sppConnection
- sppcheck
- generator
- json_structures
- predictor
- report
- sppmonMethods
- utils
- scripts
- installScript
- wiki/pictures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
60 files changed
+13816
-1664
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
12 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
10 | 61 | | |
11 | 62 | | |
12 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
13 | 75 | | |
14 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
15 | 92 | | |
16 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
17 | 103 | | |
18 | 104 | | |
19 | 105 | | |
20 | 106 | | |
21 | | - | |
| 107 | + | |
22 | 108 | | |
23 | 109 | | |
24 | 110 | | |
| |||
121 | 207 | | |
122 | 208 | | |
123 | 209 | | |
124 | | - | |
| 210 | + | |
125 | 211 | | |
126 | 212 | | |
127 | 213 | | |
| |||
133 | 219 | | |
134 | 220 | | |
135 | 221 | | |
136 | | - | |
| 222 | + | |
137 | 223 | | |
138 | 224 | | |
139 | 225 | | |
| |||
142 | 228 | | |
143 | 229 | | |
144 | 230 | | |
145 | | - | |
| 231 | + | |
146 | 232 | | |
147 | 233 | | |
148 | 234 | | |
| |||
184 | 270 | | |
185 | 271 | | |
186 | 272 | | |
187 | | - | |
| 273 | + | |
188 | 274 | | |
189 | 275 | | |
190 | 276 | | |
| |||
263 | 349 | | |
264 | 350 | | |
265 | 351 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
270 | 356 | | |
271 | 357 | | |
272 | 358 | | |
| |||
275 | 361 | | |
276 | 362 | | |
277 | 363 | | |
278 | | - | |
| 364 | + | |
279 | 365 | | |
280 | 366 | | |
281 | 367 | | |
282 | | - | |
| 368 | + | |
0 commit comments