Skip to content

feat(alerts): automated cleanup of alerts per user - #3598

Merged
madchap merged 3 commits into
DefectDojo:devfrom
alles-klar:cleanup-alerts
Jan 8, 2021
Merged

madchap merged 3 commits into
DefectDojo:devfrom
alles-klar:cleanup-alerts

Conversation

@alles-klar

Copy link
Copy Markdown
Contributor

Some users receives a lot of alerts but never reads or deletes them. This feature deletes the oldest x (default 999) alerts per user. The feature can be disabled by set DD_MAX_ALERTS_PER_USER to -1.

On behalf of DB Systel GmbH

Some users receives a lot of alerts but never reads or deletes them. This feature deletes the oldest x (default 999) alerts per user. The feature can be disabled by set DD_MAX_ALERTS_PER_USER to -1.

On behalf of DB Systel GmbH
@alles-klar alles-klar added enhancement settings_changes Needs changes to settings.py based on changes in settings.dist.py included in this PR labels Jan 8, 2021
Comment thread dojo/settings/settings.dist.py Resolved
@valentijnscholten

Copy link
Copy Markdown
Member

Thanks, useful. I do think future cleanup tasks should not be seperate tasks, some in settings.py, some in system settings ui. I think we should create a "cleanup" feature and ui where people can check/uncheck some things to cleanup and configure some thresholds.

@damiencarol damiencarol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread dojo/tasks.py Resolved
@madchap
madchap merged commit ad19380 into DefectDojo:dev Jan 8, 2021
@madchap madchap mentioned this pull request Jan 19, 2021
9alexx3 pushed a commit to 9alexx3/django-DefectDojo that referenced this pull request Aug 12, 2026
* feat(alerts): automated cleanup of alerts per user

Some users receives a lot of alerts but never reads or deletes them. This feature deletes the oldest x (default 999) alerts per user. The feature can be disabled by set DD_MAX_ALERTS_PER_USER to -1.

On behalf of DB Systel GmbH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement settings_changes Needs changes to settings.py based on changes in settings.dist.py included in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants