{"id":18666942,"url":"https://github.com/adoptium/temurin-vdr-generator","last_synced_at":"2025-10-14T14:41:10.744Z","repository":{"id":228871450,"uuid":"767574592","full_name":"adoptium/temurin-vdr-generator","owner":"adoptium","description":"Scripts for generating Vulnerability Disclosure Reports","archived":false,"fork":false,"pushed_at":"2025-09-29T22:27:29.000Z","size":235,"stargazers_count":1,"open_issues_count":13,"forks_count":7,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-09-30T00:25:23.292Z","etag":null,"topics":["secure-dev"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adoptium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"adoptium","custom":["eclipse.org/donate/adoptium"]}},"created_at":"2024-03-05T14:40:34.000Z","updated_at":"2025-09-29T22:27:33.000Z","dependencies_parsed_at":"2024-03-20T22:24:54.291Z","dependency_job_id":"85633bed-bcb1-4c0c-a3d3-c733def306db","html_url":"https://github.com/adoptium/temurin-vdr-generator","commit_stats":null,"previous_names":["adoptium/temurin-vdr-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adoptium/temurin-vdr-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adoptium%2Ftemurin-vdr-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adoptium%2Ftemurin-vdr-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adoptium%2Ftemurin-vdr-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adoptium%2Ftemurin-vdr-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adoptium","download_url":"https://codeload.github.com/adoptium/temurin-vdr-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adoptium%2Ftemurin-vdr-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019154,"owners_count":26086682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["secure-dev"],"created_at":"2024-11-07T08:34:52.623Z","updated_at":"2025-10-14T14:41:10.740Z","avatar_url":"https://github.com/adoptium.png","language":"Python","funding_links":["https://github.com/sponsors/adoptium","eclipse.org/donate/adoptium"],"categories":[],"sub_categories":[],"readme":"# temurin-vdr-generator\n\nScripts for generating Vulnerability Disclosure Reports\n\nCurrently the VDR is generated by aggregating data from 2 sources: the OpenJDK Vulnerability Group and the NIST API.\nWe use `ojvg_download.py` to download data from OpenJDK Vulnerability Group, and parse it into a more machine readable format .\nWe use `ojvg_convert.py` to generate CycloneDX format objects, enhance with data from NIST, and generate a vdr, which is saved in `data/vdr.json`\n\n## Installation\n\nTo install the requirements:\n\n```sh\n# (Recommended) create a local virtual environment\npython3 -m venv .venv\nsource .venv/bin/activate\n\n# install project dependencies\npython -m pip install --upgrade pip\npython -m pip install -r requirements.txt\n\n# install pytest if it's not already available\npython -m pip install pytest\n```\n\n## Tests\n\nThere are some tests, in order to run them, you can do:\n\n```sh\n# from the repo root, using the venv\npython -m pytest -q\n\n# or without activating the venv\n./.venv/bin/python -m pytest -q\n```\n\n## Formatting\n\nThis project is formatted using [black](https://pypi.org/project/black/) (a fairly standard Python formatter).To format files, use:\n\n```sh\npython3 -m black \u003cfilename\u003e.py\n```\n\n## End-to-end VDR generation (online)\n\nThe end-to-end flow requires network access to OpenJDK and NIST NVD. Outputs and caches are written under `data/`.\n\n```sh\n# ensure output/cache directory exists\nmkdir -p data\n\n# optional: use an API token for higher NVD rate limits\nexport NIST_NVD_TOKEN=\"\u003cyour-nist-token\u003e\"\n\n# 1) scrape OJVG advisories and build intermediate JSON\npython ojvg_download.py   # writes data/openjvg_summary.json\n\n# 2) convert + enrich + validate and write the VDR\npython ojvg_convert.py    # writes data/vdr.json\n```\n\nTip: In VS Code, pick the interpreter via “Python: Select Interpreter” and choose `.venv/bin/python` so testing and tools use the venv.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadoptium%2Ftemurin-vdr-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadoptium%2Ftemurin-vdr-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadoptium%2Ftemurin-vdr-generator/lists"}