Billy Olsen Hardening Os Tests

Channel Version Revision Published Runs on
latest/stable 0 0 18 Mar 2021
Ubuntu 14.04
latest/edge 0 0 18 Mar 2021
Ubuntu 14.04
juju deploy billy-olsen-hardening-os-tests
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.

Platform:

Ubuntu
14.04

About

hardening-os-tests is a charm for testing a charm Read more


Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

Overview

This charm provides the ability to run the tests to verify the security aspects of a system as defined by hardening.io. The charm is written as a subordinate charm so that it may be bound to any principle service allowing any service to be tested for its hardened status.

Usage

The hardening-os-tests charm can be deployed alongside any service in order to test the security requirements of the specific charm.

Deploying the service will install the pre-requisites and ensure that the tests are ready to run, however no checks will be run until explicitly told to do so. These checks are conveniently exposed by means of an action run-tests.

juju deploy cs:trusty/ubuntu
juju deploy cs:~billy-olsen/hardening-os-tests
juju add-relation ubuntu hardening-os-tests
juju action do hardening-os-tests/0 run-test test=default

The run-test action accepts a test parameter, which allows different tests to be executed, e.g. in order to run the lockdown test, the following can be run:

juju action do hardening-os-tests run-test test=lockdown