Looks great! Please push.
On 10/25/2013 08:58 PM, Shawn Wells wrote:
TESTING:
[root@SSG-RHEL6 checks]# grep ^@ /etc/rsyslog.conf
[root@SSG-RHEL6 checks]# ./testcheck.py rsyslog_remote_loghost.xml
Evaluating with OVAL tempfile : /tmp/rsyslog_remote_loghostiY1DX3.xml
Writing results to : /tmp/rsyslog_remote_loghostiY1DX3.xml-results
Definition oval:scap-security-guide.testing:def:192: false
Evaluation done.
[root@SSG-RHEL6 checks]# echo "*.* @@remote-host:514" >> /etc/rsyslog.conf ;
./testcheck.py rsyslog_remote_loghost.xml
Evaluating with OVAL tempfile : /tmp/rsyslog_remote_loghostxSskWm.xml
Writing results to : /tmp/rsyslog_remote_loghostxSskWm.xml-results
Definition oval:scap-security-guide.testing:def:192: true
Evaluation done.
[root@SSG-RHEL6 checks]# sed -i '$ d' /etc/rsyslog.conf ; ./testcheck.py
rsyslog_remote_loghost.xml
Evaluating with OVAL tempfile : /tmp/rsyslog_remote_loghosts4KKRx.xml
Writing results to : /tmp/rsyslog_remote_loghosts4KKRx.xml-results
Definition oval:scap-security-guide.testing:def:192: false
Evaluation done.
[root@SSG-RHEL6 checks]# echo "*.* @@remote-host:514" >
/etc/rsyslog.d/ilovetestingbugs ; ./testcheck.py rsyslog_remote_loghost.xml
Evaluating with OVAL tempfile : /tmp/rsyslog_remote_loghosttZ8ody.xml
Writing results to : /tmp/rsyslog_remote_loghosttZ8ody.xml-results
Definition oval:scap-security-guide.testing:def:192: true
Evaluation done.
[root@SSG-RHEL6 checks]# rm /etc/rsyslog.d/ilovetestingbugs
rm: remove regular file `/etc/rsyslog.d/ilovetestingbugs'? y
_______________________________________________
scap-security-guide mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide
_______________________________________________
scap-security-guide mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide