[Unit] | |
Description=Run CIS Scanner with given environment variables | |
[Service] | |
EnvironmentFile=-/etc/cis-scanner/env_vars | |
Type=simple | |
ExecStart=/usr/bin/cis_scanner \ | |
--config="${CONFIG}" \ | |
--result="${RESULT}" \ | |
--max-cis-profile-level="${LEVEL}" \ | |
--show-compliant-benchmarks=true \ | |
"${EXTRA_OPTIONS}" | |
[Install] | |
WantedBy=multi-user.target |