CPE2_3_FS class¶
-
class
cpe.cpe2_3_fs.
CPE2_3_FS
(cpe_str, *args, **kwargs)¶ Implementation of binding style formatted string of version 2.3 of CPE specification.
Each name starts with the prefix ‘cpe:2.3:’.
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:
cpe:2.3:part:vendor:product:version:update:edition:language:sw_edition:target_sw:target_hw:other-
__len__
()¶ Returns the number of components of CPE Name. This CPE Name always have eleven components set.
Returns: count of components of CPE Name Return type: int