[PATCH 14/18] OVAL check for disabling plaintext authentication in Dovecot.

Willy Santos wsantos at redhat.com
Tue Apr 17 19:11:42 UTC 2012


---
 .../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]*(&lt;:nocomment:&gt;*) 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:filename>dovecot.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>
-- 
1.7.7.6


--------------060302030708000108020305
Content-Type: text/x-patch;
 name="0015-OVAL-check-for-Dovecot-setting-login_process_per_con.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0015-OVAL-check-for-Dovecot-setting-login_process_per_con.pa";
 filename*1="tch"



More information about the scap-security-guide mailing list