Checks whether a Linux server according to security best practices as defined in the CIS Distribution-Independent Linux Benchmark
Checks whether a Linux server according to security best practices as defined in the CIS Distribution-Independent Linux Benchmark
Linux-bench is a Go application that checks whether the Linux operating system is configured securely by running the checks documented in the CIS Distribution Independent Linux Benchmark.
Tests are configured with YAML files, making this tool easy to update as test specifications evolve.
linux-bench currently supports tests for benchmark version 1.1.0 only.
linux-bench will determine the test set to run on the host machine based on the following:
Install Go, then clone this repository and run as follows (assuming your $GOPATH is set):
go get github.com/aquasecurity/linux-bench
cd $GOPATH/src/github.com/aquasecurity/linux-bench
go build -o linux-bench .
# See all supported options
./linux-bench --help
# Run checks
./linux-bench
# Run checks for specified linux cis version
./linux-bench --version Tests are specified in definition files cfg//definitions.yaml.
Where `` is the version of linux cis for which the test applies.
We welcome PRs and issue reports.
No open issues yet, or sync has not completed.