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:
parent
3e8a85bfdc
commit
d4a870234b
4 changed files with 8 additions and 11 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue