From ba93159a00987e5caa4902b6593c6df2f66f0560 Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Fri, 8 Feb 2019 10:35:35 +0100 Subject: [PATCH] Add crontab --- debian/rules | 1 + example-cron.d-entry | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 example-cron.d-entry diff --git a/debian/rules b/debian/rules index 2bff0bb..0cb1084 100755 --- a/debian/rules +++ b/debian/rules @@ -33,3 +33,4 @@ override_dh_installdocs: dh_installdocs 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 example-cron.d-entry > $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/example-cron.d-entry.gz diff --git a/example-cron.d-entry b/example-cron.d-entry new file mode 100644 index 0000000..03fdb15 --- /dev/null +++ b/example-cron.d-entry @@ -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