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

add system setting to enable/disable audit logging #2068

Merged

Conversation

valentijnscholten
Copy link
Member

as mentioned in #2065 , the audit logging is a severe bottleneck during (re-)imports.

this PR adds a system setting to enable/disable audit logging. in some situations users/admin might prefer speedy import over audit logs.

the audit log UI was removed from the admin portal anyway, so I doubt lots of people are using it.

log entries can still be viewed though in the 'View History' menu item for Products, Findings, etc.

the default is still to have audit logging enabled.

@valentijnscholten valentijnscholten added performance performance improvement or bug report settings_changes Needs changes to settings.py based on changes in settings.dist.py included in this PR labels Mar 15, 2020
Copy link
Contributor

@madchap madchap left a comment

Choose a reason for hiding this comment

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

Nice to have this option, thanks @valentijnscholten !

@Maffooch Maffooch added the New Migration Adding a new migration file. Take care when merging. label Mar 19, 2020
@valentijnscholten valentijnscholten merged commit ee417af into DefectDojo:dev Mar 19, 2020
@valentijnscholten valentijnscholten deleted the auditlog-system-setting branch March 19, 2020 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Migration Adding a new migration file. Take care when merging. performance performance improvement or bug report 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.

3 participants