From 28b6c93cf9ff9ac0c10ce3d92e3959b0ab280d0f Mon Sep 17 00:00:00 2001 From: Patrik Segedy Date: Thu, 16 Nov 2023 17:37:29 +0100 Subject: [PATCH] fix: use new url for cpe dictionary xml --- vmaas/reposcan/redhatcpe/cpe_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmaas/reposcan/redhatcpe/cpe_controller.py b/vmaas/reposcan/redhatcpe/cpe_controller.py index 4d2bc494f..53031a324 100644 --- a/vmaas/reposcan/redhatcpe/cpe_controller.py +++ b/vmaas/reposcan/redhatcpe/cpe_controller.py @@ -13,7 +13,7 @@ from vmaas.reposcan.mnm import FAILED_CPE_METADATA from vmaas.reposcan.redhatcpe.cpe_dict import CpeDict -CPE_DICT_URL = os.getenv('CPE_DICT_URL', 'https://www.redhat.com/security/data/metrics/cpe-dictionary.xml') +CPE_DICT_URL = os.getenv('CPE_DICT_URL', 'https://access.redhat.com/security/data/meta/v1/cpe-dictionary.xml') REPO_TO_CPE_URL = os.getenv('REPO_TO_CPE_URL', 'https://www.redhat.com/security/data/metrics/repository-to-cpe.json')