Security Tests

Various Security Tests

rhui4_tests.test_security.setup()[source]

announce the beginning of the test run

rhui4_tests.test_security.teardown()[source]

announce the end of the test run

rhui4_tests.test_security.test_01_login_add_cds_hap()[source]

log in to RHUI, add CDS and HAProxy nodes

rhui4_tests.test_security.test_02_https_rhua()[source]

check protocols allowed by nginx on the RHUA

rhui4_tests.test_security.test_03_https_cds()[source]

check protocols allowed by nginx on the CDS nodes

rhui4_tests.test_security.test_04_haproxy_stats()[source]

check haproxy stats

rhui4_tests.test_security.test_05_hsts()[source]

check if HTTP Strict Transport Security is used

rhui4_tests.test_security.test_06_cds_ssl()[source]

check the CN and SAN in the CDS SSL certificate

rhui4_tests.test_security.test_99_cleanup()[source]

delete CDS and HAProxy nodes