From 97e88ae32ef6f13c057f9b9be1a7c8ab811f0a72 Mon Sep 17 00:00:00 2001 From: Tim Lee Date: Tue, 21 Nov 2023 10:25:27 -0700 Subject: [PATCH] hotfix: update CPE tests (#15250) --- server/vulnerabilities/nvd/cpe_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/vulnerabilities/nvd/cpe_test.go b/server/vulnerabilities/nvd/cpe_test.go index 6cca1492cb..36827ac284 100644 --- a/server/vulnerabilities/nvd/cpe_test.go +++ b/server/vulnerabilities/nvd/cpe_test.go @@ -648,7 +648,7 @@ func TestCPEFromSoftwareIntegration(t *testing.T) { Version: "5.11.6 (9890)", Vendor: "", BundleIdentifier: "us.zoom.xos", - }, cpe: "cpe:2.3:a:zoom:meetings:5.11.6.9890:*:*:*:*:macos:*:*", + }, cpe: "cpe:2.3:a:zoom:zoom:5.11.6.9890:*:*:*:*:macos:*:*", }, { software: fleet.Software{ @@ -1125,7 +1125,7 @@ func TestCPEFromSoftwareIntegration(t *testing.T) { Version: "3.12.4", Vendor: "", BundleIdentifier: "", - }, cpe: "cpe:2.3:a:golang:protobuf:3.12.4:*:*:*:*:python:*:*", + }, cpe: "cpe:2.3:a:google:protobuf:3.12.4:*:*:*:*:python:*:*", }, { software: fleet.Software{ @@ -1152,7 +1152,7 @@ func TestCPEFromSoftwareIntegration(t *testing.T) { Version: "2.3.0+ubuntu2.1", Vendor: "", BundleIdentifier: "", - }, cpe: "cpe:2.3:a:debian:python-apt:2.3.0.ubuntu2.1:*:*:*:*:python:*:*", + }, cpe: "cpe:2.3:a:ubuntu:python-apt:2.3.0.ubuntu2.1:*:*:*:*:python:*:*", }, { software: fleet.Software{ @@ -1188,7 +1188,7 @@ func TestCPEFromSoftwareIntegration(t *testing.T) { Version: "2.25.1", Vendor: "", BundleIdentifier: "", - }, cpe: "cpe:2.3:a:jenkins:requests:2.25.1:*:*:*:*:python:*:*", + }, cpe: "cpe:2.3:a:python:requests:2.25.1:*:*:*:*:python:*:*", }, { software: fleet.Software{