From bd721d8a0a5ca4dcac76ee4302c50bd1385212bf Mon Sep 17 00:00:00 2001 From: Mateo Cervilla Date: Tue, 5 Sep 2023 13:15:41 -0300 Subject: [PATCH] fix: Update ITs URL for SUSE OVAL --- .../cases_validate_xml_feed_content.yaml | 54 ++++++++++--------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/tests/integration/test_vulnerability_detector/test_feeds/data/test_cases/cases_validate_xml_feed_content.yaml b/tests/integration/test_vulnerability_detector/test_feeds/data/test_cases/cases_validate_xml_feed_content.yaml index a9a71d886d..81f250c8c8 100644 --- a/tests/integration/test_vulnerability_detector/test_feeds/data/test_cases/cases_validate_xml_feed_content.yaml +++ b/tests/integration/test_vulnerability_detector/test_feeds/data/test_cases/cases_validate_xml_feed_content.yaml @@ -122,57 +122,63 @@ configuration_parameters: metadata: provider_name: SUSE Linux Enterprise Desktop 11 - expected_format: xml - path: /tmp/suse.linux.enterprise.desktop.11.xml - extension: xml - url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.desktop.11.xml + expected_format: application/gzip + path: /tmp/suse.linux.enterprise.desktop.11.xml.gz + extension: gz + decompressed_file: /tmp/suse.desktop.11.xml + url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.desktop.11.xml.gz - name: SUSE Linux Enterprise Desktop 12 description: SUSE Linux Enterprise Desktop 12 provider configuration_parameters: metadata: provider_name: SUSE Linux Enterprise Desktop 12 - expected_format: xml - path: /tmp/suse.linux.enterprise.desktop.12.xml - extension: xml - url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.desktop.12.xml + expected_format: application/gzip + path: /tmp/suse.linux.enterprise.desktop.12.xml.gz + extension: gz + decompressed_file: /tmp/suse.desktop.12.xml + url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.desktop.12.xml.gz - name: SUSE Linux Enterprise Desktop 15 description: SUSE Linux Enterprise Desktop 15 provider configuration_parameters: metadata: provider_name: SUSE Linux Enterprise Desktop 15 - expected_format: xml - path: /tmp/suse.linux.enterprise.desktop.15.xml - extension: xml - url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.desktop.15.xml + expected_format: application/gzip + path: /tmp/suse.linux.enterprise.desktop.15.xml.gz + extension: gz + decompressed_file: /tmp/suse.desktop.15.xml + url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.desktop.15.xml.gz - name: SUSE Linux Enterprise Server 11 description: SUSE Linux Enterprise Server 11 provider configuration_parameters: metadata: provider_name: SUSE Linux Enterprise Server 11 - expected_format: xml - path: /tmp/suse.linux.enterprise.server.11.xml - extension: xml - url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.server.11.xml + expected_format: application/gzip + path: /tmp/suse.linux.enterprise.server.11.xml.gz + extension: gz + decompressed_file: /tmp/suse.server.11.xml + url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.server.11.xml.gz - name: SUSE Linux Enterprise Server 12 description: SUSE Linux Enterprise Server 12 provider configuration_parameters: metadata: provider_name: SUSE Linux Enterprise Server 12 - expected_format: xml - path: /tmp/suse.linux.enterprise.server.12.xml - extension: xml - url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.server.12.xml + expected_format: application/gzip + path: /tmp/suse.linux.enterprise.server.12.xml.gz + extension: gz + decompressed_file: /tmp/suse.server.12.xml + url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.server.12.xml.gz - name: SUSE Linux Enterprise Server 15 description: SUSE Linux Enterprise Server 15 provider configuration_parameters: metadata: provider_name: SUSE Linux Enterprise Server 15 - expected_format: xml - path: /tmp/suse.linux.enterprise.server.15.xml - extension: xml - url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.server.15.xml + expected_format: application/gzip + path: /tmp/suse.linux.enterprise.server.15.xml.gz + extension: gz + decompressed_file: /tmp/suse.server.15.xml + url: https://ftp.suse.com/pub/projects/security/oval/suse.linux.enterprise.server.15.xml.gz