<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
When I execute a test, I've some errors and I don't know why.<br>
<br>
For some rules, I get the error : "OVAL object not supported". For
these rules, the object used is dpkginfo_object. Is dpkginfo_object
not really supported by OpenScap or is it an error in my oval file ?<br>
<br>
Another error I have is : "There was a problem processing referenced
variable". For exemple, one of my rules check if the PWD_MAX_DAY is
set in the file /etc/lofin.defs, I have in my oval file :<br>
<br>
<definition
xmlns=<a class="moz-txt-link-rfc2396E" href="http://oval.mitre.org/XMLSchema/oval-definitions-5">"http://oval.mitre.org/XMLSchema/oval-definitions-5"</a>
class="compliance" id="oval:fr.gouv.defense:def:1680"
version="1"><br>
<metadata><br>
<title>DebConf-32-1</title><br>
<affected family="unix"><br>
<platform>Debian GNU/Linux 6</platform><br>
</affected><br>
<description>PWD MAX DAYS</description><br>
</metadata><br>
<criteria operator="AND" comment="AND" negate="false"><br>
<criterion comment="PWD MAX DAYS"
test_ref="oval:fr.gouv.defense:tst:1680" negate="false" /><br>
</criteria><br>
</definition><br>
<br>
<textfilecontent54_test
xmlns=<a class="moz-txt-link-rfc2396E" href="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">"http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"</a>
id="oval:fr.gouv.defense:tst:1680" version="1" check="all"
comment="PASS_MAX_DAYS" check_existence="only_one_exists"><br>
<object object_ref="oval:fr.gouv.defense:obj:1680" /><br>
</textfilecontent54_test><br>
<br>
<textfilecontent54_object
xmlns=<a class="moz-txt-link-rfc2396E" href="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">"http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"</a>
id="oval:fr.gouv.defense:obj:1680" version="1"
comment="login.defs"><br>
<path datatype="string"
operation="equals">/etc</path><br>
<filename datatype="string"
operation="equals">login.defs</filename><br>
<pattern datatype="string" operation="pattern match"
var_ref="oval:fr.gouv.defense:var:1684" var_check="all" /><br>
<instance datatype="int"
operation="equals">1</instance><br>
</textfilecontent54_object><br>
<br>
<local_variable
xmlns=<a class="moz-txt-link-rfc2396E" href="http://oval.mitre.org/XMLSchema/oval-definitions-5">"http://oval.mitre.org/XMLSchema/oval-definitions-5"</a>
id="oval:fr.gouv.defense:var:1684" version="1" comment="random
regexp" datatype="string"><br>
<concat><br>
<literal_component>^PASS_MAX_DAYS\s+</literal_component><br>
<variable_component
var_ref="oval:fr.gouv.defense:var:1680" /><br>
<literal_component>\s*.*</literal_component><br>
</concat><br>
</local_variable><br>
<external_variable
xmlns=<a class="moz-txt-link-rfc2396E" href="http://oval.mitre.org/XMLSchema/oval-definitions-5">"http://oval.mitre.org/XMLSchema/oval-definitions-5"</a>
id="oval:fr.gouv.defense:var:1680" version="1"
comment="PASS_MAX_DAYS" datatype="string" /><br>
<br>
The error seems to come from the external_variable, but I don't
really know why.<br>
<br>
Thanking you in advance,<br>
<br>
Baptiste Villiot<br>
<span style="font-size:8.0pt;color:#1F497D;mso-fareast-language:FR"></span>
<div class="moz-signature">
<div class="moz-signature"> </div>
</div>
</body>
</html>