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

Allow users to manage /etc/audit/* group independent from $auditd::log_group #167

Open
nick-markowski opened this issue Jan 27, 2023 · 1 comment

Comments

@nick-markowski
Copy link
Member

nick-markowski commented Jan 27, 2023

Audtid configuration files in /etc/ should not be managed by auditd::log_group. Introduce a new variable, ex. auditd::config_group. Modify $config_file_mode to utilize auditd::config_group as a ternary. Update all audit files managed within /etc/ to use the new auditd::config_group and update permissions as needed.

@Strik3ria
Copy link

We are facing issues stemming from this as well. We need to be able to modify the log group such that Filebeat can manipulate the log content at certain intervals. We are getting the symptoms from our Filebeat, but if I go into the container and manipulate the log file to be able to be managed by filebeat, I get a ton of permission denied log entries. I ultimately was able to change the auditd puppet module locally, hard coding the log file value itself, but this feels like a really hacky fix and like something I probably should not do in the grand scheme of things.

@nick-markowski nick-markowski changed the title Allow users to manage /var/log/audit group independent from $auditd::log_group Allow users to manage /etc/audit/* group independent from $auditd::log_group Mar 3, 2023
@Andy-Adrian Andy-Adrian moved this to Todo in Org Triage Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants