|
638 | 638 | <criterion comment="Wind River Linux version is 8." test_ref="oval:org.open-scap.cpe.wrlinux:tst:8" />
|
639 | 639 | </criteria>
|
640 | 640 | </definition>
|
| 641 | + <definition class="inventory" id="oval:org.open-scap.cpe.wrlinux:def:1019" version="1" > |
| 642 | + <metadata> |
| 643 | + <title>Wind River Linux 1019</title> |
| 644 | + <affected family="unix"> |
| 645 | + <platform>Wind River Linux 1019</platform> |
| 646 | + </affected> |
| 647 | + <reference ref_id="cpe:/o:windriver:wrlinux:1019" source="CPE"/> |
| 648 | + <description>The operating system installed on the system is Wind River Linux 1019</description> |
| 649 | + </metadata> |
| 650 | + <criteria> |
| 651 | + <criterion comment="Wind River Linux version is 1019." test_ref="oval:org.open-scap.cpe.wrlinux:tst:1019" /> |
| 652 | + </criteria> |
| 653 | + </definition> |
641 | 654 | </definitions>
|
642 | 655 | <tests>
|
643 | 656 | <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"
|
|
897 | 910 | <object object_ref="oval:org.open-scap.cpe.wrlinux-release:obj:2"/>
|
898 | 911 | <state state_ref="oval:org.open-scap.cpe.wrlinux-release:ste:8"/>
|
899 | 912 | </textfilecontent54_test>
|
| 913 | + <textfilecontent54_test |
| 914 | + id="oval:org.open-scap.cpe.wrlinux:tst:1019" |
| 915 | + check="all" |
| 916 | + check_existence="all_exist" |
| 917 | + comment="Check /etc/os-release for VERSION 1019 specification." |
| 918 | + version="1" |
| 919 | + xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" |
| 920 | + > |
| 921 | + <object object_ref="oval:org.open-scap.cpe.wrlinux-release:obj:3"/> |
| 922 | + <state state_ref="oval:org.open-scap.cpe.wrlinux-release:ste:10"/> |
| 923 | + </textfilecontent54_test> |
900 | 924 | <rpminfo_test check="all" check_existence="only_one_exists" comment="redhat-release-virtualization-host RPM package is installed" id="oval:org.open-scap.cpe.rhevh:tst:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
|
901 | 925 | <object object_ref="oval:org.open-scap.cpe.rhevh:obj:1" />
|
902 | 926 | </rpminfo_test>
|
|
946 | 970 | <pattern operation="pattern match">^VERSION=.([[:digit:]]*)</pattern>
|
947 | 971 | <instance operation="greater than or equal" datatype="int">1</instance>
|
948 | 972 | </textfilecontent54_object>
|
| 973 | + <textfilecontent54_object |
| 974 | + id="oval:org.open-scap.cpe.wrlinux-release:obj:3" |
| 975 | + comment="Check VERSION specification in /etc/os-release." |
| 976 | + version="1" |
| 977 | + xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" |
| 978 | + > |
| 979 | + <path>/etc</path> |
| 980 | + <filename>os-release</filename> |
| 981 | + <pattern operation="pattern match">^VERSION=.(\d*.\d*)</pattern> |
| 982 | + <instance operation="greater than or equal" datatype="int">1</instance> |
| 983 | + </textfilecontent54_object> |
949 | 984 | <rpminfo_object id="oval:org.open-scap.cpe.rhevh:obj:1" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
|
950 | 985 | <name>redhat-release-virtualization-host</name>
|
951 | 986 | </rpminfo_object>
|
|
1120 | 1155 | >
|
1121 | 1156 | <subexpression operation="pattern match">8</subexpression>
|
1122 | 1157 | </textfilecontent54_state>
|
| 1158 | + <textfilecontent54_state |
| 1159 | + id="oval:org.open-scap.cpe.wrlinux-release:ste:10" |
| 1160 | + comment="Check the /etc/os-release file for VERSION 1019 specification." |
| 1161 | + version="1" |
| 1162 | + xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" |
| 1163 | + > |
| 1164 | + <subexpression operation="pattern match">10.19</subexpression> |
| 1165 | + </textfilecontent54_state> |
1123 | 1166 | <textfilecontent54_state id="oval:org.open-scap.cpe.rhevh:ste:2" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
|
1124 | 1167 | <subexpression operation="pattern match">7</subexpression>
|
1125 | 1168 | </textfilecontent54_state>
|
|
0 commit comments