CPE2_3_WFN class¶
-
class
cpe.cpe2_3_wfn.
CPE2_3_WFN
(cpe_str, *args, **kwargs)¶ 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
-
static
__new__
(cls, cpe_str, *args, **kwargs)¶ Create a new CPE Name of version 2.3 with WFN style.
Parameters: cpe_str (string) – CPE Name string Returns: CPE object of version 2.3 of CPE specification with WFN style. Return type: CPE2_3_WFN