initial RTD testing

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-04-28 12:15:53 +01:00
parent 33cfc54a5e
commit 7ec8b73375
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB
14 changed files with 1142 additions and 0 deletions

View file

@ -0,0 +1,52 @@
Additional Controls
===================
Although the |benchmark_name| documentation guide contains a
comprehensive set of security configurations, some contributors want to add
extra security configurations to the role. The *contrib* portion of the
role is designed to implement those configurations as an optional set of tasks.
In general, *contrib* controls are limited to items to meet backwards compatibility
with the `Openstack Ansible Hardening`_ project. It is recommended that new *contrib*
items (things that don't address specific items) should be addressed in a separate
Ansible role.
.. _Openstack Ansible Hardening: https://github.com/openstack/ansible-hardening
**BELOW IS NOT YET IMPLEMENTED IN THIS ROLE**
*The below configurations and variables are not yet implemented. This page and
message are being kept until it is implemented.*
The *contrib* hardening configurations are disabled by default, but they can
be enabled by setting the following Ansible variable:
.. code-block:: yaml
rhel7stig_security_contrib_enabled: yes
The individual tasks are controlled by Ansible variables in
``defaults/main.yml`` that are defined under the
``rhel7stig_security_contrib:`` variable.
Kernel
------
Disable IPv6
~~~~~~~~~~~~~~~~~~~~~~
Some systems do not require IPv6 connectivity and the presence of link local
IPv6 addresses can present an additional attack surface for lateral movement.
Deployers can set the following variable to disable IPv6 on all network
interfaces:
.. code-block:: yaml
rhel7_stig_security_contrib:
disable_ipv6: yes
.. warning::
Deployers should test this change in a test environment before applying it
in a production deployment. Applying this change to a production system
that relies on IPv6 connectivity will cause unexpected downtime.