r/devsecops • u/KewlKevin • Aug 31 '26
How are you handling advisory applicability when inventory data is messy?
I’ve been testing an advisory triage prototype and one thing that keeps coming up is how quickly applicability logic gets messy once the inventory data isn’t clean.
Basic version comparisons have held up pretty well, but product naming variations and CPE mismatches are much easier to break.
For example, FortiAuthenticator vs Forti Authenticator can be enough to create a false negative if product normalization isn’t handled properly.
Curious how people are dealing with this in real DevSecOps/vulnerability workflows. Are you relying mostly on CPEs, vendor identifiers, SBOM data, scanner normalization, or something else?
I’m working on a prototype around this problem, so I’m interested in where the real failure cases are.
1
u/PeterBuildsSecure Aug 31 '26
PURL is the right primary key wherever you have it — it's structured (type/namespace/name/version) instead of a fuzzy vendor+product string, so it doesn't have the free-text collision problem CPE has. But it only exists for stuff that came through a package manager. OS packages, commercial/enterprise software, anything installed outside npm/pip/etc. still needs CPE-style dictionary matching, so you end up with PURL as primary key from SBOM data and CPE as a fallback for the rest — plus a manual alias table, because vendor-published CPEs themselves aren't consistent about naming.
The bigger design question is what happens on a match failure: if an unmatched package silently gets treated as "no known vulnerabilities" instead of "unknown, needs review," your false negatives compound with your coverage gaps invisibly. Failing closed on unmatched inventory (flag it, don't clear it) costs you noise but at least the noise is visible.
2
u/taleodor Aug 31 '26
This is the biggest problem and there is no full-proof solution. But best available option is PURL.
1
u/Sad-Technician-5552 Sep 01 '26
The naming mess is a data problem, not a matching problem. Treating it like the latter is where prototypes die. Normalize at ingest, not at query time. Build a canonical product dictionary and map every scanners names into it once, so Forti Authenticator and FortiAuthenticator become the same string before any advisory lookup happens. Then give every match a confidence score and treat anything low as affected until a human says otherwise.
1
u/biankka97 Sep 01 '26
Don't take CPE the only source of truth. Exact version matching is easy, production identity is where things get ugly
1
u/Different_Pain5781 Sep 01 '26
False negatives from normalization are the scary ones. Nobody gets paged because the system quietly failed to recognize a product.
1
u/Realistic_Strike5241 Sep 02 '26
The failure cases are upstream of the matcher. The dictionary works only if you can see every source consistently. In our stack the same Fortinet box showed up 4 different ways depending on which tool was looking. None of those tools are wrong, they each see their own slice.
What we did is first we stostopped hand rolling the alias table and leaned on a reconciliation layer instead. axonius pulls from all the adapters and resolves those conflicts into one record per asset. That means the product string is canonical before it ever hits advisory matching. We still run the fail closed rule from the comments here, that parts non negotiable. The dictionary maintenance just went away bebebecause were not managing aliases by hand anymore but relying on the reconciliation platform for a much unified view.
For your prototype though build the ingest assuming every source disagrees with every other source. Design for that from day one and the matching layer gets a lot simpler.
1
u/Mangwe_Tanser Sep 03 '26
I bet package name and install source can help match the same s/w even when the scanner reports a different product name