#243 Incorrect status of the registry_item for default value

Version 5.10.1
closed-fixed
nobody
4
2013-02-05
2012-12-21
Sergey Artykhov
No

OVALDI sets incorrect status in registry_item when collect default value. For example:

<registry_object id="oval:ru.altx-soft.oval:obj:1" comment="registry HKEY_LOCAL_MACHINE\SYSTEM!default name" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
<hive>HKEY_LOCAL_MACHINE</hive>
<key>SYSTEM</key>
<name></name>
</registry_object>

OVALDI returns:

<registry_item id="1" status="does not exist" xmlns="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#windows">
<hive>HKEY_LOCAL_MACHINE</hive>
<key>SYSTEM</key>
<name status="does not exist"></name>
<windows_view>64_bit</windows_view>
</registry_item>

This is incorrect. Registry_item should have a status "exists". For example:

<registry_item id="1" xmlns="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#windows">
<hive>HKEY_LOCAL_MACHINE</hive>
<key>SYSTEM</key>
<name />
<last_write_time datatype="int">634915336685780002</last_write_time>
<type status="does not exist" />
<value status="does not exist" />
<windows_view>64_bit</windows_view>
</registry_item>

Discussion

  • example

     
    Attachments
  • Company altx-soft.ru

     
    • priority: 5 --> 4
    • summary: Incorrect status of registry_item for default name --> Incorrect status of the registry_item for default value
     
  • This seems to have been fixed on trunk. I get:

    <registry_item id="1" xmlns="http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#windows">
    <hive>HKEY_LOCAL_MACHINE</hive>
    <key>SYSTEM</key>
    <name></name>
    <last_write_time datatype="int">130045633755780001</last_write_time>
    <type>reg_sz</type>
    <value></value>
    <windows_view>64_bit</windows_view>
    </registry_item>

     
    • status: open --> closed-fixed