mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-11-25 09:52:26 +00:00
dc7b960bb2
Mapping - The backend keeps a reduced copy of the NVD product dictionary, replaced nightly when NVD publishes a new one and read as a stream. The NVD keyword search is removed: no program name is sent to NVD any more. - A program gets an automatic mapping only when its name is exactly one product's name, the product's cache row holds CVEs, none of them lacks a version, and the program does not occur only as a Store package. Deleting an automatic mapping puts the name on the ignore list. - rules/dist/cpe-mappings.json is the maintained list (410 mappings, editions, default set of self-updating products). An import checks the list, writes, then removes what the list no longer holds; a refused list leaves the mappings in service and is recorded as an ops event. cpe-mapping-seed.json stays until this backend is deployed. - The CPE on every inventory row follows the mappings: after each change and once a night. - The admin routes work on vendor plus canonical name. POST vulnerability/cpe-product-flags lets a Global Admin mark a product as self-updating; the value is stored only while it differs from the list's default. Report and rule - Findings in self-updating software are listed, but the actionable_* counters leave them out. ANALYZE-ID-003 (1.3.0) reads those counters, so a browser no longer triggers it. - A program without a version number and a Store package under an automatic mapping are listed as not evaluated instead of being compared. - The fleet summary leaves self-updating software out unless includeSelfUpdating is set, and says how much that is. NVD - A 403 is a refusal like a 429; a request that got no answer is told apart from a rejected one. - Every loop that asks NVD has a count bound, an unanswered bound and a time bound. The cache walk waits an open cooldown out once before its first request. - The scan filter and the dictionary share one list of the platforms that rule a Windows desktop out; the phone, embedded and ARM-only Windows lines are in it. Monitoring - New unsampled event SoftwareInventoryCpeReconciled; VulnerabilityDataSyncCompleted carries the dictionary, the automatic mappings and the parts that fell short. - Ops events VulnerabilityDataSyncDegraded (also from stored state: walk not finished for two days, dictionary older than a week), CpeMappingUnavailable (mappings unreadable or a list refused; once per UTC day, cause and severity) and CpeAutoMappingsCreated. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>