CPE2_3_WFN class¶
- class cpe.cpe2_3_wfn.CPE2_3_WFN(cpe_str, *args, **kwargs)[source]¶
Implementation of WFN of version 2.3 of CPE specification.
A CPE Name is a percent-encoded WFN with each name starting with the prefix ‘wfn:’.
Each platform can be broken down into many distinct parts. A CPE Name specifies a simple part and is used to identify any platform that matches the description of that part.
The distinct parts are:
- Hardware part: the physical platform supporting the IT system.
- Operating system part: the operating system controls and manages the IT hardware.
- Application part: software systems, services, servers, and packages installed on the system.
CPE Name syntax: wfn:[a1=v1, a2=v2, …, an=vn]
Only the following attributes SHALL be permitted in a WFN attribute-value pair:
- part
- vendor
- product
- version
- update
- edition
- language
- sw_edition
- target_sw
- target_hw
- other
- CPE_PREFIX = 'wfn:['¶
Prefix of CPE Name with WFN style
- CPE_SUFFIX = ']'¶
Suffix of CPE Name with WFN style
- STYLE = 'WFN'¶
Style of CPE Name