Bug 404361 - Provide our CPE name in a new system file
Summary: Provide our CPE name in a new system file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-29 13:37 UTC by Mark J. Cox
Modified: 2013-01-10 01:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-13 15:32:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
quick example patch (1.04 KB, patch)
2007-11-29 13:37 UTC, Mark J. Cox
no flags Details | Diff

Description Mark J. Cox 2007-11-29 13:37:35 UTC
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
cpe://o:fedora_project:fedora:%{version}

Comment 1 Mark J. Cox 2007-11-29 13:37:35 UTC
Created attachment 272911 [details]
quick example patch

Comment 2 Jesse Keating 2007-11-29 14:34:32 UTC
How does RHEL do it?

Comment 4 Jesse Keating 2008-03-13 15:32:09 UTC
Added this patch in as part of fedora-release for Fedora 9 Beta.


Note You need to log in before you can comment on or make changes to this bug.