mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-23 14:35:26 +01:00
FIX(tests): change sed to audit in test skeleton after 81f9348
This commit is contained in:
parent
52ad81a981
commit
78fe87ab63
@ -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