ComplianceAsCode / ComplianceAsCode/content
AIDE periodic crontab remediation
- Dominant language
- Shell
- Stars
- 2.8k
- Forks
- 828
- Avg merge
- 3d 8m
- Merged PRs (30d)
- 80
Description
Description of Issue:
The AIDE periodic crontab checks account for the majority of user cases, however the remdediation is set in stone.
I would think it would be possible to make a variable and fill in the cron time field with whatever the user wants using a tailor file.
Ex.
var = string value ( "5 0 * * *") or string value (@weekly)
$var /usr/sbin/aide --check
Could this be done with a single var file with type: string and options?
options:
default: "5 0 * * *"
weekly: "@weekly"
Or would one need to use templates or force the user to set a variable for each cron time field?
I've dug around somewhat in the codebase so far, but I'm not seeing any examples where someone has done something similar. Also, is there a documented location for the variable file syntax? Maybe I didn't dig far enough.
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.