chore: Add Azure Linux (AZL) source to test instance#5157
chore: Add Azure Linux (AZL) source to test instance#5157another-rex merged 1 commit intogoogle:masterfrom
Conversation
|
/gcbrun |
|
This should start showing up on test.osv.dev soon (today) if everything goes correctly. |
@another-rex Thank you! I can see the vulnerability information on there, but everything shows as "No fix available" despite |
|
We display last_affected as No fix available, as we don't know if a newer version has been released after the "last_affected" version. We strongly recommend switching to fixed once an actual fix version is released: https://ossf.github.io/osv-schema/#requirements Looking at the contents of the advisory git repo, it looks like the majority of your records do have "fixed" (11.1k vs 3.3k last affected), and when they do have fixed, it does show up correctly (you'll need to press Load More a few times, or for example this one: https://test.osv.dev/list?q=AZL-78305&ecosystem=Azure+Linux). I'm guessing the difference is because there are actually no fixed versions for those packages? |
## Overview Add Azure Linux as a source in the test instance so we can start importing AZL advisories. ## Details We publish Azure Linux vulnerability data as OSV-format JSON files in [microsoft/AzureLinuxVulnerabilityData](https://github.com/microsoft/AzureLinuxVulnerabilityData). The repo has ~12,000 advisories in an osv directory, all prefixed `AZL-`. The ecosystem (`Azure Linux`) and its RPM-based version comparison already exist in the codebase, so this is just the source config to wire up the import. This only touches source_test.yaml (test instance). A follow-up PR will add it to source.yaml for production once we confirm the import works. ## Testing - Verified the entry matches the structure of other Git-based sources (type 0) like `almalinux`, `bellsoft`, etc. - Confirmed the repo URL, directory path (osv), prefix (`AZL-`), and extension (`.json`) match what's actually in the upstream repo. - Confirmed `Azure Linux` ecosystem support already exists in _ecosystems.py, purl_helpers.py, and the Go importer schema.
Overview
Add Azure Linux as a source in the test instance so we can start importing AZL advisories.
Details
We publish Azure Linux vulnerability data as OSV-format JSON files in microsoft/AzureLinuxVulnerabilityData. The repo has ~12,000 advisories in an osv directory, all prefixed
AZL-.The ecosystem (
Azure Linux) and its RPM-based version comparison already exist in the codebase, so this is just the source config to wire up the import.This only touches source_test.yaml (test instance). A follow-up PR will add it to source.yaml for production once we confirm the import works.
Testing
almalinux,bellsoft, etc.AZL-), and extension (.json) match what's actually in the upstream repo.Azure Linuxecosystem support already exists in _ecosystems.py, purl_helpers.py, and the Go importer schema.