当前位置: 代码迷 >> 综合 >> CPE命名标准 - Common Platform Enumeration
  详细解决方案

CPE命名标准 - Common Platform Enumeration

热度:17   发布时间:2024-02-19 18:17:28.0


参考网站:https://nmap.org/book/output-formats-cpe.html


打开上面的网站,看第一段内容:

Common Platform Enumeration (CPE) is a standardized way to name software applications, operating systems, and hardware platforms.

CPE是(Common Platform Enumeration的缩写)以标准化方式为软件应用程序、操作系统及硬件命名的方法。


CentOS7下就可以看到CPE命名内容

[root@gitlab1 ~]# hostnamectl Static hostname: gitlab1Icon name: computer-vmChassis: vmMachine ID: 586f03f69fab4530b461eb2a32506344Boot ID: 39f587bc7a2d4a42a00b709c09939fdaVirtualization: vmwareOperating System: CentOS Linux 7 (Core)CPE OS Name: cpe:/o:centos:centos:7Kernel: Linux 3.10.0-514.6.1.el7.x86_64Architecture: x86-64


内容格式:

cpe:/<part>:<vendor>:<product>:<version>:<update>:<edition>:<language>


简单了,把<part>这个搞清楚就行了

a for applications,

h for hardware platforms, or

o for operating systems.


a是应用,h是硬件平台,o是操作系统


前段时间在想运维平台上少了一个将数据中心所有东西(软、硬件、文件、进程)配上URL的方法,CPE正好提供了一种可行的思路。

原文地址

  相关解决方案