Overlay SAT results into audit JSON

This commit is contained in:
Mikhail Chusavitin
2026-03-25 20:11:03 +03:00
parent 614b7cad61
commit 8b9d3447d7
8 changed files with 588 additions and 1 deletions

View File

@@ -105,6 +105,7 @@ func (a *App) RunAudit(runtimeMode runtimeenv.Mode, output string) (string, erro
}
}
result := collector.Run(runtimeMode)
applyLatestSATStatuses(&result.Hardware, DefaultSATBaseDir)
if health, err := ReadRuntimeHealth(DefaultRuntimeJSONPath); err == nil {
result.Runtime = &health
}