From 0fee4942949b9323818ed1fb87b3ee3e258ab7b2 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sun, 26 Apr 2026 01:24:25 +0700 Subject: [PATCH] checker: report skipped TLS rule as StatusUnknown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When no endpoint is reached, the TLS posture cannot be assessed — this is a non-evaluation, not an informational finding. --- checker/rules_tls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checker/rules_tls.go b/checker/rules_tls.go index 2561092..9f7125d 100644 --- a/checker/rules_tls.go +++ b/checker/rules_tls.go @@ -27,7 +27,7 @@ func (r *tlsChecksRule) Evaluate(ctx context.Context, obs sdk.ObservationGetter, } if len(data.ConnectionReports) == 0 { - return []sdk.CheckState{infoState("matrix.tls_checks.skipped", "No endpoint reached: TLS posture could not be assessed.")} + return []sdk.CheckState{unknownState("matrix.tls_checks.skipped", "No endpoint reached: TLS posture could not be assessed.")} } out := make([]sdk.CheckState, 0, len(data.ConnectionReports))