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(deployment): Regular DB clean-up #397

Open
2 tasks
dorneanu opened this issue Nov 20, 2024 · 1 comment
Open
2 tasks

feat(deployment): Regular DB clean-up #397

dorneanu opened this issue Nov 20, 2024 · 1 comment
Assignees

Comments

@dorneanu
Copy link
Collaborator

Task Description

This task should make that regular scans can take place. Therefore we need to make sure that the DB is clean before the scanners run.

Acceptance Criteria:

  • Whole tables are truncated
  • Whole db is truncated

Expected Test:
Add any information about how this will be tested.

@dorneanu
Copy link
Collaborator Author

As an alternative to custom SQL statement running regularly we could also use: https://mariadb.com/kb/en/event-scheduler/
We also discussed to have an idempotent behaviour in Heureka where

  • whenever the same data for an entity is the same, we want to to give back the already existing entity

This would also help with error management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant