[PATCH] bugfix - rsyslog_remote_loghost OVAL

Dave Smith anondev at scapsecurityguides.org
Sat Oct 26 01:20:28 UTC 2013


Looks great!  Please push.

On 10/25/2013 08:58 PM, Shawn Wells wrote:
> TESTING:
>
> [root at SSG-RHEL6 checks]# grep ^@ /etc/rsyslog.conf
> [root at 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 at 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 at 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 at 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 at SSG-RHEL6 checks]# rm /etc/rsyslog.d/ilovetestingbugs
> rm: remove regular file `/etc/rsyslog.d/ilovetestingbugs'? y
>
>
> _______________________________________________
> scap-security-guide mailing list
> scap-security-guide at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/scap-security-guide/attachments/20131025/cb99d3a9/attachment.html>


More information about the scap-security-guide mailing list