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

AIDE cron job setup 1.3.2 missing cron_file variable #316

Closed
I-am-MoS opened this issue Jul 26, 2023 · 2 comments · Fixed by #317
Closed

AIDE cron job setup 1.3.2 missing cron_file variable #316

I-am-MoS opened this issue Jul 26, 2023 · 2 comments · Fixed by #317
Assignees
Labels

Comments

@I-am-MoS
Copy link

Describe the Issue
AIDE cron setup missing the cron_file variable

Expected Behavior
have the module use the variable that is set

Actual Behavior
Just puts the cron into into the root cron, not a cron.d file

Control(s) Affected
1.3.2

Possible Solution
add :
cron_file: "{{ rhel7cis_aide_cron['cron_file'] }}"

To the rule when calling the cron module

@I-am-MoS I-am-MoS added the bug label Jul 26, 2023
@I-am-MoS
Copy link
Author

Looks like it is also missing:
user: "{{ rhel7cis_aide_cron['cron_user'] }}"

@uk-bolly uk-bolly self-assigned this Sep 12, 2023
@uk-bolly uk-bolly linked a pull request Sep 12, 2023 that will close this issue
@uk-bolly
Copy link
Member

hi @I-am-MoS

Thank you for taking the time to raise the issue and providing such a clear solution. I have now added this to a new PR which i hope will be approved this week into devel.
This can then be merged to the main and a new release made.

Many thanks once again

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants