Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(db): store sessions in the database #182

Merged
merged 2 commits into from
Dec 9, 2022
Merged

feat(db): store sessions in the database #182

merged 2 commits into from
Dec 9, 2022

Conversation

fkglr
Copy link
Contributor

@fkglr fkglr commented Jun 24, 2022

Adresses #17

The idea behind this pull request is to remove the currently in place session scans at the start of most of the scanners and to replace them with the results from a full session scan as delivered by the scan-sessions script.
Therefore, the corresponding information is stored in a separate database table.

There is however still work to do here.
Currently only the logging to the database and the usage of this information during a session change is implemented and it is not clear if the current format, which can only stores transitions but no other information, is sufficient. Or in other words, can a broader format add enough value to justify replacing the simple session transition format?

@fkglr fkglr requested review from rumpelsepp and peckto as code owners June 24, 2022 15:31
@fkglr fkglr marked this pull request as draft June 24, 2022 15:31
@fkglr fkglr self-assigned this Jun 27, 2022
@rumpelsepp rumpelsepp added the enhancement New feature or request label Jun 30, 2022
@fkglr fkglr force-pushed the session-db branch 2 times, most recently from 342dc17 to 49aec0a Compare August 9, 2022 15:55
@rumpelsepp rumpelsepp force-pushed the master branch 6 times, most recently from 72a5ecf to 41e0a13 Compare October 11, 2022 10:22
@fkglr fkglr force-pushed the session-db branch 5 times, most recently from 138f7ed to e0659f0 Compare October 14, 2022 16:26
@rumpelsepp rumpelsepp force-pushed the master branch 3 times, most recently from 981f73a to 5218514 Compare October 25, 2022 09:04
@fkglr fkglr force-pushed the session-db branch 2 times, most recently from 692e1e7 to 2537d49 Compare November 14, 2022 15:34
@fkglr fkglr marked this pull request as ready for review December 7, 2022 13:48
@rumpelsepp
Copy link
Member

Increment Database Scheme Number? -> 1.0 -> 2 (let's drop the float)

@rumpelsepp rumpelsepp merged commit 6c3ae2c into master Dec 9, 2022
@rumpelsepp rumpelsepp deleted the session-db branch December 9, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants