Fix CVE schema taxonomy violations: lowercase severity, document product_name index, add repos.json#365
Draft
Fix CVE schema taxonomy violations: lowercase severity, document product_name index, add repos.json#365
Conversation
…name, add repos.json Agent-Logs-Url: https://github.com/dotnet/designs/sessions/612d843a-1a1e-4fe0-b48b-0f5908597717 Co-authored-by: richlander <2608468+richlander@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
richlander
March 26, 2026 23:33
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three taxonomy consistency issues in the CVE schema identified in dotnet/core#10327.
Severity case normalization (breaking)
cve.jsonused uppercase"HIGH","CRITICAL"etc. indisclosures[].cvss.severityandseverity_cveskeys, violating thekebab-case-lowerrule established byseverity.json. Lowercased both to match the taxonomy.product_name{} documented as computed index
Added an Indexes section to
dotnet-guidance.mdclarifying thatproduct_name{}is a computed projection ofproducts.jsongenerated at file-creation time — not a separately maintained copy. Updated the schema description accordingly.repos.json taxonomy (new file)
Added
repos.jsonto formally define valid repo identifiers and bridge commit key namespaces to product slugs. Theproductfield is the key value: it lets consumers resolveruntime@979135d→dotnet-runtimewithout hardcoding.{ "string": "runtime", "org": "dotnet", "display_name": ".NET Runtime", "product": "dotnet-runtime" }Covers
runtime,aspnetcore,sdk,winforms, andwpf. Referenced in thedotnet-guidance.mdtaxonomy list with a new Repos section.