From ea6a66f9cc15798405be50140b0c80ca1dd4e877 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. Co-Authored-By: Claude Opus 4.7 (1M context) --- 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))