Add crontab

This commit is contained in:
Charles Herlin 2019-02-08 10:35:35 +01:00
parent 7690b57ea9
commit 9290f0cc91
2 changed files with 5 additions and 0 deletions

1
debian/rules vendored
View File

@ -33,3 +33,4 @@ override_dh_installdocs:
dh_installdocs dh_installdocs
gzip -c AUTHORS > $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/AUTHORS.gz gzip -c AUTHORS > $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/AUTHORS.gz
gzip -c src/skel > $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/skel.gz gzip -c src/skel > $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/skel.gz
gzip -c example-cron.d-entry > $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/example-cron.d-entry.gz

4
example-cron.d-entry Normal file
View File

@ -0,0 +1,4 @@
# One may want to run the CIS checks daily in order to report the correct or
# incorrect configuration of a machine in a centralized system via syslog
# m h dom mon dow user command
0 3 * * * secaudit /opt/debian-cis/bin/hardening-sh --sudo --audit --batch