diff --git a/src/Backend/AutopilotMonitor.Functions/Services/Vulnerability/VulnerabilityCorrelationService.cs b/src/Backend/AutopilotMonitor.Functions/Services/Vulnerability/VulnerabilityCorrelationService.cs index 42f70835..fc215a28 100644 --- a/src/Backend/AutopilotMonitor.Functions/Services/Vulnerability/VulnerabilityCorrelationService.cs +++ b/src/Backend/AutopilotMonitor.Functions/Services/Vulnerability/VulnerabilityCorrelationService.cs @@ -64,10 +64,14 @@ namespace AutopilotMonitor.Functions.Services.Vulnerability /// Resets the static mappings cache so the next call to EnsureMappingsLoadedAsync /// reloads all mappings (seed, custom, community) from their sources. /// Called after reseed operations that update community mappings in table storage. + /// Also flushes the negative auto-resolve cache so software that previously missed + /// gets a fresh resolution attempt against the reloaded mappings — otherwise stale + /// NVD-miss entries would suppress retries for up to days. /// public static void ResetMappingsCache() { _seedLoaded = false; + ResetAutoResolveFailedCache(); } public async Task?> CorrelateAsync(