mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 13:37:02 +01:00
First batch of renaming to comply to comply to 8v2 and 9 pdf
renamed: 2.19_disable_freevxfs.sh -> 1.1.1.1_disable_freevxfs.sh renamed: 2.20_disable_jffs2.sh -> 1.1.1.2_disable_jffs2.sh renamed: 2.21_disable_hfs.sh -> 1.1.1.3_disable_hfs.sh renamed: 2.22_disable_hfsplus.sh -> 1.1.1.4_disable_hfsplus.sh renamed: 2.24_disable_udf.sh -> 1.1.1.5_disable_udf.sh renamed: 2.7_var_log_partition.sh -> 1.1.11_var_log_partition.sh renamed: 2.8_var_log_audit_partition.sh -> 1.1.12_var_log_audit_partition.sh renamed: 2.9_home_partition.sh -> 1.1.13_home_partition.sh renamed: 2.10_home_nodev.sh -> 1.1.14_home_nodev.sh renamed: 2.14_run_shm_nodev.sh -> 1.1.15_run_shm_nodev.sh renamed: 2.15_run_shm_nosuid.sh -> 1.1.16_run_shm_nosuid.sh renamed: 2.16_run_shm_noexec.sh -> 1.1.17_run_shm_noexec.sh renamed: 2.11_removable_device_nodev.sh -> 1.1.18_removable_device_nodev.sh renamed: 2.13_removable_device_nosuid.sh -> 1.1.19_removable_device_nosuid.sh renamed: 2.12_removable_device_noexec.sh -> 1.1.20_removable_device_noexec.sh renamed: 2.17_sticky_bit_world_writable_folder.sh -> 1.1.21_sticky_bit_world_writable_folder.sh renamed: 2.25_disable_automounting.sh -> 1.1.22_disable_automounting.sh renamed: 2.1_tmp_partition.sh -> 1.1.2_tmp_partition.sh renamed: 2.2_tmp_nodev.sh -> 1.1.3_tmp_nodev.sh renamed: 2.3_tmp_nosuid.sh -> 1.1.4_tmp_nosuid.sh renamed: 2.4_tmp_noexec.sh -> 1.1.5_tmp_noexec.sh renamed: 2.5_var_partition.sh -> 1.1.6_var_partition.sh renamed: 1.1_install_updates.sh -> 1.8_install_updates.sh
This commit is contained in:
parent
88e3a515ef
commit
0b85d16c16
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.19 Disable Mounting of freevxfs Filesystems (Not Scored)
|
# 1.1.1.1 Disable Mounting of freevxfs Filesystems (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -26,7 +26,6 @@ audit () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled"
|
ok "$KERNEL_OPTION is disabled"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
||||||
@ -37,7 +36,6 @@ apply () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled, nothing to do"
|
ok "$KERNEL_OPTION is disabled, nothing to do"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.20 Disable Mounting of jffs2 Filesystems (Not Scored)
|
# 1.1.1.2 Disable Mounting of jffs2 Filesystems (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -26,7 +26,6 @@ audit () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled"
|
ok "$KERNEL_OPTION is disabled"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
||||||
@ -37,7 +36,6 @@ apply () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled, nothing to do"
|
ok "$KERNEL_OPTION is disabled, nothing to do"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.21 Disable Mounting of hfs Filesystems (Not Scored)
|
# 1.1.1.3 Disable Mounting of hfs Filesystems (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -26,7 +26,6 @@ audit () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled"
|
ok "$KERNEL_OPTION is disabled"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
||||||
@ -37,7 +36,6 @@ apply () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled, nothing to do"
|
ok "$KERNEL_OPTION is disabled, nothing to do"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.22 Disable Mounting of hfsplus Filesystems (Not Scored)
|
# 1.1.1.4 Disable Mounting of hfsplus Filesystems (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -26,7 +26,6 @@ audit () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled"
|
ok "$KERNEL_OPTION is disabled"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
||||||
@ -37,7 +36,6 @@ apply () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled, nothing to do"
|
ok "$KERNEL_OPTION is disabled, nothing to do"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.24 Disable Mounting of udf Filesystems (Not Scored)
|
# 1.1.1.5 Disable Mounting of udf Filesystems (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -26,7 +26,6 @@ audit () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled"
|
ok "$KERNEL_OPTION is disabled"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
||||||
@ -37,7 +36,6 @@ apply () {
|
|||||||
else
|
else
|
||||||
ok "$KERNEL_OPTION is disabled, nothing to do"
|
ok "$KERNEL_OPTION is disabled, nothing to do"
|
||||||
fi
|
fi
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.7 Create Separate Partition for /var/log (Scored)
|
# 1.1.11 Create Separate Partition for /var/log (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -35,8 +35,6 @@ audit () {
|
|||||||
ok "$PARTITION is mounted"
|
ok "$PARTITION is mounted"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.8 Create Separate Partition for /var/log/audit (Scored)
|
# 1.1.12 Create Separate Partition for /var/log/audit (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -35,8 +35,6 @@ audit () {
|
|||||||
ok "$PARTITION is mounted"
|
ok "$PARTITION is mounted"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.9 Create Separate Partition for /home (Scored)
|
# 1.1.13 Create Separate Partition for /home (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -35,8 +35,6 @@ audit () {
|
|||||||
ok "$PARTITION is mounted"
|
ok "$PARTITION is mounted"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.10 Add nodev Option to /home (Scored)
|
# 1.1.14 Ensure nodev Option set on /home (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -37,11 +37,11 @@ audit () {
|
|||||||
has_mounted_option $PARTITION $OPTION
|
has_mounted_option $PARTITION $OPTION
|
||||||
if [ $FNRET -gt 0 ]; then
|
if [ $FNRET -gt 0 ]; then
|
||||||
warn "$PARTITION is not mounted with $OPTION at runtime"
|
warn "$PARTITION is not mounted with $OPTION at runtime"
|
||||||
FNRET=3
|
FNRET=3
|
||||||
else
|
else
|
||||||
ok "$PARTITION mounted with $OPTION"
|
ok "$PARTITION mounted with $OPTION"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ apply () {
|
|||||||
elif [ $FNRET = 3 ]; then
|
elif [ $FNRET = 3 ]; then
|
||||||
info "Remounting $PARTITION from fstab"
|
info "Remounting $PARTITION from fstab"
|
||||||
remount_partition $PARTITION
|
remount_partition $PARTITION
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.14 Add nodev Option to /run/shm Partition (Scored)
|
# 1.1.15 Ensure nodev option set on /dev/shm partition (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.15 Add nosuid Option to /run/shm Partition (Scored)
|
# 1.1.16 Ensure nosuid Option set on /run/shm Partition (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.16 Add noexec Option to /run/shm Partition (Scored)
|
# 1.1.17 Ensure noexec Option set on /run/shm Partition (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.11 Add nodev Option to Removable Media Partitions (Not Scored)
|
# 1.1.18 Add nodev Option to Removable Media Partitions (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -36,7 +36,7 @@ audit () {
|
|||||||
FNRET=1
|
FNRET=1
|
||||||
else
|
else
|
||||||
ok "$PARTITION has $OPTION in fstab"
|
ok "$PARTITION has $OPTION in fstab"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ apply () {
|
|||||||
elif [ $FNRET = 1 ]; then
|
elif [ $FNRET = 1 ]; then
|
||||||
info "Adding $OPTION to fstab"
|
info "Adding $OPTION to fstab"
|
||||||
add_option_to_fstab $PARTITION $OPTION
|
add_option_to_fstab $PARTITION $OPTION
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.13 Add nosuid Option to Removable Media Partitions (Not Scored)
|
# 1.1.19 Ensure nosuid Option set on Removable Media Partitions (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -36,7 +36,7 @@ audit () {
|
|||||||
FNRET=1
|
FNRET=1
|
||||||
else
|
else
|
||||||
ok "$PARTITION has $OPTION in fstab"
|
ok "$PARTITION has $OPTION in fstab"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ apply () {
|
|||||||
elif [ $FNRET = 1 ]; then
|
elif [ $FNRET = 1 ]; then
|
||||||
info "Adding $OPTION to fstab"
|
info "Adding $OPTION to fstab"
|
||||||
add_option_to_fstab $PARTITION $OPTION
|
add_option_to_fstab $PARTITION $OPTION
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.12 Add noexec Option to Removable Media Partitions (Not Scored)
|
# 1.1.20 Ensure noexec Option set on Removable Media Partitions (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -36,7 +36,7 @@ audit () {
|
|||||||
FNRET=1
|
FNRET=1
|
||||||
else
|
else
|
||||||
ok "$PARTITION has $OPTION in fstab"
|
ok "$PARTITION has $OPTION in fstab"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ apply () {
|
|||||||
elif [ $FNRET = 1 ]; then
|
elif [ $FNRET = 1 ]; then
|
||||||
info "Adding $OPTION to fstab"
|
info "Adding $OPTION to fstab"
|
||||||
add_option_to_fstab $PARTITION $OPTION
|
add_option_to_fstab $PARTITION $OPTION
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.17 Set Sticky Bit on All World-Writable Directories (Scored)
|
# 1.1.21 Ensure Sticky Bit set on All World-Writable Directories (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.25 Disable Automounting (Scored)
|
# 1.1.22 Disable Automounting (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
@ -5,14 +5,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.1 Create Separate Partition for /tmp (Scored)
|
# 1.1.2 Ensure /tmp is configured (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
set -u # One variable unset, it's over
|
set -u # One variable unset, it's over
|
||||||
|
|
||||||
HARDENING_LEVEL=3
|
HARDENING_LEVEL=3
|
||||||
DESCRIPTION="/tmp on a separate partition."
|
DESCRIPTION="Ensure /tmp is configured (Scored)"
|
||||||
|
|
||||||
# Quick factoring as many script use the same logic
|
# Quick factoring as many script use the same logic
|
||||||
PARTITION="/tmp"
|
PARTITION="/tmp"
|
||||||
@ -35,8 +35,6 @@ audit () {
|
|||||||
ok "$PARTITION is mounted"
|
ok "$PARTITION is mounted"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled mode
|
# This function will be called if the script status is on enabled mode
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.2 Set nodev option for /tmp Partition (Scored)
|
# 1.1.3 Ensure nodev option set for /tmp Partition (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.3 Set nosuid option for /tmp Partition (Scored)
|
# 1.1.4 Ensure nosuid option set for /tmp Partition (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -37,11 +37,11 @@ audit () {
|
|||||||
has_mounted_option $PARTITION $OPTION
|
has_mounted_option $PARTITION $OPTION
|
||||||
if [ $FNRET -gt 0 ]; then
|
if [ $FNRET -gt 0 ]; then
|
||||||
warn "$PARTITION is not mounted with $OPTION at runtime"
|
warn "$PARTITION is not mounted with $OPTION at runtime"
|
||||||
FNRET=3
|
FNRET=3
|
||||||
else
|
else
|
||||||
ok "$PARTITION mounted with $OPTION"
|
ok "$PARTITION mounted with $OPTION"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ apply () {
|
|||||||
elif [ $FNRET = 3 ]; then
|
elif [ $FNRET = 3 ]; then
|
||||||
info "Remounting $PARTITION from fstab"
|
info "Remounting $PARTITION from fstab"
|
||||||
remount_partition $PARTITION
|
remount_partition $PARTITION
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.4 Set noexec option for /tmp Partition (Scored)
|
# 1.1.5 Ensure noexec option set for /tmp Partition (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
@ -37,11 +37,11 @@ audit () {
|
|||||||
has_mounted_option $PARTITION $OPTION
|
has_mounted_option $PARTITION $OPTION
|
||||||
if [ $FNRET -gt 0 ]; then
|
if [ $FNRET -gt 0 ]; then
|
||||||
warn "$PARTITION is not mounted with $OPTION at runtime"
|
warn "$PARTITION is not mounted with $OPTION at runtime"
|
||||||
FNRET=3
|
FNRET=3
|
||||||
else
|
else
|
||||||
ok "$PARTITION mounted with $OPTION"
|
ok "$PARTITION mounted with $OPTION"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ apply () {
|
|||||||
elif [ $FNRET = 3 ]; then
|
elif [ $FNRET = 3 ]; then
|
||||||
info "Remounting $PARTITION from fstab"
|
info "Remounting $PARTITION from fstab"
|
||||||
remount_partition $PARTITION
|
remount_partition $PARTITION
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function will check config parameters required
|
# This function will check config parameters required
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 2.5 Create Separate Partition for /var (Scored)
|
# 1.1.6 Create Separate Partition for /var (Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
@ -5,14 +5,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# 1.1 Install Updates, Patches and Additional Security Software (Not Scored)
|
# 1.8 Ensure updates, patches, and additional security software are installed (Not Scored)
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e # One error, it's over
|
set -e # One error, it's over
|
||||||
set -u # One variable unset, it's over
|
set -u # One variable unset, it's over
|
||||||
|
|
||||||
HARDENING_LEVEL=3
|
HARDENING_LEVEL=3
|
||||||
DESCRIPTION="Install updates, patches and additional secutiry software."
|
DESCRIPTION="Ensure updates, patches, and additional security software are installed (Not Scored)"
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled / audit mode
|
# This function will be called if the script status is on enabled / audit mode
|
||||||
audit () {
|
audit () {
|
Loading…
Reference in New Issue
Block a user