diff --git a/schema/vulnerability/os/schema-1.0.3.json b/schema/vulnerability/os/schema-1.0.3.json new file mode 100644 index 00000000..acde306e --- /dev/null +++ b/schema/vulnerability/os/schema-1.0.3.json @@ -0,0 +1,216 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "title": "os-vulnerability", + "description": "represents vulnerability records for common linux distributions", + "properties": { + "Vulnerability": { + "type": "object", + "properties": { + "CVSS": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "base_metrics": { + "type": "object", + "properties": { + "base_score": { + "type": "number" + }, + "base_severity": { + "type": "string" + }, + "exploitability_score": { + "type": "number" + }, + "impact_score": { + "type": "number" + } + }, + "required": [ + "base_score", + "base_severity", + "exploitability_score", + "impact_score" + ] + }, + "status": { + "type": "string" + }, + "vector_string": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "base_metrics", + "status", + "vector_string", + "version" + ] + } + ] + }, + "Description": { + "type": "string" + }, + "FixedIn": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "NamespaceName": { + "type": "string" + }, + "OS": { + "type": "object", + "properties": { + "ID": { + "type": "string" + }, + "Version": { + "type": "string" + } + } + }, + "Architectures": { + "type": "array", + "items": { + "type": "string" + } + }, + "VendorAdvisory": { + "type": "object", + "properties": { + "AdvisorySummary": { + "type": "array", + "items": {} + }, + "NoAdvisory": { + "type": "boolean" + } + }, + "required": [ + "NoAdvisory" + ] + }, + "Version": { + "type": "string" + }, + "VersionFormat": { + "type": "string" + }, + "VulnerableRange": { + "type": ["string", "null"] + }, + "Module": { + "type": ["string", "null"] + }, + "Issued": { + "type": "string", + "description": "date the fix was made available" + } + }, + "required": [ + "Name", + "NamespaceName", + "Version", + "VersionFormat" + ] + } + ] + }, + "Link": { + "type": "string" + }, + "Metadata": { + "type": "object", + "properties": { + "Issued": { + "type": "string", + "description": "date the vulnerability was published" + }, + "Updated": { + "type": "string", + "description": "date the vulnerability was last updated" + }, + "Withdrawn": { + "type": "string", + "description": "date the vulnerability was withdrawn" + }, + "RefId": { + "type": "string" + }, + "CVE": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "Link": { + "type": "string" + } + }, + "required": [ + "Name" + ] + } + ] + }, + "NVD": { + "type": "object", + "properties": { + "CVSSv2": { + "type": "object", + "properties": { + "Score": { + "type": "number" + }, + "Vectors": { + "type": "string" + } + }, + "required": [ + "Score" + ] + } + } + } + } + }, + "Name": { + "type": "string" + }, + "NamespaceName": { + "type": "string" + }, + "Severity": { + "type": "string" + } + }, + "required": [ + "Description", + "FixedIn", + "Link", + "Metadata", + "Name", + "NamespaceName", + "Severity" + ] + } + }, + "required": [ + "Vulnerability" + ] +} diff --git a/src/vunnel/providers/alpine/parser.py b/src/vunnel/providers/alpine/parser.py index b2948030..92133cbd 100644 --- a/src/vunnel/providers/alpine/parser.py +++ b/src/vunnel/providers/alpine/parser.py @@ -18,6 +18,7 @@ from vunnel import workspace +# namespace should match the value found in the /etc/os-release ID field namespace = "alpine" feedtype = "vulnerabilities" purge_unreported = True @@ -242,11 +243,16 @@ def _normalize(self, release, dbtype_data_dict): # noqa: C901, PLR0912 fixed_el["NamespaceName"] = namespace + ":" + str(release) fixed_el["Name"] = pkg fixed_el["Version"] = pkg_version + fixed_el["OS"] = self.os_info(release) vuln_record["Vulnerability"]["FixedIn"].append(fixed_el) return vuln_dict + def os_info(self, release: any) -> dict[str, str]: + # note: ID is based off of the /etc/os-release ID field + return {"ID": namespace, "Version": str(release)} + def get(self): """ Download, load and normalize alpine sec db and return a dict of releae - list of vulnerability records diff --git a/src/vunnel/providers/amazon/parser.py b/src/vunnel/providers/amazon/parser.py index b9301b9a..23415a2a 100644 --- a/src/vunnel/providers/amazon/parser.py +++ b/src/vunnel/providers/amazon/parser.py @@ -10,6 +10,7 @@ from vunnel.utils import http, rpm +# namespace should match the value found in the /etc/os-release ID field namespace = "amzn" AlasSummary = namedtuple("AlasSummary", ["id", "url", "sev", "cves"]) @@ -235,6 +236,13 @@ def __init__(self): self.NamespaceName = None self.VersionFormat = None self.Version = None + self.OS = None + + +class OperatingSystem(JsonifierMixin): + def __init__(self, identifier: str | None = None, version: str | None = None): + self.ID = identifier + self.Version = version class PackagesHTMLParser(HTMLParser): @@ -316,6 +324,7 @@ def map_to_vulnerability(version, alas, fixed_in, description): f.NamespaceName = v.NamespaceName f.VersionFormat = "rpm" f.Version = item.ver + f.OS = OperatingSystem(identifier=namespace, version=version) v.FixedIn.append(f) return v diff --git a/src/vunnel/providers/debian/parser.py b/src/vunnel/providers/debian/parser.py index cc0b48e7..f429f656 100644 --- a/src/vunnel/providers/debian/parser.py +++ b/src/vunnel/providers/debian/parser.py @@ -30,6 +30,9 @@ "sid": "unstable", } +# namespace should match the value found in the /etc/os-release ID field +namespace = "debian" + class Parser: _json_url_ = "https://security-tracker.debian.org/tracker/data/json" @@ -316,7 +319,7 @@ def _normalize_json(self, ns_cve_dsalist=None): # noqa: PLR0912,PLR0915,C901 # populate the static information about the new vuln record vuln_record["Vulnerability"]["Description"] = vulnerability_data.get("description", "") vuln_record["Vulnerability"]["Name"] = str(vid) - vuln_record["Vulnerability"]["NamespaceName"] = "debian:" + str(relno) + vuln_record["Vulnerability"]["NamespaceName"] = namespace + ":" + str(relno) vuln_record["Vulnerability"]["Link"] = "https://security-tracker.debian.org/tracker/" + str(vid) vuln_record["Vulnerability"]["Severity"] = "Unknown" else: @@ -357,8 +360,12 @@ def _normalize_json(self, ns_cve_dsalist=None): # noqa: PLR0912,PLR0915,C901 skip_fixedin = False fixed_el = { "Name": pkg, - "NamespaceName": "debian:" + str(relno), + "NamespaceName": namespace + ":" + str(relno), "VersionFormat": "dpkg", + "OS": { + "ID": namespace, + "Version": str(relno), + }, } if "fixed_version" in distro_record: diff --git a/src/vunnel/providers/mariner/parser.py b/src/vunnel/providers/mariner/parser.py index c89b879a..d97dc46b 100644 --- a/src/vunnel/providers/mariner/parser.py +++ b/src/vunnel/providers/mariner/parser.py @@ -9,7 +9,7 @@ from vunnel.providers.mariner.model import Definition, RpminfoObject, RpminfoState, RpminfoTest from vunnel.utils import http -from vunnel.utils.vulnerability import FixedIn, Vulnerability +from vunnel.utils.vulnerability import FixedIn, OperatingSystem, Vulnerability if TYPE_CHECKING: import logging @@ -166,6 +166,10 @@ def make_fixed_in(self, definition: Definition) -> FixedIn | None: VulnerableRange=vulnerability_range_str, Module=None, VendorAdvisory=None, + OS=OperatingSystem( + ID=VERSION_TO_OS_ID.get(self.mariner_version, DEFAULT_VERSION_ID), + Version=self.mariner_version, + ), ) def vulnerability_id(self, definition: Definition) -> str | None: @@ -223,6 +227,22 @@ def vulnerabilities(self) -> Generator[Vulnerability, None, None]: } +# All values are based off of the ID value within /etc/os-release +# e.g.: +# docker run --rm -it mcr.microsoft.com/azurelinux/base/core:3.0 cat /etc/os-release | grep ID +# ID=azurelinux +# ... +# +# docker run --rm -it mcr.microsoft.com/cbl-mariner/base/core:2.0.20220731-arm64@sha256:51101e635f56032d5afd3fb cat /etc/os-release | grep ID +# ID=mariner +# ... +DEFAULT_VERSION_ID = "azurelinux" +VERSION_TO_OS_ID = { + "1.0": "mariner", + "2.0": "mariner", +} + + class Parser: def __init__(self, workspace: Workspace, download_timeout: int, allow_versions: list[Any], logger: logging.Logger): self.workspace = workspace diff --git a/src/vunnel/providers/rhel/parser.py b/src/vunnel/providers/rhel/parser.py index ef40bc12..520b0f2a 100644 --- a/src/vunnel/providers/rhel/parser.py +++ b/src/vunnel/providers/rhel/parser.py @@ -24,6 +24,7 @@ if TYPE_CHECKING: import requests +# namespace should match the value found in the /etc/os-release ID field namespace = "rhel" @@ -816,6 +817,7 @@ def _parse_cve(self, cve_id, content): # noqa: C901, PLR0912, PLR0915 "VersionFormat": "rpm", # hard code version format for now "NamespaceName": ns, "VendorAdvisory": a, + "OS": {"ID": namespace, "Version": parse_release(artifact.version, platform)}, }, ) @@ -896,3 +898,33 @@ def normalize(self): "base_severity": self.cvss3_obj.severities()[0], }, } + + +def parse_release(fix_version: str, platform: str) -> str: + # attempt to parse 0:1.0.0-8.el8_8.1 for the release info (8.8.1) + # otherwise fallback to the platform version + + if "module+el" in fix_version: + # find the second + and trim the rest, then grab the last section: + # e.g. : 2.4.37-47.module+el8.6.0+15654+427eba2e.2 + # should result in "-47.module+el8.6.0" being returned as the last section + end = len(fix_version) + if fix_version.count("+") > 1: + end = fix_version.find("+", fix_version.find("+") + 1) + trimmed_version = fix_version[:end] + last_section = trimmed_version.split("-")[-1] + else: + before_metadata = fix_version.split("+")[0] + last_section = before_metadata.split("-")[-1] + + el_match = re.search(r"[._+]el(\d+)(?:[_.]?([0-9.]+))?", last_section) + if not el_match: + return platform + + major_version = el_match.group(1) + minor_version = el_match.group(2) + + if not minor_version: + return major_version + + return f"{major_version}.{minor_version}" diff --git a/src/vunnel/providers/sles/parser.py b/src/vunnel/providers/sles/parser.py index 9b08fff9..32296d3a 100644 --- a/src/vunnel/providers/sles/parser.py +++ b/src/vunnel/providers/sles/parser.py @@ -25,11 +25,13 @@ VulnerabilityParser, iter_parse_vulnerability_file, ) -from vunnel.utils.vulnerability import CVSS, CVSSBaseMetrics, FixedIn, Vulnerability +from vunnel.utils.vulnerability import CVSS, CVSSBaseMetrics, FixedIn, OperatingSystem, Vulnerability if TYPE_CHECKING: from vunnel.workspace import Workspace + +# namespace should match the value found in the /etc/os-release ID field (e.g. registry.suse.com/suse/sle15:15.2) namespace = "sles" @@ -306,6 +308,7 @@ def _transform_oval_vulnerabilities(cls, major_version: str, parsed_dict: dict) Version=pkg_version, Module=None, VendorAdvisory=None, + OS=OperatingSystem(ID=namespace, Version=release_version), ), ) diff --git a/src/vunnel/providers/ubuntu/parser.py b/src/vunnel/providers/ubuntu/parser.py index 55774f8e..c4129ac9 100644 --- a/src/vunnel/providers/ubuntu/parser.py +++ b/src/vunnel/providers/ubuntu/parser.py @@ -19,6 +19,7 @@ from vunnel.workspace import Workspace +# namespace should match the value found in the /etc/os-release ID field namespace = "ubuntu" default_max_workers = 8 @@ -151,6 +152,13 @@ def __init__(self): self.VersionFormat = None self.Version = None self.VendorAdvisory = None + self.OS = None + + +class OperatingSystem(JsonifierMixin): + def __init__(self, identifier=None, version=None): + self.ID = identifier + self.Version = version class Severity(enum.IntEnum): @@ -557,6 +565,7 @@ def map_parsed(parsed_cve: CVEFile, logger: logging.Logger | None = None): # no pkg.VersionFormat = "dpkg" pkg.NamespaceName = namespace_name + pkg.OS = OperatingSystem(identifier=namespace, version=ubuntu_version_names.get(p.distro)) r.FixedIn.append(pkg) # Check for max priority of all packages with it set diff --git a/src/vunnel/providers/wolfi/parser.py b/src/vunnel/providers/wolfi/parser.py index eab90366..beab1a63 100644 --- a/src/vunnel/providers/wolfi/parser.py +++ b/src/vunnel/providers/wolfi/parser.py @@ -122,12 +122,17 @@ def _normalize(self, release, data): "Version": pkg_version, "VersionFormat": "apk", "NamespaceName": self.namespace + ":" + str(release), + "OS": self.os_info(release), } vuln_record["Vulnerability"]["FixedIn"].append(fixed_el) return vuln_dict + def os_info(self, release: any) -> dict[str, str]: + # note: ID is based off of the /etc/os-release ID field + return {"ID": self.namespace, "Version": str(release)} + def get(self): """ Download, load and normalize wolfi sec db and return a dict of release - list of vulnerability records diff --git a/src/vunnel/schema.py b/src/vunnel/schema.py index a2446f88..39644b43 100644 --- a/src/vunnel/schema.py +++ b/src/vunnel/schema.py @@ -10,7 +10,7 @@ MATCH_EXCLUSION_SCHEMA_VERSION = "1.0.0" GITHUB_SECURITY_ADVISORY_SCHEMA_VERSION = "1.0.1" MSRC_SCHEMA_VERSION = "1.0.0" -OS_SCHEMA_VERSION = "1.0.2" +OS_SCHEMA_VERSION = "1.0.3" NVD_SCHEMA_VERSION = "1.0.0" OSV_SCHEMA_VERSION = "1.6.1" diff --git a/src/vunnel/utils/oval_parser.py b/src/vunnel/utils/oval_parser.py index 51532899..2bbedef3 100644 --- a/src/vunnel/utils/oval_parser.py +++ b/src/vunnel/utils/oval_parser.py @@ -183,6 +183,7 @@ def _process_definition(def_element, vuln_dict, config: Config): # noqa: PLR091 "Module": x[2], "VersionFormat": "rpm", # hard code version format for now "NamespaceName": ns_name, + "OS": _craft_os(ns_name, x[1]), } for x in ns_pkgs_dict[ns_name] ] @@ -211,6 +212,29 @@ def _process_definition(def_element, vuln_dict, config: Config): # noqa: PLR091 vuln_dict[(name, ns_name)] = (def_version, v) +def _craft_os(ns_name: str, fix_version: str) -> dict[str, str]: + # the fix version is in the form: name-version-release, for example tigervnc-server-1.13.1-8.el9_4.3. + # we need to get the OS version from the fix version (in this example, 9.4.3) + name = ns_name.split(":", maxsplit=1)[0] + + version_pattern = r"\.el(\d+)(?:_([0-9.]+))?" + match = re.search(version_pattern, fix_version) + if not match: + raise ValueError(f"Unable to extract version from {fix_version!r}") + + major_version = match.group(1) + minor_version = match.group(2) + + version = major_version + if minor_version: + version = f"{major_version}.{minor_version}" + + return { + "ID": name, + "Version": version, + } + + def _process_criteria(element_a, oval_ns, config: Config): """ Parse and return a dict containing namespace mapped to a set of (package, version) tuples diff --git a/src/vunnel/utils/vulnerability.py b/src/vunnel/utils/vulnerability.py index 23b760e8..cfc592be 100644 --- a/src/vunnel/utils/vulnerability.py +++ b/src/vunnel/utils/vulnerability.py @@ -79,6 +79,7 @@ class FixedIn: Module: str | None VendorAdvisory: VendorAdvisory | None VulnerableRange: str | None = None + OS: OperatingSystem | None = None def __post_init__(self): if self.Module is None: @@ -87,6 +88,12 @@ def __post_init__(self): self.VendorAdvisory = VendorAdvisory(NoAdvisory=False, AdvisorySummary=None) +@dataclass +class OperatingSystem: + ID: str + Version: str + + @dataclass class CVSSBaseMetrics: base_score: float diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1071.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1071.json index 76c7026d..bba9c478 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1071.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1071.json @@ -8,6 +8,10 @@ { "Name": "zsh", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "5.4.2-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1083.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1083.json index ee9169e2..e2564a27 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1083.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-1083.json @@ -8,6 +8,10 @@ { "Name": "zsh", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "5.4.2-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-25032.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-25032.json index 8f7731bb..92ddf570 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-25032.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2018-25032.json @@ -8,6 +8,10 @@ { "Name": "zlib", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "1.2.12-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-11922.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-11922.json index 4ef3d193..8276ef35 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-11922.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-11922.json @@ -8,6 +8,10 @@ { "Name": "zstd", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "1.3.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-13132.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-13132.json index c0377589..371a0614 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-13132.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-13132.json @@ -8,6 +8,10 @@ { "Name": "zeromq", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "4.3.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-20044.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-20044.json index 1b4f1341..e7ddd8e9 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-20044.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-20044.json @@ -8,6 +8,10 @@ { "Name": "zsh", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "5.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-6250.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-6250.json index b3800cb1..1a35d73b 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-6250.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-6250.json @@ -8,6 +8,10 @@ { "Name": "zeromq", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "4.3.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-9210.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-9210.json index cf63654b..2022c17d 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-9210.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2019-9210.json @@ -8,6 +8,10 @@ { "Name": "advancecomp", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "2.1-r2", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-14929.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-14929.json index bbc640fe..c4bf3c5d 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-14929.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-14929.json @@ -8,6 +8,10 @@ { "Name": "alpine", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "2.23-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-15166.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-15166.json index 2d08e222..686de0a8 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-15166.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2020-15166.json @@ -8,6 +8,10 @@ { "Name": "zeromq", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "4.3.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24031.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24031.json index e48c858f..639c68fc 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24031.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24031.json @@ -8,6 +8,10 @@ { "Name": "zstd", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "1.4.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24032.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24032.json index e8bc2aef..b38197e6 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24032.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-24032.json @@ -8,6 +8,10 @@ { "Name": "zstd", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "1.4.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-38370.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-38370.json index 6b853818..41400b68 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-38370.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-38370.json @@ -8,6 +8,10 @@ { "Name": "alpine", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "2.25-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-45444.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-45444.json index cf7328f7..ec019a9b 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-45444.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2021-45444.json @@ -8,6 +8,10 @@ { "Name": "zsh", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "5.8.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-1271.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-1271.json index 4b7cb349..330d8fc1 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-1271.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-1271.json @@ -8,6 +8,10 @@ { "Name": "xz", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "5.2.5-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-37434.json b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-37434.json index e18fd4e6..7607388a 100644 --- a/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-37434.json +++ b/tests/unit/providers/alpine/test-fixtures/snapshots/3.15/cve-2022-37434.json @@ -8,6 +8,10 @@ { "Name": "zlib", "NamespaceName": "alpine:3.15", + "OS": { + "ID": "alpine", + "Version": "3.15" + }, "Version": "1.2.12-r2", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/alpine/test_alpine.py b/tests/unit/providers/alpine/test_alpine.py index f33b3125..75c507a3 100644 --- a/tests/unit/providers/alpine/test_alpine.py +++ b/tests/unit/providers/alpine/test_alpine.py @@ -12,45 +12,40 @@ class TestAlpineProvider: @pytest.fixture() def mock_raw_data(self): - """ - Returns stringified version of the following yaml - - --- - distroversion: v0.0 - reponame: main - archs: - - x86_64 - - x86 - - armhf - urlprefix: http://dl-cdn.alpinelinux.org/alpine - apkurl: "{{urlprefix}}/{{distroversion}}/{{reponame}}/{{arch}}/{{pkg.name}}-{{pkg.ver}}.apk" - packages: - - pkg: - name: apache2 - secfixes: - 2.4.26-r0: - - CVE-2017-3167 - - CVE-2017-3169 - - CVE-2017-7659 - - CVE-2017-7668 - - CVE-2017-7679 - 2.4.27-r0: - - CVE-2017-9789 - 2.4.27-r1: - - CVE-2017-9798 - - pkg: - name: augeas - secfixes: - 1.4.0-r5: - - CVE-2017-7555 - - pkg: - name: bash - secfixes: - 4.3.42-r5: - - CVE-2016-9401 - """ - - return "apkurl: '{{urlprefix}}/{{distroversion}}/{{reponame}}/{{arch}}/{{pkg.name}}-{{pkg.ver}}.apk'\narchs:\n- x86_64\n- x86\n- armhf\ndistroversion: v0.0\npackages:\n- pkg:\n name: apache2\n secfixes:\n 2.4.26-r0:\n - CVE-2017-3167\n - CVE-2017-3169\n - CVE-2017-7659\n - CVE-2017-7668\n - CVE-2017-7679\n 2.4.27-r0:\n - CVE-2017-9789\n 2.4.27-r1:\n - CVE-2017-9798\n- pkg:\n name: augeas\n secfixes:\n 1.4.0-r5:\n - CVE-2017-7555\n- pkg:\n name: bash\n secfixes:\n 4.3.42-r5:\n - CVE-2016-9401\nreponame: main\nurlprefix: http://dl-cdn.alpinelinux.org/alpine\n" # noqa: E501 + return """ +apkurl: '{{urlprefix}}/{{distroversion}}/{{reponame}}/{{arch}}/{{pkg.name}}-{{pkg.ver}}.apk' +archs: +- x86_64 +- x86 +- armhf +distroversion: v0.0 +packages: +- pkg: + name: apache2 + secfixes: + 2.4.26-r0: + - CVE-2017-3167 + - CVE-2017-3169 + - CVE-2017-7659 + - CVE-2017-7668 + - CVE-2017-7679 + 2.4.27-r0: + - CVE-2017-9789 + 2.4.27-r1: + - CVE-2017-9798 +- pkg: + name: augeas + secfixes: + 1.4.0-r5: + - CVE-2017-7555 +- pkg: + name: bash + secfixes: + 4.3.42-r5: + - CVE-2016-9401 +reponame: main +urlprefix: http://dl-cdn.alpinelinux.org/alpine +""" @pytest.fixture() def mock_parsed_data(self): diff --git a/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2/alas-2018-939.json b/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2/alas-2018-939.json index e2f8b06c..bb5b1a05 100644 --- a/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2/alas-2018-939.json +++ b/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2/alas-2018-939.json @@ -7,78 +7,130 @@ { "Name": "kernel", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-debuginfo", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-debuginfo-common-x86_64", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-devel", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-doc", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-headers", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-tools", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-tools-debuginfo", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "kernel-tools-devel", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "perf", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "perf-debuginfo", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "python-perf", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" }, { "Name": "python-perf-debuginfo", "NamespaceName": "amzn:2", + "OS": { + "ID": "amzn", + "Version": "2" + }, "Version": "4.9.76-38.79.amzn2", "VersionFormat": "rpm" } @@ -99,5 +151,5 @@ "Severity": "Critical" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2022/alas-2021-001.json b/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2022/alas-2021-001.json index 1e72a1c0..f836541b 100644 --- a/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2022/alas-2021-001.json +++ b/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2022/alas-2021-001.json @@ -7,78 +7,130 @@ { "Name": "vim", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-X11", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-X11-debuginfo", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-common", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-common-debuginfo", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-debuginfo", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-debugsource", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-default-editor", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-enhanced", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-enhanced-debuginfo", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-filesystem", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-minimal", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" }, { "Name": "vim-minimal-debuginfo", "NamespaceName": "amzn:2022", + "OS": { + "ID": "amzn", + "Version": "2022" + }, "Version": "8.2.3512-1.amzn2022", "VersionFormat": "rpm" } @@ -105,5 +157,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2023/alas-2023-126.json b/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2023/alas-2023-126.json index 4fd99974..1b29fd94 100644 --- a/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2023/alas-2023-126.json +++ b/tests/unit/providers/amazon/test-fixtures/snapshots/amzn:2023/alas-2023-126.json @@ -7,66 +7,110 @@ { "Name": "device-mapper-multipath", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "device-mapper-multipath-debuginfo", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "device-mapper-multipath-debugsource", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "device-mapper-multipath-devel", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "device-mapper-multipath-libs", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "device-mapper-multipath-libs-debuginfo", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "kpartx", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "kpartx-debuginfo", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "libdmmp", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "libdmmp-debuginfo", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" }, { "Name": "libdmmp-devel", "NamespaceName": "amzn:2023", + "OS": { + "ID": "amzn", + "Version": "2023" + }, "Version": "0.8.7-16.amzn2023.0.1", "VersionFormat": "rpm" } @@ -90,5 +134,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-2728.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-2728.json index 4c0c78e0..becbc95f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-2728.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-2728.json @@ -8,6 +8,10 @@ { "Name": "php", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-3205.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-3205.json index e67f2c3c..44a7245d 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-3205.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-3205.json @@ -8,6 +8,10 @@ { "Name": "php", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4559.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4559.json index 6e5a1f35..b9af2fb9 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4559.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4559.json @@ -8,18 +8,30 @@ { "Name": "python-3.10", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" }, { "Name": "python-3.11", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" }, { "Name": "python-3.12", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -31,5 +43,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4596.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4596.json index 0f0358d8..ac65f1ac 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4596.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2007-4596.json @@ -8,6 +8,10 @@ { "Name": "php", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2010-4756.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2010-4756.json index dc043d5f..bfd22e2f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2010-4756.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2010-4756.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2102.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2102.json index 5debfd7a..da3e9579 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2102.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2102.json @@ -8,6 +8,10 @@ { "Name": "haproxy", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2781.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2781.json index 877c959d..5e348941 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2781.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-2781.json @@ -8,6 +8,10 @@ { "Name": "coreutils", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9131.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9131.json index 6b476011..a108838f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9131.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9131.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9147.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9147.json index a608b261..a20d404f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9147.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9147.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9444.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9444.json index bad6bbee..f3151f04 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9444.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2016-9444.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3136.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3136.json index 356ef108..30272639 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3136.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3136.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3137.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3137.json index 0a271573..8049b409 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3137.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3137.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3138.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3138.json index 3e601e3f..38ddd428 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3138.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3138.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3145.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3145.json index 3cf0b875..bf206e6e 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3145.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-3145.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-7507.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-7507.json index f9769c9c..b90c138a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-7507.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-7507.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-8806.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-8806.json index 07cb120a..16998523 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-8806.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2017-8806.json @@ -8,6 +8,10 @@ { "Name": "postgresql-15", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-1000156.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-1000156.json index 9dbc983b..aa5158f8 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-1000156.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-1000156.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-12020.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-12020.json index 565f7612..f555f845 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-12020.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-12020.json @@ -8,6 +8,10 @@ { "Name": "gnupg", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.2.41-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-20969.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-20969.json index 0e02bd11..772bbaf0 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-20969.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-20969.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-25032.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-25032.json index 6e374c81..0d76d1c0 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-25032.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-25032.json @@ -8,6 +8,10 @@ { "Name": "zlib", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.2.12-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5736.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5736.json index aa070a33..59b136d5 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5736.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5736.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5737.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5737.json index b405b71b..399518bf 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5737.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5737.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5738.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5738.json index eddd8177..33f0fa9c 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5738.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5738.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5740.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5740.json index afa1d1da..9c4b8335 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5740.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5740.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5743.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5743.json index 052a9b39..67a735fa 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5743.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5743.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5744.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5744.json index 0b245eb3..425f5fa2 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5744.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5744.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5745.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5745.json index fd2a7342..43845e37 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5745.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-5745.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6951.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6951.json index 075eed04..3198173e 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6951.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6951.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6952.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6952.json index d4634298..a0307ad4 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6952.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2018-6952.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010022.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010022.json index fe103208..215a0e71 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010022.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010022.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010023.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010023.json index 9e2c5946..0d7cbecb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010023.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010023.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010024.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010024.json index 0fd652cc..83311fcb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010024.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010024.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010025.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010025.json index 1affe2b6..c306f700 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010025.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-1010025.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-12290.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-12290.json index 775e4d61..26c97547 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-12290.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-12290.json @@ -8,6 +8,10 @@ { "Name": "libidn2", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.3.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13636.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13636.json index e788e7d0..a12d62b6 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13636.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13636.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13638.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13638.json index 914b57b0..e387a546 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13638.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-13638.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-14855.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-14855.json index 3339e05b..25f2c770 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-14855.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-14855.json @@ -8,6 +8,10 @@ { "Name": "gnupg", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.2.41-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-18224.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-18224.json index f2e36c94..4ce986d4 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-18224.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-18224.json @@ -8,6 +8,10 @@ { "Name": "libidn2", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.3.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-20633.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-20633.json index b7223d87..63b78dd3 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-20633.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-20633.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3829.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3829.json index bcb0c2bb..05f28156 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3829.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3829.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3836.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3836.json index 52859747..f5d6d4e3 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3836.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-3836.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6293.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6293.json index 627ba2a9..10ad772e 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6293.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6293.json @@ -8,6 +8,10 @@ { "Name": "flex", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6465.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6465.json index bdf9de74..19a02109 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6465.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6465.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6467.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6467.json index 7263781a..e78a47fe 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6467.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6467.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6470.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6470.json index ba29b75b..36e77e9a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6470.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6470.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6471.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6471.json index 345224dd..e2b62abc 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6471.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6471.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6475.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6475.json index 761ed79b..fdfdf550 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6475.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6475.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6476.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6476.json index e1e01b0d..86863e19 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6476.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6476.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6477.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6477.json index daff95c9..72ec4839 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6477.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6477.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6706.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6706.json index 824862a8..29668507 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6706.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2019-6706.json @@ -8,6 +8,10 @@ { "Name": "lua5.4", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "5.4.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-10735.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-10735.json index 6aa7d9ed..f07fafd3 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-10735.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-10735.json @@ -8,18 +8,30 @@ { "Name": "python-3.10", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.10.9-r0", "VersionFormat": "apk" }, { "Name": "python-3.11", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" }, { "Name": "python-3.12", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -31,5 +43,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-11501.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-11501.json index 3113e24b..6e3bd2ff 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-11501.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-11501.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-13777.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-13777.json index ffb3f45a..aeb6f8a4 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-13777.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-13777.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-24659.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-24659.json index 816e005d..e7cd2e69 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-24659.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-24659.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-25125.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-25125.json index 72684e1c..1434bd77 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-25125.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-25125.json @@ -8,6 +8,10 @@ { "Name": "gnupg", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.2.41-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29509.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29509.json index f576163f..81f17989 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29509.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29509.json @@ -8,12 +8,20 @@ { "Name": "go-1.19", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" }, { "Name": "go-1.20", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -25,5 +33,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29511.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29511.json index 1650f99d..757679b8 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29511.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-29511.json @@ -8,6 +8,10 @@ { "Name": "go-1.20", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8616.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8616.json index 83c82578..fe9e4b08 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8616.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8616.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8617.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8617.json index aa1f780f..5d1ddcdd 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8617.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8617.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8618.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8618.json index 2a0da204..464b3650 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8618.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8618.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8619.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8619.json index 12c94205..7649fd81 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8619.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8619.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8620.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8620.json index 25f581cb..18b6ab80 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8620.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8620.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8621.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8621.json index 94ad915a..2055dfbb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8621.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8621.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8622.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8622.json index d36ba168..b8321196 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8622.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8622.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8623.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8623.json index 14b9f108..28b94655 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8623.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8623.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8624.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8624.json index 15d8aceb..51c67621 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8624.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8624.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8625.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8625.json index 988e5327..4801d634 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8625.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8625.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8927.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8927.json index 03872fd1..0fa38bfc 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8927.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2020-8927.json @@ -8,6 +8,10 @@ { "Name": "brotli", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.0.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20231.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20231.json index eb64e1b9..5e936d38 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20231.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20231.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20232.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20232.json index 42ad55ac..90412c99 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20232.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20232.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20305.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20305.json index b35f229a..4d0d8eab 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20305.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-20305.json @@ -8,6 +8,10 @@ { "Name": "nettle", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.8.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25214.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25214.json index 11710798..b3c3acf6 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25214.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25214.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25215.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25215.json index 8ed2aacf..2ed20269 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25215.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25215.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25216.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25216.json index e350d43f..9c956333 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25216.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25216.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25218.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25218.json index 1b331858..f63c1423 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25218.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25218.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25219.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25219.json index 267bd599..675c8239 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25219.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25219.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25220.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25220.json index ab26e4ac..cbea38da 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25220.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-25220.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30218.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30218.json index 2c58b825..eaf66abb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30218.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30218.json @@ -8,6 +8,10 @@ { "Name": "samurai", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30219.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30219.json index c497c69c..d0f2acc0 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30219.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-30219.json @@ -8,6 +8,10 @@ { "Name": "samurai", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3121.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3121.json index cda6adc2..0043939a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3121.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3121.json @@ -8,6 +8,10 @@ { "Name": "protobuf-c", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.4.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-33621.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-33621.json index 06a6460a..0afaafa3 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-33621.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-33621.json @@ -8,6 +8,10 @@ { "Name": "ruby-3.0", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.5-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3580.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3580.json index bcf3ea8d..4b33462a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3580.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-3580.json @@ -8,6 +8,10 @@ { "Name": "nettle", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.8.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-36156.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-36156.json index b1ab6fd0..c80ea5e0 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-36156.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-36156.json @@ -8,6 +8,10 @@ { "Name": "grafana", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.5.19-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-41803.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-41803.json index 558738f8..c0c1d934 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-41803.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-41803.json @@ -8,6 +8,10 @@ { "Name": "traefik", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.9.8-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-43618.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-43618.json index ce2cb32f..414bb1a1 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-43618.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-43618.json @@ -8,6 +8,10 @@ { "Name": "gmp", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "6.2.1-r4", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-46848.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-46848.json index 36cbf3eb..22dfe198 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-46848.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2021-46848.json @@ -8,6 +8,10 @@ { "Name": "libtasn1", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "4.19.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0396.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0396.json index 0023b8bd..8c130bb4 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0396.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0396.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0543.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0543.json index 7352eb3f..d957f2d7 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0543.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-0543.json @@ -8,6 +8,10 @@ { "Name": "redis", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1586.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1586.json index 273f4138..25b9752c 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1586.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1586.json @@ -8,6 +8,10 @@ { "Name": "pcre2", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "10.40-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1587.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1587.json index 603985cb..d541e865 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1587.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-1587.json @@ -8,6 +8,10 @@ { "Name": "pcre2", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "10.40-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23469.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23469.json index a39cfeeb..f03a3527 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23469.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23469.json @@ -8,6 +8,10 @@ { "Name": "traefik", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.9.6-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23521.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23521.json index d5df602d..8243bc31 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23521.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-23521.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.39.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2509.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2509.json index 47a11d5a..73da4565 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2509.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2509.json @@ -8,6 +8,10 @@ { "Name": "gnutls", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.7.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-26691.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-26691.json index 479c0bb7..fcf8f6da 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-26691.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-26691.json @@ -8,6 +8,10 @@ { "Name": "cups", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.4.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27404.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27404.json index 0770dd66..2d35d744 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27404.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27404.json @@ -8,6 +8,10 @@ { "Name": "freetype", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.12.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27405.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27405.json index 869913e3..8075d8b9 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27405.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27405.json @@ -8,6 +8,10 @@ { "Name": "freetype", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.12.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27406.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27406.json index 5e5f34e3..30371ddc 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27406.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-27406.json @@ -8,6 +8,10 @@ { "Name": "freetype", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.12.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2795.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2795.json index ff3b1352..30252c8f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2795.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2795.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28391.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28391.json index 55363505..7712ef0b 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28391.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28391.json @@ -8,6 +8,10 @@ { "Name": "busybox", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.35.0-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28506.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28506.json index d287e381..2958ccb1 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28506.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28506.json @@ -8,6 +8,10 @@ { "Name": "giflib", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "5.2.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28805.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28805.json index 6939c3cf..7af5587c 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28805.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-28805.json @@ -8,6 +8,10 @@ { "Name": "lua5.4", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "5.4.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2881.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2881.json index 8267fb76..55fff678 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2881.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2881.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2906.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2906.json index f812240f..135cd097 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2906.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-2906.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-29458.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-29458.json index 18fce482..5ccfff7e 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-29458.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-29458.json @@ -8,6 +8,10 @@ { "Name": "ncurses", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "6.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-30065.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-30065.json index 2338fac2..6a6a3b63 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-30065.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-30065.json @@ -8,6 +8,10 @@ { "Name": "busybox", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.35.0-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3080.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3080.json index 4f0fbee4..8637518c 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3080.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3080.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3094.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3094.json index 0db853f5..d3ee4ba9 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3094.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3094.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.11-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31107.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31107.json index bd170658..384340aa 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31107.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31107.json @@ -8,6 +8,10 @@ { "Name": "grafana", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.5.19-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31123.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31123.json index 7145012a..40b17aaf 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31123.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31123.json @@ -8,6 +8,10 @@ { "Name": "grafana", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.5.19-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31130.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31130.json index 94853532..af20595d 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31130.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31130.json @@ -8,6 +8,10 @@ { "Name": "grafana", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.5.19-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31630.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31630.json index 2950c432..0c5fe1e9 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31630.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-31630.json @@ -8,6 +8,10 @@ { "Name": "php", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "8.1.13-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-32221.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-32221.json index 80491e3e..1eab62e3 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-32221.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-32221.json @@ -8,6 +8,10 @@ { "Name": "curl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.86.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-33070.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-33070.json index bbac6dde..803f2817 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-33070.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-33070.json @@ -8,6 +8,10 @@ { "Name": "protobuf-c", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.4.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3358.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3358.json index 2288ba7b..481c2e51 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3358.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3358.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-34903.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-34903.json index 8ada2c77..71ac712b 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-34903.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-34903.json @@ -8,6 +8,10 @@ { "Name": "gnupg", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.2.41-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3515.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3515.json index c474c5e8..6b1011fb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3515.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3515.json @@ -8,6 +8,10 @@ { "Name": "libksba", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.6.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-35977.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-35977.json index 6900f982..3afd14da 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-35977.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-35977.json @@ -8,6 +8,10 @@ { "Name": "redis", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3602.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3602.json index 2440a7a1..53c1f6e1 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3602.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3602.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36021.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36021.json index f5337f1f..affe5ce1 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36021.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36021.json @@ -8,6 +8,10 @@ { "Name": "redis", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.0.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36227.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36227.json index 31c12816..25dd4b13 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36227.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-36227.json @@ -8,6 +8,10 @@ { "Name": "libarchive", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.6.1-r2", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3647.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3647.json index f4d865b2..3bb694fb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3647.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3647.json @@ -8,6 +8,10 @@ { "Name": "redis", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3734.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3734.json index 6f92405a..5e1375d6 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3734.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3734.json @@ -8,6 +8,10 @@ { "Name": "redis", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3736.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3736.json index 2956c16d..eaea2c3b 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3736.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3736.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.11-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-37434.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-37434.json index 7f139830..ac074eeb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-37434.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-37434.json @@ -8,6 +8,10 @@ { "Name": "zlib", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.2.12-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3786.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3786.json index 51bd4c85..46de7ec2 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3786.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3786.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38126.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38126.json index 89e2d971..2cdffbdf 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38126.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38126.json @@ -8,6 +8,10 @@ { "Name": "binutils", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.39-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38128.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38128.json index b065b015..6630fd8f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38128.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38128.json @@ -8,6 +8,10 @@ { "Name": "binutils", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.39-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38177.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38177.json index 742110bf..74d2531c 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38177.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38177.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38178.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38178.json index c8c6be1c..1454fd90 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38178.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38178.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.10-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38533.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38533.json index 65f20eb6..bfd690cc 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38533.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-38533.json @@ -8,6 +8,10 @@ { "Name": "binutils", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.39-r2", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39046.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39046.json index 88570f62..4503e46c 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39046.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39046.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.36-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39201.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39201.json index 61650a16..664edbd5 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39201.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39201.json @@ -8,6 +8,10 @@ { "Name": "grafana", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.5.19-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3924.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3924.json index d56c824e..ed1362da 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3924.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3924.json @@ -8,6 +8,10 @@ { "Name": "bind", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.18.11-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39253.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39253.json index e32ae0aa..68f8c5e6 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39253.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39253.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.38.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39260.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39260.json index aff6e708..c17a538b 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39260.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39260.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.38.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39379.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39379.json index c27c4ed2..22359403 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39379.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-39379.json @@ -8,6 +8,10 @@ { "Name": "ruby3.2-fluentd14", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.14.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3996.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3996.json index eaad434d..b839f8de 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3996.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-3996.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.7-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40303.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40303.json index 70683000..800930ec 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40303.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40303.json @@ -8,6 +8,10 @@ { "Name": "libxml2", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.10.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40304.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40304.json index 1a23ad69..e0777f01 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40304.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40304.json @@ -8,6 +8,10 @@ { "Name": "libxml2", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.10.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40674.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40674.json index d8dfdc26..08e24f07 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40674.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40674.json @@ -8,6 +8,10 @@ { "Name": "expat", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.4.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40716.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40716.json index e32d1ba3..98a87b59 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40716.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-40716.json @@ -8,6 +8,10 @@ { "Name": "traefik", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.9.8-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41716.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41716.json index e3f61338..956c9469 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41716.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41716.json @@ -8,6 +8,10 @@ { "Name": "go-1.19", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.19.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41717.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41717.json index 38caac26..38ad9fcf 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41717.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41717.json @@ -8,6 +8,10 @@ { "Name": "go-1.19", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.19.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41720.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41720.json index dccd9d6f..d012b607 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41720.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41720.json @@ -8,6 +8,10 @@ { "Name": "go-1.19", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.19.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41723.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41723.json index 19178237..970cafc7 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41723.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41723.json @@ -8,12 +8,20 @@ { "Name": "go-1.19", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.19.6-r1", "VersionFormat": "apk" }, { "Name": "go-1.20", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.20.1-r1", "VersionFormat": "apk" } @@ -25,5 +33,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41862.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41862.json index e4d79174..a409f9d0 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41862.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41862.json @@ -8,6 +8,10 @@ { "Name": "postgresql-15", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "15.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41903.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41903.json index 2225d5e7..008362fd 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41903.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-41903.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.39.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42010.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42010.json index 181a4676..e911fd3b 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42010.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42010.json @@ -8,6 +8,10 @@ { "Name": "dbus", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.14.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42011.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42011.json index d902005a..295e09ba 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42011.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42011.json @@ -8,6 +8,10 @@ { "Name": "dbus", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.14.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42012.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42012.json index 53081d56..b965eb70 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42012.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42012.json @@ -8,6 +8,10 @@ { "Name": "dbus", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.14.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4203.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4203.json index 4bd31e4d..6f9e8585 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4203.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4203.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42916.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42916.json index 22a35323..2f89037d 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42916.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-42916.json @@ -8,6 +8,10 @@ { "Name": "curl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.86.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4304.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4304.json index 19a27502..6181710d 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4304.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4304.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43551.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43551.json index 38eaea2d..48e7d816 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43551.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43551.json @@ -8,6 +8,10 @@ { "Name": "curl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.87.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43552.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43552.json index d06fb226..4b2d1982 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43552.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43552.json @@ -8,6 +8,10 @@ { "Name": "curl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.87.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43680.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43680.json index 34d2035b..b5f65371 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43680.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-43680.json @@ -8,6 +8,10 @@ { "Name": "expat", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.5.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4450.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4450.json index 1124aeb4..6eeb1d0a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4450.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-4450.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-44617.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-44617.json index fcf45d19..60fd1516 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-44617.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-44617.json @@ -8,6 +8,10 @@ { "Name": "libxpm", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.5.15-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-45142.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-45142.json index f25966f1..32c84e7e 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-45142.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-45142.json @@ -8,6 +8,10 @@ { "Name": "heimdal", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.8.0-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46153.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46153.json index 79f1a56e..eb22ccc8 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46153.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46153.json @@ -8,6 +8,10 @@ { "Name": "traefik", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.9.6-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46908.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46908.json index 435f411d..496be327 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46908.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-46908.json @@ -8,6 +8,10 @@ { "Name": "sqlite", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.40.0-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47015.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47015.json index e32b5a69..c94a2a1d 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47015.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47015.json @@ -8,12 +8,20 @@ { "Name": "mariadb-10.11", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "10.6.12-r1", "VersionFormat": "apk" }, { "Name": "mariadb-10.6", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "10.6.12-r1", "VersionFormat": "apk" } @@ -25,5 +33,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47629.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47629.json index 616f4edb..cf4e3ade 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47629.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2022-47629.json @@ -8,6 +8,10 @@ { "Name": "libksba", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.6.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0215.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0215.json index 585a82f1..957646c2 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0215.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0215.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0216.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0216.json index 8e5a5f9d..8c237a26 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0216.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0216.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0217.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0217.json index 762e31b4..3450af3e 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0217.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0217.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0286.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0286.json index 9077ed19..f5aeae43 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0286.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0286.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0401.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0401.json index bce09e3e..bd13bc6f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0401.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0401.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0464.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0464.json index a9c52d21..43da3062 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0464.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-0464.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.1.0-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1127.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1127.json index f8ee35fe..74da7e3a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1127.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1127.json @@ -8,6 +8,10 @@ { "Name": "vim", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.0.1378-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1175.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1175.json index 3dbaacc2..b9fd5ace 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1175.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1175.json @@ -8,6 +8,10 @@ { "Name": "vim", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.0.1378-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1264.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1264.json index 03ed49a7..c10a5575 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1264.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1264.json @@ -8,6 +8,10 @@ { "Name": "vim", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.0.1392-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1355.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1355.json index 0539273b..c7baf01b 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1355.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-1355.json @@ -8,6 +8,10 @@ { "Name": "vim", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.0.1402-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22458.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22458.json index cfea1ada..d9b86667 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22458.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22458.json @@ -8,6 +8,10 @@ { "Name": "redis", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.0.8-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22490.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22490.json index 8e625cf6..d3842954 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22490.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22490.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.39.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22499.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22499.json index ecbdc5b6..cde1d928 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22499.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22499.json @@ -8,6 +8,10 @@ { "Name": "deno", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.30.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22743.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22743.json index 4ebc0621..f61049b5 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22743.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-22743.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-23946.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-23946.json index 6a573ee1..ed6a919f 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-23946.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-23946.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.39.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24056.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24056.json index b5d127d1..87f2d8cb 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24056.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24056.json @@ -8,6 +8,10 @@ { "Name": "pkgconf", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.9.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24532.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24532.json index 03553e43..624ece07 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24532.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24532.json @@ -8,12 +8,20 @@ { "Name": "go-1.19", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.19.7-r0", "VersionFormat": "apk" }, { "Name": "go-1.20", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.20.2-r0", "VersionFormat": "apk" } @@ -25,5 +33,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24999.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24999.json index 40b5cabf..ef53e9db 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24999.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-24999.json @@ -8,6 +8,10 @@ { "Name": "vault", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "1.12.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25136.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25136.json index 7ce955e1..e8bd7b7b 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25136.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25136.json @@ -8,6 +8,10 @@ { "Name": "openssh", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "9.2_p1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25139.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25139.json index 6dba8dbf..01363221 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25139.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25139.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.37-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25155.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25155.json index 3d607c24..09f83a0a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25155.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25155.json @@ -8,6 +8,10 @@ { "Name": "redis", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "7.0.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25165.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25165.json index 3b3d0d4e..7be0974a 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25165.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25165.json @@ -8,6 +8,10 @@ { "Name": "helm", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "3.11.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25725.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25725.json index 40f58222..fb0ea5d2 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25725.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-25725.json @@ -8,6 +8,10 @@ { "Name": "haproxy", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.6.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-26489.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-26489.json index 7304d875..f0bf8586 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-26489.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-26489.json @@ -8,6 +8,10 @@ { "Name": "wasmtime", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "6.0.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27477.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27477.json index 3ce477a7..e013999c 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27477.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27477.json @@ -8,6 +8,10 @@ { "Name": "wasmtime", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "6.0.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27898.json b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27898.json index adff3776..74150375 100644 --- a/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27898.json +++ b/tests/unit/providers/chainguard/test-fixtures/snapshots/chainguard:rolling/CVE-2023-27898.json @@ -8,6 +8,10 @@ { "Name": "jenkins", "NamespaceName": "chainguard:rolling", + "OS": { + "ID": "chainguard", + "Version": "rolling" + }, "Version": "2.394-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2005-3111.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2005-3111.json index 3be99d63..7bf1c3ee 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2005-3111.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2005-3111.json @@ -8,6 +8,10 @@ { "Name": "backupninja", "NamespaceName": "debian:10", + "OS": { + "ID": "debian", + "Version": "10" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2007-2383.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2007-2383.json index 7d71bbda..ea2fbd61 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2007-2383.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2007-2383.json @@ -12,5 +12,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2008-7220.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2008-7220.json index 5fda1c61..61f5c366 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2008-7220.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2008-7220.json @@ -8,6 +8,10 @@ { "Name": "prototypejs", "NamespaceName": "debian:10", + "OS": { + "ID": "debian", + "Version": "10" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2012-0833.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2012-0833.json index 18b7ed13..ba0cc9f4 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2012-0833.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2012-0833.json @@ -12,5 +12,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2013-1444.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2013-1444.json index 01e8c61d..74c70d56 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2013-1444.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2013-1444.json @@ -8,6 +8,10 @@ { "Name": "txt2man", "NamespaceName": "debian:10", + "OS": { + "ID": "debian", + "Version": "10" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2022-0456.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2022-0456.json index 304b7d72..9c0be147 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2022-0456.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:10/cve-2022-0456.json @@ -8,6 +8,10 @@ { "Name": "chromium", "NamespaceName": "debian:10", + "OS": { + "ID": "debian", + "Version": "10" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:11/cve-2022-0456.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:11/cve-2022-0456.json index 0aab75b0..a986fdb9 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:11/cve-2022-0456.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:11/cve-2022-0456.json @@ -8,6 +8,10 @@ { "Name": "chromium", "NamespaceName": "debian:11", + "OS": { + "ID": "debian", + "Version": "11" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:12/cve-2022-0456.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:12/cve-2022-0456.json index e88a936f..1c90293e 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:12/cve-2022-0456.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:12/cve-2022-0456.json @@ -8,6 +8,10 @@ { "Name": "chromium", "NamespaceName": "debian:12", + "OS": { + "ID": "debian", + "Version": "12" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2004-1653.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2004-1653.json index 2b80dabe..28b28bfb 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2004-1653.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2004-1653.json @@ -17,5 +17,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2005-3330.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2005-3330.json index ade11bc1..dee9c6cb 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2005-3330.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2005-3330.json @@ -17,5 +17,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2007-3072.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2007-3072.json index 227113b2..e8d4bf25 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2007-3072.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2007-3072.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2011-1758.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2011-1758.json index 50bd70d6..838b4693 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2011-1758.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2011-1758.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-2188.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-2188.json index a7df4c0b..f941b020 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-2188.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-2188.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7171.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7171.json index 9b45a3da..2c219c89 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7171.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7171.json @@ -11,5 +11,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7353.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7353.json index decaf5e4..27584063 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7353.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2013-7353.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2014-3230.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2014-3230.json index d7329e16..d36ed3ae 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2014-3230.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2014-3230.json @@ -11,5 +11,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4170.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4170.json index 10c6f824..d0eedc10 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4170.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4170.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4176.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4176.json index 77715de9..4cef8dae 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4176.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4176.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4177.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4177.json index 72bd4ef2..66464741 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4177.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2015-4177.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-4450.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-4450.json index 76d12048..b20d8f86 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-4450.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-4450.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5105.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5105.json index 4e632586..d3973e48 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5105.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5105.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5106.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5106.json index 165fed93..5c3892e4 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5106.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5106.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5107.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5107.json index 6486c10b..a691a526 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5107.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-5107.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9812.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9812.json index fd5c2c47..b72818ec 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9812.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9812.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9816.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9816.json index eae72c34..9eab09f9 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9816.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:7/cve-2016-9816.json @@ -18,5 +18,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2005-3111.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2005-3111.json index c374281b..e2963262 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2005-3111.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2005-3111.json @@ -8,6 +8,10 @@ { "Name": "backupninja", "NamespaceName": "debian:8", + "OS": { + "ID": "debian", + "Version": "8" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2007-2383.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2007-2383.json index 44681d59..cc5f4575 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2007-2383.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2007-2383.json @@ -12,5 +12,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2008-7220.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2008-7220.json index 0f79256b..95b1cdd7 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2008-7220.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2008-7220.json @@ -8,6 +8,10 @@ { "Name": "prototypejs", "NamespaceName": "debian:8", + "OS": { + "ID": "debian", + "Version": "8" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2013-1444.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2013-1444.json index 37104f30..11b2e2d5 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2013-1444.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:8/cve-2013-1444.json @@ -8,6 +8,10 @@ { "Name": "txt2man", "NamespaceName": "debian:8", + "OS": { + "ID": "debian", + "Version": "8" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2005-3111.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2005-3111.json index 62a048e8..525d5063 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2005-3111.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2005-3111.json @@ -8,6 +8,10 @@ { "Name": "backupninja", "NamespaceName": "debian:9", + "OS": { + "ID": "debian", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2007-2383.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2007-2383.json index a86648bd..fd595778 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2007-2383.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2007-2383.json @@ -12,5 +12,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2008-7220.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2008-7220.json index d5ccc9b2..135ad08e 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2008-7220.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2008-7220.json @@ -8,6 +8,10 @@ { "Name": "prototypejs", "NamespaceName": "debian:9", + "OS": { + "ID": "debian", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2013-1444.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2013-1444.json index d3a57d27..81078cfa 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2013-1444.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2013-1444.json @@ -8,6 +8,10 @@ { "Name": "txt2man", "NamespaceName": "debian:9", + "OS": { + "ID": "debian", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2022-0456.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2022-0456.json index 2489cefe..d3265721 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2022-0456.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:9/cve-2022-0456.json @@ -8,6 +8,10 @@ { "Name": "chromium", "NamespaceName": "debian:9", + "OS": { + "ID": "debian", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2005-3111.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2005-3111.json index 0d83b5f5..5c4a8c2d 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2005-3111.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2005-3111.json @@ -8,6 +8,10 @@ { "Name": "backupninja", "NamespaceName": "debian:unstable", + "OS": { + "ID": "debian", + "Version": "unstable" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2007-2383.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2007-2383.json index ea9444f2..5bd17b3e 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2007-2383.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2007-2383.json @@ -12,5 +12,5 @@ "Severity": "Negligible" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2008-7220.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2008-7220.json index f4aca7cf..581421dc 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2008-7220.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2008-7220.json @@ -8,6 +8,10 @@ { "Name": "prototypejs", "NamespaceName": "debian:unstable", + "OS": { + "ID": "debian", + "Version": "unstable" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2013-1444.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2013-1444.json index 10068ed5..74f9c642 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2013-1444.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2013-1444.json @@ -8,6 +8,10 @@ { "Name": "txt2man", "NamespaceName": "debian:unstable", + "OS": { + "ID": "debian", + "Version": "unstable" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2022-0456.json b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2022-0456.json index 5836ab32..aedfbcef 100644 --- a/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2022-0456.json +++ b/tests/unit/providers/debian/test-fixtures/snapshots/debian:unstable/cve-2022-0456.json @@ -8,6 +8,10 @@ { "Name": "chromium", "NamespaceName": "debian:unstable", + "OS": { + "ID": "debian", + "Version": "unstable" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -23,5 +27,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2022-3736.json b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2022-3736.json index 9f3eb8a8..d4441e33 100644 --- a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2022-3736.json +++ b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2022-3736.json @@ -9,6 +9,10 @@ "Module": "", "Name": "bind", "NamespaceName": "mariner:2.0", + "OS": { + "ID": "mariner", + "Version": "2.0" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -25,5 +29,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21977.json b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21977.json index 33a0fe74..316a0ca1 100644 --- a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21977.json +++ b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21977.json @@ -9,6 +9,10 @@ "Module": "", "Name": "mysql", "NamespaceName": "mariner:2.0", + "OS": { + "ID": "mariner", + "Version": "2.0" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -25,5 +29,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21980.json b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21980.json index 5e3a2215..ad6d5b7f 100644 --- a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21980.json +++ b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-21980.json @@ -9,6 +9,10 @@ "Module": "", "Name": "mysql", "NamespaceName": "mariner:2.0", + "OS": { + "ID": "mariner", + "Version": "2.0" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -25,5 +29,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-29404.json b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-29404.json index 925242e1..a92f5df0 100644 --- a/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-29404.json +++ b/tests/unit/providers/mariner/test-fixtures/snapshots/mariner:2.0/CVE-2023-29404.json @@ -9,6 +9,10 @@ "Module": "", "Name": "golang", "NamespaceName": "mariner:2.0", + "OS": { + "ID": "mariner", + "Version": "2.0" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -25,5 +29,5 @@ "Severity": "Critical" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/mariner/test_mariner.py b/tests/unit/providers/mariner/test_mariner.py index 9dca2300..6ee98e6c 100644 --- a/tests/unit/providers/mariner/test_mariner.py +++ b/tests/unit/providers/mariner/test_mariner.py @@ -8,7 +8,7 @@ from vunnel import result, workspace, utils from vunnel.providers.mariner import Config, Provider, parser from vunnel.providers.mariner.parser import MarinerXmlFile -from vunnel.utils.vulnerability import Vulnerability, FixedIn, VendorAdvisory +from vunnel.utils.vulnerability import Vulnerability, FixedIn, VendorAdvisory, OperatingSystem @pytest.mark.parametrize( @@ -33,6 +33,7 @@ Module=None, VendorAdvisory=None, VulnerableRange="> 0:1.19.0.cm2, < 0:1.20.7-1.cm2", + OS=OperatingSystem(ID="mariner", Version="2.0"), ) ], Metadata={}, @@ -53,6 +54,7 @@ VulnerableRange="< 0:8.0.33-1.cm2", Module=None, VendorAdvisory=None, + OS=OperatingSystem(ID="mariner", Version="2.0"), ) ], Metadata={}, @@ -73,6 +75,7 @@ Module=None, VendorAdvisory=None, VulnerableRange="< 0:8.0.33-1.cm2", + OS=OperatingSystem(ID="mariner", Version="2.0"), ) ], Metadata={}, @@ -93,6 +96,7 @@ Module=None, VendorAdvisory=None, VulnerableRange="<= 0:9.16.33-1.cm2", + OS=OperatingSystem(ID="mariner", Version="2.0"), ), ], ), @@ -117,6 +121,7 @@ VulnerableRange="< 0:3.4.0-1.azl3", Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), + OS=OperatingSystem(ID="azurelinux", Version="3.0"), ) ], Metadata={}, @@ -137,6 +142,7 @@ VulnerableRange="< 0:3.4.0-1.azl3", Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), + OS=OperatingSystem(ID="azurelinux", Version="3.0"), ) ], Metadata={}, @@ -157,6 +163,7 @@ VulnerableRange="< 0:18.2.1-1.azl3", Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), + OS=OperatingSystem(ID="azurelinux", Version="3.0"), ) ], Metadata={}, diff --git a/tests/unit/providers/oracle/test-fixtures/snapshots/ol:5/elsa-2007-0057.json b/tests/unit/providers/oracle/test-fixtures/snapshots/ol:5/elsa-2007-0057.json index 35412f9e..011c7f0d 100644 --- a/tests/unit/providers/oracle/test-fixtures/snapshots/ol:5/elsa-2007-0057.json +++ b/tests/unit/providers/oracle/test-fixtures/snapshots/ol:5/elsa-2007-0057.json @@ -9,6 +9,10 @@ "Module": null, "Name": "bind", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" }, @@ -16,6 +20,10 @@ "Module": null, "Name": "bind-chroot", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" }, @@ -23,6 +31,10 @@ "Module": null, "Name": "bind-devel", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" }, @@ -30,6 +42,10 @@ "Module": null, "Name": "bind-libbind-devel", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" }, @@ -37,6 +53,10 @@ "Module": null, "Name": "bind-libs", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" }, @@ -44,6 +64,10 @@ "Module": null, "Name": "bind-sdb", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" }, @@ -51,6 +75,10 @@ "Module": null, "Name": "bind-utils", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" }, @@ -58,6 +86,10 @@ "Module": null, "Name": "caching-nameserver", "NamespaceName": "ol:5", + "OS": { + "ID": "ol", + "Version": "5" + }, "Version": "30:9.3.3-8.el5", "VersionFormat": "rpm" } @@ -82,5 +114,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/oracle/test-fixtures/snapshots/ol:6/elsa-2018-4250.json b/tests/unit/providers/oracle/test-fixtures/snapshots/ol:6/elsa-2018-4250.json index 066cbdc7..49c7106f 100644 --- a/tests/unit/providers/oracle/test-fixtures/snapshots/ol:6/elsa-2018-4250.json +++ b/tests/unit/providers/oracle/test-fixtures/snapshots/ol:6/elsa-2018-4250.json @@ -9,6 +9,10 @@ "Module": null, "Name": "kernel-uek", "NamespaceName": "ol:6", + "OS": { + "ID": "ol", + "Version": "6" + }, "Version": "0:2.6.39-400.302.2.el6uek", "VersionFormat": "rpm" }, @@ -16,6 +20,10 @@ "Module": null, "Name": "kernel-uek-debug", "NamespaceName": "ol:6", + "OS": { + "ID": "ol", + "Version": "6" + }, "Version": "0:2.6.39-400.302.2.el6uek", "VersionFormat": "rpm" }, @@ -23,6 +31,10 @@ "Module": null, "Name": "kernel-uek-debug-devel", "NamespaceName": "ol:6", + "OS": { + "ID": "ol", + "Version": "6" + }, "Version": "0:2.6.39-400.302.2.el6uek", "VersionFormat": "rpm" }, @@ -30,6 +42,10 @@ "Module": null, "Name": "kernel-uek-devel", "NamespaceName": "ol:6", + "OS": { + "ID": "ol", + "Version": "6" + }, "Version": "0:2.6.39-400.302.2.el6uek", "VersionFormat": "rpm" }, @@ -37,6 +53,10 @@ "Module": null, "Name": "kernel-uek-doc", "NamespaceName": "ol:6", + "OS": { + "ID": "ol", + "Version": "6" + }, "Version": "0:2.6.39-400.302.2.el6uek", "VersionFormat": "rpm" }, @@ -44,6 +64,10 @@ "Module": null, "Name": "kernel-uek-firmware", "NamespaceName": "ol:6", + "OS": { + "ID": "ol", + "Version": "6" + }, "Version": "0:2.6.39-400.302.2.el6uek", "VersionFormat": "rpm" } @@ -76,5 +100,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/oracle/test_oracle.py b/tests/unit/providers/oracle/test_oracle.py index 8e4a6dbf..b3f276a6 100644 --- a/tests/unit/providers/oracle/test_oracle.py +++ b/tests/unit/providers/oracle/test_oracle.py @@ -63,6 +63,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, { "Name": "bind-devel", @@ -70,6 +71,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, { "Name": "bind-sdb", @@ -77,6 +79,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, { "Name": "bind-libbind-devel", @@ -84,6 +87,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, { "Name": "bind", @@ -91,6 +95,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, { "Name": "caching-nameserver", @@ -98,6 +103,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, { "Name": "bind-chroot", @@ -105,6 +111,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, { "Name": "bind-libs", @@ -112,6 +119,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:5", "Module": None, + "OS": {"ID": "ol", "Version": "5"}, }, ], ), @@ -155,6 +163,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:6", "Module": None, + "OS": {"ID": "ol", "Version": "6"}, }, { "Name": "kernel-uek", @@ -162,6 +171,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:6", "Module": None, + "OS": {"ID": "ol", "Version": "6"}, }, { "Name": "kernel-uek-firmware", @@ -169,6 +179,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:6", "Module": None, + "OS": {"ID": "ol", "Version": "6"}, }, { "Name": "kernel-uek-debug-devel", @@ -176,6 +187,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:6", "Module": None, + "OS": {"ID": "ol", "Version": "6"}, }, { "Name": "kernel-uek-devel", @@ -183,6 +195,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:6", "Module": None, + "OS": {"ID": "ol", "Version": "6"}, }, { "Name": "kernel-uek-debug", @@ -190,6 +203,7 @@ "VersionFormat": "rpm", "NamespaceName": "ol:6", "Module": None, + "OS": {"ID": "ol", "Version": "6"}, }, ], ), @@ -263,6 +277,7 @@ class TestKspliceFilterer: "NamespaceName": "ol:8", "Version": "2:1.1.1g-15.ksplice1.el8_3", "Module": None, + "OS": {"ID": "ol", "Version": "8.3"}, }, ], }, @@ -295,6 +310,7 @@ class TestKspliceFilterer: "NamespaceName": "ol:8", "Version": "2:1.1.1g-15.1.el8_3", "Module": None, + "OS": {"ID": "ol", "Version": "8.3"}, }, ], }, @@ -314,6 +330,7 @@ class TestKspliceFilterer: "NamespaceName": "ol:8", "Version": "2:1.1.1g-15.1.el8_3", "Module": None, + "OS": {"ID": "ol", "Version": "8.3"}, }, ], }, @@ -335,6 +352,7 @@ class TestKspliceFilterer: "NamespaceName": "ol:8", "Version": "2:1.1.1g-15.ksplice1.el8_3", "Module": None, + "OS": {"ID": "ol", "Version": "8.3"}, }, { "Name": "openssl", @@ -342,6 +360,7 @@ class TestKspliceFilterer: "NamespaceName": "ol:8", "Version": "2:1.1.1g-15.1.el8_3", "Module": None, + "OS": {"ID": "ol", "Version": "8.3"}, }, ], }, @@ -361,6 +380,7 @@ class TestKspliceFilterer: "NamespaceName": "ol:8", "Version": "2:1.1.1g-15.1.el8_3", "Module": None, + "OS": {"ID": "ol", "Version": "8.3"}, }, ], }, diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3509.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3509.json index f6bc8efa..a4fc9fcc 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3509.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3509.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.6.0-sun", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -41,6 +49,10 @@ "Module": null, "Name": "java-1.7.0-oracle", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -55,5 +67,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3511.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3511.json index b9150d2d..bdc79415 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3511.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3511.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "java-1.7.0-oracle", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -45,5 +53,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3526.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3526.json index d5b8ee8a..7f3085e1 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3526.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3526.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.6.0-sun", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -41,6 +49,10 @@ "Module": null, "Name": "java-1.7.0-oracle", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -55,5 +67,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3533.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3533.json index b078c2a2..3fedc7d6 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3533.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3533.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.6.0-sun", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -41,6 +49,10 @@ "Module": null, "Name": "java-1.7.0-oracle", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -55,5 +67,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3539.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3539.json index 4d6ed49e..65843bed 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3539.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3539.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.6.0-sun", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -41,6 +49,10 @@ "Module": null, "Name": "java-1.7.0-oracle", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -55,5 +67,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3544.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3544.json index 3baa6acc..05ff7e5a 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3544.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:5/cve-2017-3544.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.6.0-sun", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -41,6 +49,10 @@ "Module": null, "Name": "java-1.7.0-oracle", "NamespaceName": "rhel:5", + "OS": { + "ID": "rhel", + "Version": "5" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -55,5 +67,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3509.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3509.json index 9b01eb6a..e3c28525 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3509.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3509.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3511.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3511.json index 8eef308e..def4da15 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3511.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3511.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3526.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3526.json index 11d5d245..d8a62364 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3526.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3526.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3533.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3533.json index d27c35c8..171c6f25 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3533.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3533.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3539.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3539.json index 0c085c12..7e8fcb2a 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3539.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3539.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3544.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3544.json index 0a8ed1c9..4e25de50 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3544.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2017-3544.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16587.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16587.json index 3b862885..09da3bf5 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16587.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16587.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16588.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16588.json index 076284c7..d040f2c9 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16588.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2020-16588.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20298.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20298.json index f6f11d26..c9b8c2cc 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20298.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20298.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20299.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20299.json index ae3f4ea1..9a1bae1e 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20299.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2021-20299.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1921.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1921.json index 43830093..fd8cf143 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1921.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1921.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1922.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1922.json index 07c0dbd1..1b46754f 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1922.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1922.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1923.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1923.json index a70876fd..aa75aa03 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1923.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1923.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1924.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1924.json index 1188ccc8..24857c9f 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1924.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1924.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1925.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1925.json index f788100a..18d9b9d7 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1925.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2022-1925.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-4863.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-4863.json index f98e4113..002804ba 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-4863.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-4863.json @@ -21,6 +21,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5129.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5129.json index 58cc48fd..364d7035 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5129.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5129.json @@ -21,6 +21,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5217.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5217.json index aa676c68..ac549225 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5217.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:6/cve-2023-5217.json @@ -21,6 +21,10 @@ "Module": null, "Name": "libvpx", "NamespaceName": "rhel:6", + "OS": { + "ID": "rhel", + "Version": "6" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3509.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3509.json index e08953c5..e103fc96 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3509.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3509.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3511.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3511.json index 0dae38dd..61752f8d 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3511.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3511.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3526.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3526.json index 12bc6acd..510071ed 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3526.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3526.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3533.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3533.json index ec1e9b66..1bd8a498 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3533.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3533.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3539.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3539.json index 44d9cea0..43ff06fa 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3539.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3539.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3544.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3544.json index ac150620..635e1592 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3544.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2017-3544.json @@ -21,6 +21,10 @@ "Module": null, "Name": "java-1.8.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "java-1.7.0-openjdk", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.3" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16587.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16587.json index c9ac0126..1464ae6e 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16587.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16587.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16588.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16588.json index 71dcd2ec..e975ab73 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16588.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2020-16588.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20298.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20298.json index f55e595a..e95e5cf4 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20298.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20298.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20299.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20299.json index 1d87fdda..7250237f 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20299.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2021-20299.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1921.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1921.json index 8cd2d541..a35791e8 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1921.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1921.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -45,5 +53,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1922.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1922.json index f643e872..a19770bb 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1922.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1922.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -45,5 +53,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1923.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1923.json index 68c916d9..879ca21f 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1923.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1923.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -45,5 +53,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1924.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1924.json index 3ab61740..d3eed4b6 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1924.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1924.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -45,5 +53,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1925.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1925.json index 7463daaa..13c9655c 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1925.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2022-1925.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -31,6 +35,10 @@ "Module": null, "Name": "gstreamer-plugins-good", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -45,5 +53,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-4863.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-4863.json index bdd30234..d1cb29ef 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-4863.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-4863.json @@ -21,6 +21,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5129.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5129.json index cf57ba22..e61d424a 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5129.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5129.json @@ -21,6 +21,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5217.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5217.json index 436eafed..542d3030 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5217.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:7/cve-2023-5217.json @@ -21,6 +21,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:7", + "OS": { + "ID": "rhel", + "Version": "7.9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -57,5 +65,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2019-25059.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2019-25059.json index 08e3e774..68d8234e 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2019-25059.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2019-25059.json @@ -21,6 +21,10 @@ "Module": null, "Name": "ghostscript", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2020-16587.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2020-16587.json index d7d7cf9d..a4ddf60b 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2020-16587.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2020-16587.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20298.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20298.json index c12c2e13..bfd12eac 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20298.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20298.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20299.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20299.json index 7865c632..d3db84d2 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20299.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2021-20299.json @@ -21,6 +21,10 @@ "Module": null, "Name": "OpenEXR", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1921.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1921.json index 25a90fed..9d19554e 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1921.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1921.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1922.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1922.json index c8b11fa4..18525129 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1922.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1922.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1923.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1923.json index e9d54637..a5607b4a 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1923.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1923.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1924.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1924.json index 9e460b8d..158a7d37 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1924.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1924.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1925.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1925.json index 0196b176..69bb9bab 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1925.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2022-1925.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-4863.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-4863.json index 7a0ed741..49cffdd7 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-4863.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-4863.json @@ -21,6 +21,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -53,6 +61,10 @@ "Module": null, "Name": "libwebp", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8.1" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -73,5 +85,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5129.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5129.json index cf4d15cb..253be82e 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5129.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5129.json @@ -21,6 +21,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -53,6 +61,10 @@ "Module": null, "Name": "libwebp", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8.1" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -73,5 +85,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5217.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5217.json index 13f7cb56..04f9d484 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5217.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:8/cve-2023-5217.json @@ -21,6 +21,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -53,6 +61,10 @@ "Module": null, "Name": "libvpx", "NamespaceName": "rhel:8", + "OS": { + "ID": "rhel", + "Version": "8.8" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -73,5 +85,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2019-25059.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2019-25059.json index 58efe63e..2f5e16f3 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2019-25059.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2019-25059.json @@ -21,6 +21,10 @@ "Module": null, "Name": "ghostscript", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -35,5 +39,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1921.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1921.json index 32bdba06..1dd6dcf5 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1921.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1921.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -41,5 +45,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1922.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1922.json index 08beeb90..a2923184 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1922.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1922.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -41,5 +45,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1923.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1923.json index 95ed9f63..668dec27 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1923.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1923.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -41,5 +45,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1924.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1924.json index 82bdbfda..8021ec8f 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1924.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1924.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -41,5 +45,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1925.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1925.json index 58336cb7..d7de8082 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1925.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-1925.json @@ -21,6 +21,10 @@ "Module": null, "Name": "gstreamer1-plugins-good", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -41,5 +45,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-2309.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-2309.json index d72124ea..cfdc7f79 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-2309.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2022-2309.json @@ -21,6 +21,10 @@ "Module": null, "Name": "python-lxml", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -41,5 +45,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-4863.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-4863.json index 804f3400..2d31c07c 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-4863.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-4863.json @@ -21,6 +21,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "libwebp", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -53,6 +61,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -73,5 +85,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5129.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5129.json index bdd63caf..fa1bcbcc 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5129.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5129.json @@ -21,6 +21,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "libwebp", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -53,6 +61,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -73,5 +85,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5217.json b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5217.json index 83d9a158..cceeefa0 100644 --- a/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5217.json +++ b/tests/unit/providers/rhel/test-fixtures/snapshots/rhel:9/cve-2023-5217.json @@ -21,6 +21,10 @@ "Module": null, "Name": "firefox", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -37,6 +41,10 @@ "Module": null, "Name": "thunderbird", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -53,6 +61,10 @@ "Module": null, "Name": "libvpx", "NamespaceName": "rhel:9", + "OS": { + "ID": "rhel", + "Version": "9.2" + }, "VendorAdvisory": { "AdvisorySummary": [ { @@ -73,5 +85,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/rhel/test_rhel.py b/tests/unit/providers/rhel/test_rhel.py index 186e96ee..ea4d4549 100644 --- a/tests/unit/providers/rhel/test_rhel.py +++ b/tests/unit/providers/rhel/test_rhel.py @@ -1,13 +1,12 @@ from __future__ import annotations import os -import shutil import pytest from vunnel import result, workspace -from vunnel.providers.rhel import Config, Provider, parser -from vunnel.providers.rhel.parser import Advisory, FixedIn, Parser +from vunnel.providers.rhel import Config, Provider +from vunnel.providers.rhel.parser import Advisory, FixedIn, Parser, parse_release class TestParser: @@ -511,6 +510,53 @@ def test_get_name_version(self, package, name, version): assert Parser._get_name_version(package) == (name, version) +@pytest.mark.parametrize( + "fix_version, platform, expected", + [ + # go case + ("0:1.0.0-8.el8_8.1", "8.0", "8.8.1"), + ("0:2.3.4-10.el9_2.5", "9.0", "9.2.5"), + # no minor version after underscore + ("1:3.4.5-2.el7", "7.0", "7"), + # non-digit after underscore + ("0:1.2.3-4.el8_beta2", "8.0", "8"), + # multiple hyphens in version + ("0:1.2-3-4.el9_4.3", "9.0", "9.4.3"), + # with metadata after "+" + ("0:1.0.0-8.el8_8.1+meta123", "8.0", "8.8.1"), + ("0:2.3.4-10.el9_2.5+build456", "9.0", "9.2.5"), + ("1:3.4.5-2.el7+commit789", "7.0", "7"), + # platform fallback cases + ("invalid-format", "7.0", "7.0"), # no hyphen + ("1.0.0-noel8", "8.0", "8.0"), # no .el format + ("1.0.0-8el8", "9.0", "9.0"), # missing dot before el + # edge cases + ("", "8.0", "8.0"), # empty string + ("0:1.0.0-8.el", "7.0", "7.0"), # missing version after el + ("0:1.0.0-8.el8_", "8.0", "8"), # empty after underscore + ("0:1.0.0-8.el8a_2.1", "8.0", "8"), # non-digit in major version + # complex version strings + ("0:1.2.3-4.el8_4_beta1", "8.0", "8.4"), # multiple underscores + ("1:2.3.4-5.el9_0.1", "9.0", "9.0.1"), # zero in minor version + # module cases + ("3:10.3.28-1.module_el8.3.0+757+d382997d", "8.3", "8.3.0"), + ("1:3.5.4-5.module_el8.6.0+1030+8d97e896", "8.6", "8.6.0"), + ("1:14.18.2-2.module_el8.7.0+1151+0d09c14c", "8.7", "8.7.0"), + # fallback for invalid module cases + ("3:10.3.28-1.module_el8+hashmeta", "8.0", "8"), # no minor version + ("1:14.18.2-2.module_el8_", "8.0", "8"), # underscore but no version + ("1:14.18.2-2.module_el8a_7", "8.0", "8"), # non-digit major version + # older patterns + ("2.4.37-47.module+el8.6.0+15654+427eba2e.2", "8.6", "8.6.0"), + ("1:14.20.0-2.module+el8.6.0+16231+7c1b33d9", "8.6", "8.6.0"), + ("2.4.37-47.module+el8.6.0", "8.6", "8.6.0"), + ], +) +def test_parse_release(fix_version: str, platform: str, expected: str): + result = parse_release(fix_version, platform) + assert result == expected, f"Expected {expected} for fix_version={fix_version}, platform={platform}, but got {result}" + + def test_provider_schema(helpers, disable_get_requests, monkeypatch): workspace = helpers.provider_workspace_helper( name=Provider.name(), diff --git a/tests/unit/providers/sles/test-fixtures/snapshots/sles:15.1/cve-2021-29154.json b/tests/unit/providers/sles/test-fixtures/snapshots/sles:15.1/cve-2021-29154.json index 8ad6fdba..a7b18f32 100644 --- a/tests/unit/providers/sles/test-fixtures/snapshots/sles:15.1/cve-2021-29154.json +++ b/tests/unit/providers/sles/test-fixtures/snapshots/sles:15.1/cve-2021-29154.json @@ -21,6 +21,10 @@ "Module": "", "Name": "kernel-default", "NamespaceName": "sles:15.1", + "OS": { + "ID": "sles", + "Version": "15.1" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -37,5 +41,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2010-1323.json b/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2010-1323.json index 992db5f5..d6d752a4 100644 --- a/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2010-1323.json +++ b/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2010-1323.json @@ -21,6 +21,10 @@ "Module": "", "Name": "krb5-plugin-kdb-ldap", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -33,6 +37,10 @@ "Module": "", "Name": "krb5-server", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -45,6 +53,10 @@ "Module": "", "Name": "krb5", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -57,6 +69,10 @@ "Module": "", "Name": "krb5-32bit", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -69,6 +85,10 @@ "Module": "", "Name": "krb5-client", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -81,6 +101,10 @@ "Module": "", "Name": "krb5-devel", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -93,6 +117,10 @@ "Module": "", "Name": "krb5-plugin-preauth-otp", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -105,6 +133,10 @@ "Module": "", "Name": "krb5-plugin-preauth-pkinit", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -121,5 +153,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2021-29154.json b/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2021-29154.json index 4de5bef7..72664f14 100644 --- a/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2021-29154.json +++ b/tests/unit/providers/sles/test-fixtures/snapshots/sles:15/cve-2021-29154.json @@ -21,6 +21,10 @@ "Module": "", "Name": "kernel-default", "NamespaceName": "sles:15", + "OS": { + "ID": "sles", + "Version": "15" + }, "VendorAdvisory": { "AdvisorySummary": [], "NoAdvisory": false @@ -37,5 +41,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/sles/test_sles.py b/tests/unit/providers/sles/test_sles.py index 4e2a8f48..038ac14d 100644 --- a/tests/unit/providers/sles/test_sles.py +++ b/tests/unit/providers/sles/test_sles.py @@ -6,6 +6,7 @@ import pytest from vunnel import result +from vunnel.providers.amazon.parser import OperatingSystem from vunnel.providers.sles import Config, Provider from vunnel.providers.sles.parser import ( PARSER_CONFIG, @@ -21,7 +22,7 @@ VersionParser, iter_parse_vulnerability_file, ) -from vunnel.utils.vulnerability import CVSS, CVSSBaseMetrics, FixedIn, Vulnerability, VendorAdvisory +from vunnel.utils.vulnerability import CVSS, CVSSBaseMetrics, FixedIn, Vulnerability, VendorAdvisory, OperatingSystem class TestSLESVulnerabilityParser: @@ -150,6 +151,7 @@ def parsed_vulnerabilities(self): Version="0:4.12.14-150.72.1", Module=None, VendorAdvisory=None, + OS=OperatingSystem(ID="sles", Version="15"), ) ], Metadata={}, @@ -179,6 +181,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), FixedIn( Name="krb5-server", @@ -188,6 +191,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), FixedIn( Name="krb5", @@ -197,6 +201,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), FixedIn( Name="krb5-32bit", @@ -206,6 +211,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), FixedIn( Name="krb5-client", @@ -215,6 +221,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), FixedIn( Name="krb5-devel", @@ -224,6 +231,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), FixedIn( Name="krb5-plugin-preauth-otp", @@ -233,6 +241,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), FixedIn( Name="krb5-plugin-preauth-pkinit", @@ -242,6 +251,7 @@ def parsed_vulnerabilities(self): Module="", VendorAdvisory=VendorAdvisory(NoAdvisory=False, AdvisorySummary=[]), VulnerableRange=None, + OS=OperatingSystem(ID="sles", Version="15"), ), ], Metadata={}, @@ -273,6 +283,7 @@ def parsed_vulnerabilities(self): Version="0:4.12.14-197.89.2", Module=None, VendorAdvisory=None, + OS=OperatingSystem(ID="sles", Version="15.1"), ) ], Metadata={}, diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2019-17185.json index 7faada0c..f7ee45f7 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2019-17185.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2021-4204.json index 6e42c3fb..15c60e50 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2021-4204.json @@ -7,6 +7,10 @@ { "Name": "linux-lts-xenial", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -16,6 +20,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -25,6 +33,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -34,6 +46,10 @@ { "Name": "linux-fips", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -48,5 +64,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-20566.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-20566.json index 98f5a369..864d1b4e 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-20566.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-20566.json @@ -7,6 +7,10 @@ { "Name": "linux", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -16,6 +20,10 @@ { "Name": "linux-lts-xenial", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -25,6 +33,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -34,6 +46,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -43,6 +59,10 @@ { "Name": "linux-fips", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -57,5 +77,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41859.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41859.json index 14bc941b..1e34ec94 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41859.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41859.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41860.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41860.json index 3abd1c23..f93045d1 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41860.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41860.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41861.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41861.json index b2c985e6..33d06a6c 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41861.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:14.04/cve-2022-41861.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:14.04", + "OS": { + "ID": "ubuntu", + "Version": "14.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2019-17185.json index e3bb18e9..3d8edc3d 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2019-17185.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2021-4204.json index 500f2189..28a6540c 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2021-4204.json @@ -7,6 +7,10 @@ { "Name": "linux-hwe", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -16,6 +20,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -25,6 +33,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -34,6 +46,10 @@ { "Name": "linux-aws-hwe", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -43,6 +59,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -52,6 +72,10 @@ { "Name": "linux-gcp", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -61,6 +85,10 @@ { "Name": "linux-gke", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -70,6 +98,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -79,6 +111,10 @@ { "Name": "linux-raspi2", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -88,6 +124,10 @@ { "Name": "linux-snapdragon", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -97,6 +137,10 @@ { "Name": "linux-fips", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -111,5 +155,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-20566.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-20566.json index 1ae11dbc..1f78e1da 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-20566.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-20566.json @@ -7,6 +7,10 @@ { "Name": "linux", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -16,6 +20,10 @@ { "Name": "linux-hwe", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -25,6 +33,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -34,6 +46,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -43,6 +59,10 @@ { "Name": "linux-aws-hwe", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -52,6 +72,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -61,6 +85,10 @@ { "Name": "linux-fips", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -70,6 +98,10 @@ { "Name": "linux-gcp", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -79,6 +111,10 @@ { "Name": "linux-gke", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -88,6 +124,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -97,6 +137,10 @@ { "Name": "linux-raspi2", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -106,6 +150,10 @@ { "Name": "linux-snapdragon", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -120,5 +168,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41859.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41859.json index 3440f186..4194f60f 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41859.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41859.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41860.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41860.json index 08ee38b6..78f1c5ee 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41860.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41860.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41861.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41861.json index b7abde54..11343ab1 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41861.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:16.04/cve-2022-41861.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:16.04", + "OS": { + "ID": "ubuntu", + "Version": "16.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2019-17185.json index a6ca4f7a..1ab9393d 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2019-17185.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2021-4204.json index 4c14eec2..452ee894 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2021-4204.json @@ -7,6 +7,10 @@ { "Name": "linux-gke-4.15", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -16,6 +20,10 @@ { "Name": "linux-gke-5.0", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -25,6 +33,10 @@ { "Name": "linux-gke-5.3", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -34,6 +46,10 @@ { "Name": "linux-oem", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -43,6 +59,10 @@ { "Name": "linux-oem-osp1", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -52,6 +72,10 @@ { "Name": "linux-raspi2-5.3", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -66,5 +90,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-20566.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-20566.json index 3139e5a5..8291b58b 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-20566.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-20566.json @@ -7,6 +7,10 @@ { "Name": "linux", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-hwe-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -34,6 +46,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -43,6 +59,10 @@ { "Name": "linux-aws-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -52,6 +72,10 @@ { "Name": "linux-azure-4.15", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -61,6 +85,10 @@ { "Name": "linux-azure-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -70,6 +98,10 @@ { "Name": "linux-dell300x", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -79,6 +111,10 @@ { "Name": "linux-gcp-4.15", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -88,6 +124,10 @@ { "Name": "linux-gcp-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -97,6 +137,10 @@ { "Name": "linux-gke-4.15", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -106,6 +150,10 @@ { "Name": "linux-gke-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -115,6 +163,10 @@ { "Name": "linux-gkeop-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -124,6 +176,10 @@ { "Name": "linux-ibm-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -133,6 +189,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -142,6 +202,10 @@ { "Name": "linux-oracle-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -151,6 +215,10 @@ { "Name": "linux-oem", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -160,6 +228,10 @@ { "Name": "linux-oem-osp1", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -169,6 +241,10 @@ { "Name": "linux-raspi2", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -178,6 +254,10 @@ { "Name": "linux-raspi-5.4", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -187,6 +267,10 @@ { "Name": "linux-snapdragon", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -201,5 +285,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41859.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41859.json index e738f9e0..20d28271 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41859.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41859.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41860.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41860.json index 99095a6d..4a19f4af 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41860.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41860.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41861.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41861.json index 41e22f59..4b89e03c 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41861.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:18.04/cve-2022-41861.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:18.04", + "OS": { + "ID": "ubuntu", + "Version": "18.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:19.10/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:19.10/cve-2019-17185.json index a657454a..03366b36 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:19.10/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:19.10/cve-2019-17185.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:19.10", + "OS": { + "ID": "ubuntu", + "Version": "19.10" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -21,5 +25,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2019-17185.json index 22e57696..eb1cac1c 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2019-17185.json @@ -11,5 +11,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2021-4204.json index 4bf5b1f7..90e11e48 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2021-4204.json @@ -7,6 +7,10 @@ { "Name": "linux-hwe-5.11", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-aws-5.11", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-azure-5.11", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -34,6 +46,10 @@ { "Name": "linux-gcp-5.11", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -43,6 +59,10 @@ { "Name": "linux-oracle-5.11", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -52,6 +72,10 @@ { "Name": "linux-oem-5.10", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -61,6 +85,10 @@ { "Name": "linux-oem-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -70,6 +98,10 @@ { "Name": "linux-oem-5.14", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -79,6 +111,10 @@ { "Name": "linux-riscv-5.11", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -88,6 +124,10 @@ { "Name": "linux-hwe-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -97,6 +137,10 @@ { "Name": "linux-aws-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -106,6 +150,10 @@ { "Name": "linux-oracle-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -115,6 +163,10 @@ { "Name": "linux-gcp-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -124,6 +176,10 @@ { "Name": "linux-azure-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -133,6 +189,10 @@ { "Name": "linux-hwe-5.8", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -142,6 +202,10 @@ { "Name": "linux-aws-5.8", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -151,6 +215,10 @@ { "Name": "linux-azure-5.8", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -160,6 +228,10 @@ { "Name": "linux-gcp-5.8", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -169,6 +241,10 @@ { "Name": "linux-intel-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -178,6 +254,10 @@ { "Name": "linux-oracle-5.8", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -187,6 +267,10 @@ { "Name": "linux-oem-5.6", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -196,6 +280,10 @@ { "Name": "linux-riscv-5.8", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -210,5 +298,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-20566.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-20566.json index a64bd3bd..11e5f1ad 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-20566.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-20566.json @@ -7,6 +7,10 @@ { "Name": "linux", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-hwe-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -34,6 +46,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -43,6 +59,10 @@ { "Name": "linux-aws-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -52,6 +72,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -61,6 +85,10 @@ { "Name": "linux-azure-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -70,6 +98,10 @@ { "Name": "linux-azure-fde", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -79,6 +111,10 @@ { "Name": "linux-azure-fde-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -88,6 +124,10 @@ { "Name": "linux-bluefield", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -97,6 +137,10 @@ { "Name": "linux-gcp", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -106,6 +150,10 @@ { "Name": "linux-gcp-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -115,6 +163,10 @@ { "Name": "linux-gke", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -124,6 +176,10 @@ { "Name": "linux-gke-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -133,6 +189,10 @@ { "Name": "linux-gkeop", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -142,6 +202,10 @@ { "Name": "linux-ibm", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -151,6 +215,10 @@ { "Name": "linux-intel-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -160,6 +228,10 @@ { "Name": "linux-intel-iotg-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -169,6 +241,10 @@ { "Name": "linux-lowlatency-hwe-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -178,6 +254,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -187,6 +267,10 @@ { "Name": "linux-oracle-5.13", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -196,6 +280,10 @@ { "Name": "linux-oracle-5.15", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -205,6 +293,10 @@ { "Name": "linux-oem-5.6", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -214,6 +306,10 @@ { "Name": "linux-oem-5.10", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -223,6 +319,10 @@ { "Name": "linux-oem-5.14", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -232,6 +332,10 @@ { "Name": "linux-raspi", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -246,5 +350,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41859.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41859.json index 334996b3..2dd8082d 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41859.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41859.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41860.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41860.json index 8f30b11b..da9b2824 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41860.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41860.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41861.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41861.json index 9f2ccbde..9ff26279 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41861.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.04/cve-2022-41861.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:20.04", + "OS": { + "ID": "ubuntu", + "Version": "20.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.10/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.10/cve-2019-17185.json index 149ff740..dac48ede 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.10/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:20.10/cve-2019-17185.json @@ -11,5 +11,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2019-17185.json index c4b03b4d..02c6bd83 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2019-17185.json @@ -11,5 +11,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2021-4204.json index ffa0c924..08263db0 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.04/cve-2021-4204.json @@ -7,6 +7,10 @@ { "Name": "linux", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -34,6 +46,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -43,6 +59,10 @@ { "Name": "linux-gcp", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -52,6 +72,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -61,6 +85,10 @@ { "Name": "linux-raspi", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -70,6 +98,10 @@ { "Name": "linux-riscv", "NamespaceName": "ubuntu:21.04", + "OS": { + "ID": "ubuntu", + "Version": "21.04" + }, "VendorAdvisory": { "NoAdvisory": true }, @@ -84,5 +116,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2019-17185.json index a483d2ce..b615ad47 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2019-17185.json @@ -11,5 +11,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2021-4204.json index c458cd0e..97828602 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:21.10/cve-2021-4204.json @@ -7,6 +7,10 @@ { "Name": "linux", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -34,6 +46,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -43,6 +59,10 @@ { "Name": "linux-gcp", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -52,6 +72,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -61,6 +85,10 @@ { "Name": "linux-raspi", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -70,6 +98,10 @@ { "Name": "linux-riscv", "NamespaceName": "ubuntu:21.10", + "OS": { + "ID": "ubuntu", + "Version": "21.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -84,5 +116,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2019-17185.json index 2834d2fd..78124305 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2019-17185.json @@ -11,5 +11,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2021-4204.json index e5b19439..ecf39356 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2021-4204.json @@ -7,6 +7,10 @@ { "Name": "linux-gkeop", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-azure-fde", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-oem-6.0", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -39,5 +51,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-20566.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-20566.json index f52b5d37..aaccf1c3 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-20566.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-20566.json @@ -7,6 +7,10 @@ { "Name": "linux", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -34,6 +46,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -43,6 +59,10 @@ { "Name": "linux-azure-fde", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -52,6 +72,10 @@ { "Name": "linux-gcp", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -61,6 +85,10 @@ { "Name": "linux-gke", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -70,6 +98,10 @@ { "Name": "linux-gkeop", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -79,6 +111,10 @@ { "Name": "linux-ibm", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -88,6 +124,10 @@ { "Name": "linux-intel-iotg", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -97,6 +137,10 @@ { "Name": "linux-lowlatency", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -106,6 +150,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -115,6 +163,10 @@ { "Name": "linux-oem-5.17", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -124,6 +176,10 @@ { "Name": "linux-raspi", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -133,6 +189,10 @@ { "Name": "linux-riscv", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -142,6 +202,10 @@ { "Name": "linux-oem-6.0", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -156,5 +220,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41859.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41859.json index 57fd70a8..8345a400 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41859.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41859.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41860.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41860.json index f8aa1570..1066dde7 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41860.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41860.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41861.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41861.json index 307a403d..150ab87d 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41861.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.04/cve-2022-41861.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:22.04", + "OS": { + "ID": "ubuntu", + "Version": "22.04" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2019-17185.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2019-17185.json index 4389cbbf..249f3c17 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2019-17185.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2019-17185.json @@ -11,5 +11,5 @@ "Severity": "Low" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2021-4204.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2021-4204.json index eb9dcf03..15e73cd2 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2021-4204.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2021-4204.json @@ -11,5 +11,5 @@ "Severity": "High" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-20566.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-20566.json index a4edba43..a90ad551 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-20566.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-20566.json @@ -7,6 +7,10 @@ { "Name": "linux-kvm", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -16,6 +20,10 @@ { "Name": "linux-aws", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -25,6 +33,10 @@ { "Name": "linux-azure", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -34,6 +46,10 @@ { "Name": "linux-gcp", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -43,6 +59,10 @@ { "Name": "linux-ibm", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -52,6 +72,10 @@ { "Name": "linux-lowlatency", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -61,6 +85,10 @@ { "Name": "linux-oracle", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -70,6 +98,10 @@ { "Name": "linux-oem-5.17", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -79,6 +111,10 @@ { "Name": "linux-raspi", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -88,6 +124,10 @@ { "Name": "linux-riscv", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -102,5 +142,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41859.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41859.json index d37976af..4cda0e4b 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41859.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41859.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41860.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41860.json index c3b089d1..e1bcd040 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41860.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41860.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41861.json b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41861.json index fb8d67a3..f82fa6c1 100644 --- a/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41861.json +++ b/tests/unit/providers/ubuntu/test-fixtures/snapshots/ubuntu:22.10/cve-2022-41861.json @@ -7,6 +7,10 @@ { "Name": "freeradius", "NamespaceName": "ubuntu:22.10", + "OS": { + "ID": "ubuntu", + "Version": "22.10" + }, "VendorAdvisory": { "NoAdvisory": false }, @@ -21,5 +25,5 @@ "Severity": "Medium" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2016-2781.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2016-2781.json index 958f154a..d5a6a218 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2016-2781.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2016-2781.json @@ -8,6 +8,10 @@ { "Name": "coreutils", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2017-8806.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2017-8806.json index 0a63db01..4c9308b5 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2017-8806.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2017-8806.json @@ -8,6 +8,10 @@ { "Name": "postgresql-15", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-1000156.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-1000156.json index 66452e30..ecb7aa65 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-1000156.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-1000156.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-20969.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-20969.json index be4f3739..8f5ba95d 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-20969.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-20969.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-25032.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-25032.json index 441eee5d..c69d618d 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-25032.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-25032.json @@ -8,6 +8,10 @@ { "Name": "zlib", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.2.12-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6951.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6951.json index 4c6f467d..0e9e378f 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6951.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6951.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6952.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6952.json index 355dc5cd..268b500c 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6952.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2018-6952.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13636.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13636.json index 4c0ae7ed..8097f34f 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13636.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13636.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13638.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13638.json index f503aca8..14bf327b 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13638.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-13638.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-20633.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-20633.json index 17b3b59d..5a804c2e 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-20633.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-20633.json @@ -8,6 +8,10 @@ { "Name": "patch", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.7.6-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-6293.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-6293.json index 57d7f4c7..e389db6b 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-6293.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2019-6293.json @@ -8,6 +8,10 @@ { "Name": "flex", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-10735.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-10735.json index 73a212b8..b76c7b5b 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-10735.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-10735.json @@ -8,6 +8,10 @@ { "Name": "python3", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-8927.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-8927.json index 4f865b8f..78ebd114 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-8927.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2020-8927.json @@ -8,6 +8,10 @@ { "Name": "brotli", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.0.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30218.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30218.json index 31a71b68..65ee8c43 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30218.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30218.json @@ -8,6 +8,10 @@ { "Name": "samurai", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30219.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30219.json index 96078ab1..66cf27d2 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30219.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-30219.json @@ -8,6 +8,10 @@ { "Name": "samurai", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-43618.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-43618.json index 9c22b41c..3c546918 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-43618.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2021-43618.json @@ -8,6 +8,10 @@ { "Name": "gmp", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "6.2.1-r4", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1586.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1586.json index 529cf535..1d2aa83f 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1586.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1586.json @@ -8,6 +8,10 @@ { "Name": "pcre2", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "10.40-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1587.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1587.json index af19c468..24d6377f 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1587.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-1587.json @@ -8,6 +8,10 @@ { "Name": "pcre2", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "10.40-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-26691.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-26691.json index 86c2a778..3640f16e 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-26691.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-26691.json @@ -8,6 +8,10 @@ { "Name": "cups", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.4.2-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27404.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27404.json index 22e09bbf..1abe32e2 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27404.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27404.json @@ -8,6 +8,10 @@ { "Name": "freetype", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.12.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27405.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27405.json index 788b183e..9aac2b1f 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27405.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27405.json @@ -8,6 +8,10 @@ { "Name": "freetype", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.12.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27406.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27406.json index 44c4cdb2..30d6d58a 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27406.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-27406.json @@ -8,6 +8,10 @@ { "Name": "freetype", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.12.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28391.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28391.json index e3471aeb..d138ce51 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28391.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28391.json @@ -8,6 +8,10 @@ { "Name": "busybox", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.35.0-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28506.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28506.json index 251b768d..2d81e11e 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28506.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-28506.json @@ -8,6 +8,10 @@ { "Name": "giflib", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "5.2.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-29458.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-29458.json index 1f86bac1..d6b00454 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-29458.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-29458.json @@ -8,6 +8,10 @@ { "Name": "ncurses", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "6.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-30065.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-30065.json index 986dd00e..6e6cae5b 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-30065.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-30065.json @@ -8,6 +8,10 @@ { "Name": "busybox", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.35.0-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-32221.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-32221.json index 7c243b6f..f32afc9a 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-32221.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-32221.json @@ -8,6 +8,10 @@ { "Name": "curl", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "7.86.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3358.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3358.json index f8c11c84..4aff5f1f 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3358.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3358.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3602.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3602.json index 684d9b83..ec49a5ce 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3602.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3602.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-36227.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-36227.json index 0aa55a27..e2925549 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-36227.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-36227.json @@ -8,6 +8,10 @@ { "Name": "libarchive", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "3.6.1-r2", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-37434.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-37434.json index 97753e35..b6859501 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-37434.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-37434.json @@ -8,6 +8,10 @@ { "Name": "zlib", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.2.12-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3786.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3786.json index efe091f9..4564293e 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3786.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-3786.json @@ -8,6 +8,10 @@ { "Name": "openssl", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "3.0.7-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38126.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38126.json index 651b9ee4..388c0817 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38126.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38126.json @@ -8,6 +8,10 @@ { "Name": "binutils", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.39-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38128.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38128.json index 031f7c34..992ecb24 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38128.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38128.json @@ -8,6 +8,10 @@ { "Name": "binutils", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.39-r3", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38533.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38533.json index 8dbddcc5..c642631e 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38533.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-38533.json @@ -8,6 +8,10 @@ { "Name": "binutils", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.39-r2", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39046.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39046.json index 8a58e5df..a3f14779 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39046.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39046.json @@ -8,6 +8,10 @@ { "Name": "glibc", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.36-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39253.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39253.json index e2b576b4..3caeb6e2 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39253.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39253.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.38.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39260.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39260.json index d90fe445..216729cb 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39260.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-39260.json @@ -8,6 +8,10 @@ { "Name": "git", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.38.1-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40303.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40303.json index 75ab2b3d..9f68412c 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40303.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40303.json @@ -8,6 +8,10 @@ { "Name": "libxml2", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.10.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40304.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40304.json index f17e4370..4843b427 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40304.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40304.json @@ -8,6 +8,10 @@ { "Name": "libxml2", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.10.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40674.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40674.json index 67153251..6bfebaed 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40674.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-40674.json @@ -8,6 +8,10 @@ { "Name": "expat", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.4.9-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41716.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41716.json index 58a9b738..418ed022 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41716.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41716.json @@ -8,6 +8,10 @@ { "Name": "go", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.19.3-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41717.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41717.json index fdd52bad..55702cdb 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41717.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41717.json @@ -8,6 +8,10 @@ { "Name": "go", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.19.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41720.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41720.json index daaeb227..3cf84438 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41720.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-41720.json @@ -8,6 +8,10 @@ { "Name": "go", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.19.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42010.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42010.json index 467c4907..218793d1 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42010.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42010.json @@ -8,6 +8,10 @@ { "Name": "dbus", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.14.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42011.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42011.json index fe4181c1..d650043a 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42011.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42011.json @@ -8,6 +8,10 @@ { "Name": "dbus", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.14.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42012.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42012.json index 85674450..104de9d0 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42012.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42012.json @@ -8,6 +8,10 @@ { "Name": "dbus", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "1.14.4-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42916.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42916.json index ec6982e9..80749161 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42916.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-42916.json @@ -8,6 +8,10 @@ { "Name": "curl", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "7.86.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-43680.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-43680.json index c2352df3..8991f40c 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-43680.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-43680.json @@ -8,6 +8,10 @@ { "Name": "expat", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "2.5.0-r0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-46908.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-46908.json index c5e007f1..66a04b47 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-46908.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2022-46908.json @@ -8,6 +8,10 @@ { "Name": "sqlite", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "3.40.0-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28840.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28840.json index 8c4a40e6..98d34d77 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28840.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28840.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0.7.3-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28841.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28841.json index 9fa0456e..cd5aa5ae 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28841.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28841.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0.7.3-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28842.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28842.json index b926b317..52441a93 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28842.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-28842.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0.7.3-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-30551.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-30551.json index babb2ca7..985a1e76 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-30551.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-30551.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0.8.0-r1", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-39325.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-39325.json index 21a25db1..097e9f7f 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-39325.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-39325.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0.10.0-r6", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-3978.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-3978.json index 3f357254..24a87a1e 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-3978.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-3978.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0.10.0-r6", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45283.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45283.json index fabf4b7c..10008f07 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45283.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45283.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45284.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45284.json index ce311679..1dfd19af 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45284.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/CVE-2023-45284.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/GHSA-jq35-85cj-fj4p.json b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/GHSA-jq35-85cj-fj4p.json index 0194ca88..95497c6e 100644 --- a/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/GHSA-jq35-85cj-fj4p.json +++ b/tests/unit/providers/wolfi/test-fixtures/snapshots/wolfi:rolling/GHSA-jq35-85cj-fj4p.json @@ -8,6 +8,10 @@ { "Name": "apko", "NamespaceName": "wolfi:rolling", + "OS": { + "ID": "wolfi", + "Version": "rolling" + }, "Version": "0", "VersionFormat": "apk" } @@ -19,5 +23,5 @@ "Severity": "Unknown" } }, - "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.2.json" + "schema": "https://raw.githubusercontent.com/anchore/vunnel/main/schema/vulnerability/os/schema-1.0.3.json" } diff --git a/tests/unit/test_provider.py b/tests/unit/test_provider.py index 2797ba25..fd51b061 100644 --- a/tests/unit/test_provider.py +++ b/tests/unit/test_provider.py @@ -899,7 +899,7 @@ def assert_dummy_workspace_state(ws): store=result.StoreStrategy.FLAT_FILE.value, provider="dummy", urls=["http://localhost:8000/dummy-input-1.json"], - listing=workspace.File(digest="b23db1a0e34dad13", algorithm="xxh64", path="checksums"), + listing=workspace.File(digest="b49b381435d0d63a", algorithm="xxh64", path="checksums"), timestamp=None, schema=schema.ProviderStateSchema(), ) diff --git a/tests/unit/test_result.py b/tests/unit/test_result.py index e7c8988e..8d5653ba 100644 --- a/tests/unit/test_result.py +++ b/tests/unit/test_result.py @@ -74,18 +74,18 @@ def sqlite_existing_workspace_with_partial_results(sqlite_existing_workspace: wo ( result.ResultStatePolicy.DELETE_BEFORE_WRITE, [ - workspace.File(digest="fc882c085f58a6b4", path="results/dummy-result-3.json", algorithm="xxh64"), - workspace.File(digest="7811995c51f2fdd0", path="results/dummy-result-4.json", algorithm="xxh64"), + workspace.File(digest="c85bdf1476529126", path="results/dummy-result-3.json", algorithm="xxh64"), + workspace.File(digest="f1857a0441964840", path="results/dummy-result-4.json", algorithm="xxh64"), ], 2, ), ( result.ResultStatePolicy.KEEP, [ - workspace.File(digest="903bd98818e2382e", path="results/dummy-result-1.json", algorithm="xxh64"), - workspace.File(digest="19d53931485fa9d0", path="results/dummy-result-2.json", algorithm="xxh64"), - workspace.File(digest="fc882c085f58a6b4", path="results/dummy-result-3.json", algorithm="xxh64"), - workspace.File(digest="7811995c51f2fdd0", path="results/dummy-result-4.json", algorithm="xxh64"), + workspace.File(digest="e2dede98a3ac7ca2", path="results/dummy-result-1.json", algorithm="xxh64"), + workspace.File(digest="62006fc5eff60d91", path="results/dummy-result-2.json", algorithm="xxh64"), + workspace.File(digest="c85bdf1476529126", path="results/dummy-result-3.json", algorithm="xxh64"), + workspace.File(digest="f1857a0441964840", path="results/dummy-result-4.json", algorithm="xxh64"), ], 4, ), diff --git a/tests/unit/utils/test_oval_parser.py b/tests/unit/utils/test_oval_parser.py new file mode 100644 index 00000000..bb3270a4 --- /dev/null +++ b/tests/unit/utils/test_oval_parser.py @@ -0,0 +1,25 @@ +import pytest + +from vunnel.utils.oval_parser import _craft_os + + +@pytest.mark.parametrize( + "ns_name, fix_version, expected", + [ + # go case + ("rhel:package", "tigervnc-server-1.13.1-8.el9_4.3", {"ID": "rhel", "Version": "9.4.3"}), + # without minor version + ("centos:package", "httpd-2.4.37-43.el8", {"ID": "centos", "Version": "8"}), + # namespace containing multiple colons + ("rhel:security:package", "openssh-server-8.0p1-13.el7_9.2", {"ID": "rhel", "Version": "7.9.2"}), + # complex package name + ("fedora:package", "kernel-core-5.14.0-284.30.1.el9_2", {"ID": "fedora", "Version": "9.2"}), + # different version format + ("oracle:package", "bash-4.4.20-4.el8_6", {"ID": "oracle", "Version": "8.6"}), + # no underscore in version + ("rocky:package", "nginx-1.20.1-10.el9", {"ID": "rocky", "Version": "9"}), + ], +) +def test_craft_os(ns_name: str, fix_version: str, expected: dict[str, str]): + result = _craft_os(ns_name, fix_version) + assert result == expected, f"Expected {expected}, but got {result}"