mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
add --audit-all option
This commit is contained in:

committed by
thibault.dewailly

parent
ccda7adb93
commit
8d84f38c97
@ -26,6 +26,10 @@ fi
|
||||
while [[ $# > 0 ]]; do
|
||||
ARG="$1"
|
||||
case $ARG in
|
||||
--audit-all)
|
||||
debug "Audit all specified, setting status to audit regardless of configuration"
|
||||
status=audit
|
||||
;;
|
||||
--audit)
|
||||
if [ $status != 'disabled' -a $status != 'false' ]; then
|
||||
debug "Audit argument detected, setting status to audit"
|
||||
|
Reference in New Issue
Block a user