mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-22 14:05:23 +01:00
FIX(tests): change sed to audit in test skeleton after 81f9348
This commit is contained in:
parent
bc5809f92e
commit
217895dfe6
@ -24,7 +24,7 @@ test_audit() {
|
||||
|
||||
describe Correcting situation
|
||||
# if the audit script provides "apply" option, enable and run it
|
||||
sed -i 's/disabled/enabled/' /opt/debian-cis/etc/conf.d/"${script}".cfg
|
||||
sed -i 's/audit/enabled/' /opt/debian-cis/etc/conf.d/"${script}".cfg
|
||||
/opt/debian-cis/bin/hardening/"${script}".sh || true
|
||||
# otherwise perform action that will make system compliant again
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user