Red Hat Bugzilla – Bug 404361
Provide our CPE name in a new system file
Last modified: 2013-01-09 20:44:13 EST
CPE (Common Platform Enumeration) is a structured naming scheme for platforms
proposed by Mitre.
CPE is used by the National Vulnerability Database and is part of SCAP and is
designed to be a way of providing a formal way to uniquely identify a platform.
Whilst security tools can guess our platform by reading
/etc/[fedora|redhat|system]-release, parsing the marketing names is not
consistent. We're already using CPE names to identify platforms and metrics
when releasing Red Hat Enterprise Linux advisories.
So the proposal is to have fedora-release provide the CPE name for the release
in such a way that third party system tools can make use of it, and also to
convince other distributions to do the same.
For example, the formal name for the OS platform Fedora 8 is
"cpe://o:fedora_project:fedora:8" (ignore the incorrect name used in the
dictionary on the NVD site, it's due for update shortly)
This is a common platform name, regardless of what individual applications
(packages) are provided. Therefore spins can use the same name.
So perhaps provide a /etc/system-release-cpe (/etc/system-cpe?) file containing
Created attachment 272911 [details]
quick example patch
How does RHEL do it?
Added this patch in as part of fedora-release for Fedora 9 Beta.