Signed-off-by: Willy Santos wsantos@redhat.com --- .../checks/dovecot_disable_plaintext_auth.xml | 28 ++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 rhel6/src/input/checks/dovecot_disable_plaintext_auth.xml
diff --git a/rhel6/src/input/checks/dovecot_disable_plaintext_auth.xml b/rhel6/src/input/checks/dovecot_disable_plaintext_auth.xml new file mode 100644 index 0000000..ecc4795 --- /dev/null +++ b/rhel6/src/input/checks/dovecot_disable_plaintext_auth.xml @@ -0,0 +1,28 @@ +<def-group> + <definition class="compliance" + id="dovecot_disable_plaintext_auth" version="1"> + <metadata> + <title>Disable Plaintext Authentication in Dovecot</title> + <affected family="unix"> + <platform>Red Hat Enterprise Linux 6</platform> + </affected> + <reference ref_id="CCE-4552-6" source="CCE" /> + <description>Plaintext authentication of mail clients should be disabled.</description> + </metadata> + <criteria comment="Disable Plaintext Authentication in Dovecot"> + <criterion test_ref="test_dovecot_disable_plaintext_auth" /> + </criteria> + </definition> + <ind:textfilecontent54_test check="all" check_existence="all_exist" + comment="Tests the value of the disable_plaintext_auth[\s]*(<:nocomment:>*) setting in the /etc/dovecot.conf file" + id="test_dovecot_disable_plaintext_auth" version="1"> + <ind:object object_ref="obj_dovecot_disable_plaintext_auth" /> + </ind:textfilecontent54_test> + <ind:textfilecontent54_object id="obj_dovecot_disable_plaintext_auth" + version="1"> + ind:path/etc</ind:path> + ind:filenamedovecot.conf</ind:filename> + <ind:pattern operation="pattern match">^[\s]*disable_plaintext_auth[\s]*=[\s]*yes\s*$</ind:pattern> + <ind:instance datatype="int">1</ind:instance> + </ind:textfilecontent54_object> +</def-group>
scap-security-guide@lists.fedorahosted.org