<div dir="ltr">Simon, <div><br></div><div>Thank you for the example. What is &quot;<span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:13px">tailoring file&quot; ? Example?</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Greg</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 24, 2014 at 11:55 AM, Simon Lukasik <span dir="ltr">&lt;<a href="mailto:isimluk@fedoraproject.org" target="_blank">isimluk@fedoraproject.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 05/24/2014 05:45 PM, Greg Elin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it possible from command line to run a single rule test with opens<br>
cap...and even better pipe the output?<br>
<br>
The only way I can figure to run a single test is to create a profile<br>
with a single rule.<br>
<br>
</blockquote>
<br></div></div>
Often times a single XCCDF Rule corresponds with a single OVAL definition. In such cases there is an easy way to evaluate single oval definition:<br>
<br>
    oscap oval eval --id my:def:id --results debug-results.xml oval.xml<br>
<br>
In other cases, i.e. when you still need the XCCDF part to debug, I am afraid there is no easy answer (XCCDF standard wise). What values would be bound to the variables? How would the TestResult on output look like?<br>
<br>
The only thing I can advice you is to use tailoring file, if you wish to avoid editing your XCCDF document.<br>
<br>
Best regards,<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon Lukasik<br>
Security Technologies, Red Hat, Inc.<br>
______________________________<u></u>_________________<br>
scap-security-guide mailing list<br>
<a href="mailto:scap-security-guide@lists.fedorahosted.org" target="_blank">scap-security-guide@lists.<u></u>fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide" target="_blank">https://lists.fedorahosted.<u></u>org/mailman/listinfo/scap-<u></u>security-guide</a><br>
</font></span></blockquote></div><br></div>