ComplianceAsCode / ComplianceAsCode/content

Logrotate cronjob checks

Open
#10,206 1 comment 0 reactions 0 assignees View on GitHub
enhancement triaged
Dominant language
Shell
Stars
2.8k
Forks
828
Avg merge
3d 8m
Merged PRs (30d)
80

Description

#### Share the context

All my cronjobs are configured in ```/etc/cron.d/ ``` and everything is working as expected.

#### Description of problem:

The Rule "Ensure Logrotate is running Periodically" fails. As far as the results go, the rule seems to completely ignore the contents of cron.d.

#### Proposed change:

Add cron.d to the list of directories to be checked for the logrotate cron file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.