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

Closed
cornelinux opened this issue Feb 6, 2019 · 3 comments
Closed

Add audit rotation to base config #1427

cornelinux opened this issue Feb 6, 2019 · 3 comments
Assignees
Labels
Topic: Tools Issues regarding tools (pi-manage, privacyidea-token-janitor, ...)
Milestone

Comments

@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 360

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

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

@fredreichbier
Copy link
Contributor

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
Copy link
Member Author

sounds nice!

@plettich plettich added Topic: Tools Issues regarding tools (pi-manage, privacyidea-token-janitor, ...) and removed infrastructure and config labels Aug 29, 2019
@cornelinux cornelinux added this to the 3.6 milestone Jan 15, 2021
@cornelinux
Copy link
Member Author

cornelinux commented Apr 15, 2021

@pablo-knight please also add cron config to the CentOS/RHEL packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Tools Issues regarding tools (pi-manage, privacyidea-token-janitor, ...)
Projects
None yet
Development

No branches or pull requests

4 participants