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 audit rotation to base config #1427

Open
cornelinux opened this Issue Feb 6, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@cornelinux
Copy link
Member

cornelinux commented Feb 6, 2019

A fresh installation on privacyIDEA is currently missing a audit rotation cron job.

We should add it to "deploy/crontab/privacyidea" but in comments like:

#1 2 * * *	privacyidea	pi-manage audit rotate_audit --age 60

This way we can avoid to interfere with already existing configurations.

@plettich @fredreichbier any idea how to handle existing installations?

@fredreichbier

This comment has been minimized.

Copy link
Member

fredreichbier commented Feb 6, 2019

Hm, just an idea: We could also use our "Periodic Task" feature and add a "Audit Rotation" task module. On fresh installations, we could add a periodic audit rotation task that is inactive by default. By this, we could avoid modifying "deploy/crontab/privacyidea" at all.

@cornelinux

This comment has been minimized.

Copy link
Member Author

cornelinux commented Feb 6, 2019

sounds nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment