|latest/stable||0||0||18 Mar 2021|
|latest/edge||0||0||18 Mar 2021|
juju deploy billy-olsen-hardening-os-tests
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.
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.
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
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