Skip to content

Commit 3b0b938

Browse files
Merge pull request #1343 from jan-cerny/fix_fedora_cpe
Update Fedora CPE OVAL
2 parents a793916 + 4d145e2 commit 3b0b938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpe/openscap-cpe-oval.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@
911911
<lin-def:name>redhat-release</lin-def:name>
912912
</lin-def:rpminfo_object>
913913
<lin-def:rpminfo_object id="oval:org.open-scap.cpe.fedora-release:obj:2" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
914-
<lin-def:name>fedora-release</lin-def:name>
914+
<lin-def:name operation="pattern match">^fedora-release.*</lin-def:name>
915915
</lin-def:rpminfo_object>
916916
<lin-def:rpmverifyfile_object id="oval:org.open-scap.cpe.redhat-release:obj:3" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
917917
<!-- Sadly, OVAL cannot do the right query (rpm -q -whatprovides system-release). Let's check the filename instead. -->

0 commit comments

Comments
 (0)