|
611 | 611 | <criterion comment="Wind River Linux version is 8." test_ref="oval:org.open-scap.cpe.wrlinux:tst:8" />
|
612 | 612 | </criteria>
|
613 | 613 | </definition>
|
| 614 | + <definition class="inventory" id="oval:org.open-scap.cpe.windows:def:7" version="1"> |
| 615 | + <metadata> |
| 616 | + <title>Microsoft Windows 7</title> |
| 617 | + <affected family="windows"> |
| 618 | + <platform>Microsoft Windows 7</platform> |
| 619 | + </affected> |
| 620 | + <reference ref_id="cpe:/o:microsoft:windows_7" source="CPE"/> |
| 621 | + <description>The operating system installed on the system is Microsoft Windows 7</description> |
| 622 | + </metadata> |
| 623 | + <criteria operator="OR"> |
| 624 | + <criterion comment="Microsoft Windows 7 is installed" test_ref="oval:org.open-scap.cpe.windows:tst:7" /> |
| 625 | + </criteria> |
| 626 | + </definition> |
| 627 | + <definition class="inventory" id="oval:org.open-scap.cpe.windows:def:8" version="1"> |
| 628 | + <metadata> |
| 629 | + <title>Microsoft Windows 8</title> |
| 630 | + <affected family="windows"> |
| 631 | + <platform>Microsoft Windows 8</platform> |
| 632 | + </affected> |
| 633 | + <reference ref_id="cpe:/o:microsoft:windows_8" source="CPE"/> |
| 634 | + <description>The operating system installed on the system is Microsoft Windows 8</description> |
| 635 | + </metadata> |
| 636 | + <criteria operator="OR"> |
| 637 | + <criterion comment="Microsoft Windows 8 is installed" test_ref="oval:org.open-scap.cpe.windows:tst:8" /> |
| 638 | + </criteria> |
| 639 | + </definition> |
| 640 | + <definition class="inventory" id="oval:org.open-scap.cpe.windows:def:81" version="1"> |
| 641 | + <metadata> |
| 642 | + <title>Microsoft Windows 8.1</title> |
| 643 | + <affected family="windows"> |
| 644 | + <platform>Microsoft Windows 8.1</platform> |
| 645 | + </affected> |
| 646 | + <reference ref_id="cpe:/o:microsoft:windows_8.1" source="CPE"/> |
| 647 | + <description>The operating system installed on the system is Microsoft Windows 8.1</description> |
| 648 | + </metadata> |
| 649 | + <criteria operator="OR"> |
| 650 | + <criterion comment="Microsoft Windows 8.1 is installed" test_ref="oval:org.open-scap.cpe.windows:tst:81" /> |
| 651 | + </criteria> |
| 652 | + </definition> |
| 653 | + <definition class="inventory" id="oval:org.open-scap.cpe.windows:def:10" version="1"> |
| 654 | + <metadata> |
| 655 | + <title>Microsoft Windows 10</title> |
| 656 | + <affected family="windows"> |
| 657 | + <platform>Microsoft Windows 10</platform> |
| 658 | + </affected> |
| 659 | + <reference ref_id="cpe:/o:microsoft:windows_10" source="CPE"/> |
| 660 | + <description>The operating system installed on the system is Microsoft Windows 10</description> |
| 661 | + </metadata> |
| 662 | + <criteria operator="OR"> |
| 663 | + <criterion comment="Microsoft Windows 10 is installed" test_ref="oval:org.open-scap.cpe.windows:tst:10" /> |
| 664 | + </criteria> |
| 665 | + </definition> |
| 666 | + <definition class="inventory" id="oval:org.open-scap.cpe.windows:def:2008" version="1"> |
| 667 | + <metadata> |
| 668 | + <title>Microsoft Windows Server 2008</title> |
| 669 | + <affected family="windows"> |
| 670 | + <platform>Microsoft Windows Server 2008</platform> |
| 671 | + </affected> |
| 672 | + <reference ref_id="cpe:/o:microsoft:windows_server_2008" source="CPE"/> |
| 673 | + <description>The operating system installed on the system is Microsoft Windows Server 2008</description> |
| 674 | + </metadata> |
| 675 | + <criteria operator="OR"> |
| 676 | + <criterion comment="Microsoft Windows Server 2008 is installed" test_ref="oval:org.open-scap.cpe.windows:tst:2008" /> |
| 677 | + </criteria> |
| 678 | + </definition> |
| 679 | + <definition class="inventory" id="oval:org.open-scap.cpe.windows:def:2012" version="1"> |
| 680 | + <metadata> |
| 681 | + <title>Microsoft Windows Server 2012</title> |
| 682 | + <affected family="windows"> |
| 683 | + <platform>Microsoft Windows Server 2012</platform> |
| 684 | + </affected> |
| 685 | + <reference ref_id="cpe:/o:microsoft:windows_server_2012" source="CPE"/> |
| 686 | + <description>The operating system installed on the system is Microsoft Windows Server 2012</description> |
| 687 | + </metadata> |
| 688 | + <criteria operator="OR"> |
| 689 | + <criterion comment="Microsoft Windows Server 2012 is installed" test_ref="oval:org.open-scap.cpe.windows:tst:2012" /> |
| 690 | + </criteria> |
| 691 | + </definition> |
| 692 | + <definition class="inventory" id="oval:org.open-scap.cpe.windows:def:2016" version="1"> |
| 693 | + <metadata> |
| 694 | + <title>Microsoft Windows Server 2016</title> |
| 695 | + <affected family="windows"> |
| 696 | + <platform>Microsoft Windows Server 2016</platform> |
| 697 | + </affected> |
| 698 | + <reference ref_id="cpe:/o:microsoft:windows_server_2016" source="CPE"/> |
| 699 | + <description>The operating system installed on the system is Microsoft Windows Server 2016</description> |
| 700 | + </metadata> |
| 701 | + <criteria operator="OR"> |
| 702 | + <criterion comment="Microsoft Windows Server 2016 is installed" test_ref="oval:org.open-scap.cpe.windows:tst:2016" /> |
| 703 | + </criteria> |
| 704 | + </definition> |
614 | 705 | </definitions>
|
615 | 706 | <tests>
|
616 | 707 | <rpmverifyfile_test check_existence="at_least_one_exists" id="oval:org.open-scap.cpe.rhel:tst:2" version="1" check="at least one" comment="/etc/redhat-release is provided by redhat-release package"
|
|
867 | 958 | <object object_ref="oval:org.open-scap.cpe.rhevh:obj:2" />
|
868 | 959 | <state state_ref="oval:org.open-scap.cpe.rhevh:ste:2" />
|
869 | 960 | </textfilecontent54_test>
|
| 961 | + <registry_test id="oval:org.open-scap.cpe.windows:tst:7" version="1" comment="Windows 7 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 962 | + <object object_ref="oval:org.open-scap.cpe.windows:obj:1"/> |
| 963 | + <state state_ref="oval:org.open-scap.cpe.windows:ste:7"/> |
| 964 | + </registry_test> |
| 965 | + <registry_test id="oval:org.open-scap.cpe.windows:tst:8" version="1" comment="Windows 8 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 966 | + <object object_ref="oval:org.open-scap.cpe.windows:obj:1"/> |
| 967 | + <state state_ref="oval:org.open-scap.cpe.windows:ste:8"/> |
| 968 | + </registry_test> |
| 969 | + <registry_test id="oval:org.open-scap.cpe.windows:tst:81" version="1" comment="Windows 8.1 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 970 | + <object object_ref="oval:org.open-scap.cpe.windows:obj:1"/> |
| 971 | + <state state_ref="oval:org.open-scap.cpe.windows:ste:81"/> |
| 972 | + </registry_test> |
| 973 | + <registry_test id="oval:org.open-scap.cpe.windows:tst:10" version="1" comment="Windows 10 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 974 | + <object object_ref="oval:org.open-scap.cpe.windows:obj:1"/> |
| 975 | + <state state_ref="oval:org.open-scap.cpe.windows:ste:10"/> |
| 976 | + </registry_test> |
| 977 | + <registry_test id="oval:org.open-scap.cpe.windows:tst:2008" version="1" comment="Windows Server 2008 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 978 | + <object object_ref="oval:org.open-scap.cpe.windows:obj:1"/> |
| 979 | + <state state_ref="oval:org.open-scap.cpe.windows:ste:2008"/> |
| 980 | + </registry_test> |
| 981 | + <registry_test id="oval:org.open-scap.cpe.windows:tst:2012" version="1" comment="Windows Server 2012 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 982 | + <object object_ref="oval:org.open-scap.cpe.windows:obj:1"/> |
| 983 | + <state state_ref="oval:org.open-scap.cpe.windows:ste:2012"/> |
| 984 | + </registry_test> |
| 985 | + <registry_test id="oval:org.open-scap.cpe.windows:tst:2016" version="1" comment="Windows Server 2016 is installed" check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 986 | + <object object_ref="oval:org.open-scap.cpe.windows:obj:1"/> |
| 987 | + <state state_ref="oval:org.open-scap.cpe.windows:ste:2016"/> |
| 988 | + </registry_test> |
870 | 989 | </tests>
|
871 | 990 | <objects>
|
872 | 991 | <family_object id="oval:org.open-scap.cpe.unix:obj:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"/>
|
|
920 | 1039 | <rpminfo_object id="oval:org.open-scap.cpe.oraclelinux-release:obj:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
|
921 | 1040 | <name>oraclelinux-release</name>
|
922 | 1041 | </rpminfo_object>
|
| 1042 | + <registry_object id="oval:org.open-scap.cpe.windows:obj:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" > |
| 1043 | + <hive>HKEY_LOCAL_MACHINE</hive> |
| 1044 | + <key>SOFTWARE\Microsoft\Windows NT\CurrentVersion</key> |
| 1045 | + <name>ProductName</name> |
| 1046 | + </registry_object> |
923 | 1047 | </objects>
|
924 | 1048 | <states>
|
925 | 1049 | <family_state id="oval:org.open-scap.cpe.unix:ste:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
|
|
1079 | 1203 | <textfilecontent54_state id="oval:org.open-scap.cpe.rhevh:ste:2" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
|
1080 | 1204 | <subexpression operation="pattern match">7</subexpression>
|
1081 | 1205 | </textfilecontent54_state>
|
| 1206 | + <registry_state id="oval:org.open-scap.cpe.windows:ste:7" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 1207 | + <value operation="pattern match">^Windows 7.*$</value> |
| 1208 | + </registry_state> |
| 1209 | + <registry_state id="oval:org.open-scap.cpe.windows:ste:8" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 1210 | + <value operation="pattern match">^Windows 8.*$</value> |
| 1211 | + </registry_state> |
| 1212 | + <registry_state id="oval:org.open-scap.cpe.windows:ste:81" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 1213 | + <value operation="pattern match">^Windows 8\.1.*$</value> |
| 1214 | + </registry_state> |
| 1215 | + <registry_state id="oval:org.open-scap.cpe.windows:ste:10" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 1216 | + <value operation="pattern match">^Windows 10.*$</value> |
| 1217 | + </registry_state> |
| 1218 | + <registry_state id="oval:org.open-scap.cpe.windows:ste:2008" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 1219 | + <value operation="pattern match">^.*2008.*$</value> |
| 1220 | + </registry_state> |
| 1221 | + <registry_state id="oval:org.open-scap.cpe.windows:ste:2012" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 1222 | + <value operation="pattern match">^.*2012.*$</value> |
| 1223 | + </registry_state> |
| 1224 | + <registry_state id="oval:org.open-scap.cpe.windows:ste:2016" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows"> |
| 1225 | + <value operation="pattern match">^.*2016.*$</value> |
| 1226 | + </registry_state> |
1082 | 1227 | </states>
|
1083 | 1228 | </oval_definitions>
|
0 commit comments