No description
Find a file
Dominik Richter de8b8f15fb default profile checks SUID/SGID blacklist
Instead of going for the whitelist and expecting all other SUID/SGID bits to be removed, go for the blacklist in the default profile. This behavior is preferred, since we don't want to enable a search through all nodes on a system for any SUID/SGID bits by default. This search is desired and reasonable in all cases, but many new users will be turned away if we activate it by default. It causes issues with any regularly mounted network filesystems (which take very long) or very large (amount of entries on the filesystem) storage nodes.

We will add this point to the documentation, as it's the user's task to mount these components with a nosuid configuration.

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2014-07-23 15:59:08 +02:00
default default profile checks SUID/SGID blacklist 2014-07-23 15:59:08 +02:00
lockdown/serverspec add all current requirements from default -> lockdown 2014-07-23 15:50:17 +02:00
.gitignore add lockfiles and delete them from tree 2014-06-02 13:05:57 +02:00
.rubocop.yml streamline .rubocop config 2014-05-27 14:50:45 +02:00
.travis.yml add travis config, add default task to rakefile 2014-06-23 12:03:15 +02:00
Gemfile update rubocop, add common linter task, fix rubocop issues 2014-06-22 12:57:10 +02:00
Rakefile add travis config, add default task to rakefile 2014-06-23 12:03:15 +02:00
README.md add standalone usage feature 2014-06-05 11:22:05 +02:00

tests-os-hardening

This are the integration tests for the projects

they start at integration level

you can use the gem kitchen-sharedtests

to make them available to your project. Use thor kitchen:fetch-remote-tests to put the repo into test/integration

Standalone Usage

you can target the integration tests to any host were you have ssh access

rake -T gives you a list of suites you can run (well ignore directories which are obviously not suites for now)

± rake -T
rake serverspec:data_bags  # Run serverspec suite data_bags
rake serverspec:default    # Run serverspec suite default

run it with:

bundle install

# default user and ssh-key

bundle exec rake serverspec:default target_host=<name-or-ip-of-target-server>

# or with user, host, password

ASK_LOGIN_PASSWORD=true bundle exec rake serverspec:default target_host=192.168.1.222 user=stack

add format=html to get a report.html document