@@ -83,7 +83,7 @@ func TestConvert(t *testing.T) {
83
83
want : []string {"cpe:2.3:o:cisco:ios:12.2(17d)sxb11:*:*:*:*:*:*:*" },
84
84
},
85
85
{
86
- name : "Cisco IOX -XE Version 16.12.4" ,
86
+ name : "Cisco IOS -XE Version 16.12.4" ,
87
87
args : snmp.Result {
88
88
SysDescr0 : `Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 16.12.4, RELEASE SOFTWARE (fc5)
89
89
Technical Support: http://www.cisco.com/techsupport
@@ -93,7 +93,7 @@ func TestConvert(t *testing.T) {
93
93
want : []string {"cpe:2.3:o:cisco:ios_xe:16.12.4:*:*:*:*:*:*:*" },
94
94
},
95
95
{
96
- name : "Cisco IOX -XE Version 03.06.07.E" ,
96
+ name : "Cisco IOS -XE Version 03.06.07.E" ,
97
97
args : snmp.Result {
98
98
SysDescr0 : `Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500es8-UNIVERSALK9-M), Version 03.06.07.E RELEASE SOFTWARE (fc3)
99
99
Technical Support: http://www.cisco.com/techsupport
@@ -102,6 +102,16 @@ func TestConvert(t *testing.T) {
102
102
},
103
103
want : []string {"cpe:2.3:o:cisco:ios_xe:03.06.07.e:*:*:*:*:*:*:*" },
104
104
},
105
+ {
106
+ name : "Cisco IOS-XE Version 03.06.06E on c38xx Stack" ,
107
+ args : snmp.Result {
108
+ SysDescr0 : "Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.06E RELEASE SOFTWARE (fc1)\r \n Technical Support: http://www.cisco.com/techsupport\r \n Copyright (c) 1986-2016 by Cisco Systems, Inc.\r \n Compiled Sat 17-Dec-" ,
109
+ EntPhysicalTables : map [int ]snmp.EntPhysicalTable {1 : {
110
+ EntPhysicalName : "c38xx Stack" ,
111
+ }},
112
+ },
113
+ want : []string {"cpe:2.3:h:cisco:c38xx_stack:-:*:*:*:*:*:*:*" , "cpe:2.3:o:cisco:ios_xe:03.06.06e:*:*:*:*:*:*:*" },
114
+ },
105
115
{
106
116
name : "Juniper SSG-5-SH-BT" ,
107
117
args : snmp.Result {
@@ -164,7 +174,7 @@ func TestConvert(t *testing.T) {
164
174
EntPhysicalSoftwareRev : "4.28.4M" ,
165
175
}},
166
176
},
167
- want : []string {"cpe:/ h:arista:dcs-7050tx-64:-:*:*:*:*:*:*:*" , "cpe:2.3:o:arista:eos:4.28.4m:*:*:*:*:*:*:*" },
177
+ want : []string {"cpe:2.3: h:arista:dcs-7050tx-64:-:*:*:*:*:*:*:*" , "cpe:2.3:o:arista:eos:4.28.4m:*:*:*:*:*:*:*" },
168
178
},
169
179
{
170
180
name : "FortiGate-50E" ,
0 commit comments