checker: report skipped rules as StatusUnknown

Skipped tests that are not problematic should be UNKNOWN rather
than INFO; the affected rules cannot evaluate without their input,
so they are non-evaluations, not findings.
This commit is contained in:
nemunaire 2026-04-26 01:24:20 +07:00
commit d73502b0e2
4 changed files with 8 additions and 11 deletions

View file

@ -13,5 +13,6 @@ var Version = "custom-build"
func NewCheckerPlugin() (*sdk.CheckerDefinition, sdk.ObservationProvider, error) {
autoconfig.Version = Version
return autoconfig.Definition(), autoconfig.Provider(), nil
prvd := autoconfig.Provider()
return prvd.(sdk.CheckerDefinitionProvider).Definition(), prvd, nil
}