SV-256898r1107643_rule
V-256898
SRG-APP-000015-AS-000010
APAS-AT-000012
CAT I
10
As an administrator for each Automation Controller host, configure the operating system to be FIPS-enabled with the following command:
sudo fips-mode-setup --enable
Reboot each system.
Configure Ansible Automation Platform installation location to reside on a LUKS encrypted volume:
Add a LUKS volume using default or other encrypted volume in accordance with organizationally defined policy. The '/var/lib/awx' filesystem must reside on this volume.
Reinstall the Ansible Automation Platform.
Note: The phrasing "Reinstall the Ansible Automation Platform." is applicable here; the installer cannot just be rerun on the same system.
Reinstall the operating system on the Automation Controller server with FIPS mode enabled at install time by following the guidance located here:
https://access.redhat.com/solutions/5416081
OR
Enable FIPS mode without reinstalling the operating system by following the guidance located here:
https://access.redhat.com/solutions/137833
If the operating system was reinstalled, reinstall Automation Controller by following the guidance located here:
https://docs.ansible.com/ansible-tower/latest/html/installandreference/index.html
As a system administrator for each Automation Controller host, check if the operating system is FIPS-enabled:
sysctl crypto.fips_enabled
If "fips_enabled" is not "1", this is a finding.
Verify the installed volume for Automation Controller is on a LUKS encrypted volume command:
AAPROOT='/var/lib/awx' && cryptsetup status `df -T ${AAPROOT} | cut -d ' ' -f 1 | tail -n 1 ` | grep type | grep -i luks || echo "FAILED"
If "FAILED" is displayed, this is a finding.
Verify this LUKS encrypted volume is using FIPS-compliant cryptographic functions command:
allowed_FIPS_ciphers=('aes.*\(256\|384\|512\)') ; echo "${allowed_FIPS_ciphers[*]}" | tr ' ' '\n' >tempfile && cryptsetup status `df -T ${AAPROOT} | cut -d ' ' -f 1 | tail -n 1 ` | grep -e '\(cipher\|keysize\)' | awk '{print $2}' | paste -s -d '-' | grep -f tempfile 1>/dev/null || echo "FAILED" && rm -f tempfile
If "FAILED" is displayed, this is a finding.
V-256898
False
APAS-AT-000012
As a system administrator for each Automation Controller host, check if the operating system is FIPS-enabled:
sysctl crypto.fips_enabled
If "fips_enabled" is not "1", this is a finding.
Verify the installed volume for Automation Controller is on a LUKS encrypted volume command:
AAPROOT='/var/lib/awx' && cryptsetup status `df -T ${AAPROOT} | cut -d ' ' -f 1 | tail -n 1 ` | grep type | grep -i luks || echo "FAILED"
If "FAILED" is displayed, this is a finding.
Verify this LUKS encrypted volume is using FIPS-compliant cryptographic functions command:
allowed_FIPS_ciphers=('aes.*\(256\|384\|512\)') ; echo "${allowed_FIPS_ciphers[*]}" | tr ' ' '\n' >tempfile && cryptsetup status `df -T ${AAPROOT} | cut -d ' ' -f 1 | tail -n 1 ` | grep -e '\(cipher\|keysize\)' | awk '{print $2}' | paste -s -d '-' | grep -f tempfile 1>/dev/null || echo "FAILED" && rm -f tempfile
If "FAILED" is displayed, this is a finding.
M
5534