diff --git a/checkers/tls.go b/checkers/tls.go new file mode 100644 index 00000000..780e6887 --- /dev/null +++ b/checkers/tls.go @@ -0,0 +1,32 @@ +// This file is part of the happyDomain (R) project. +// Copyright (c) 2020-2026 happyDomain +// Authors: Pierre-Olivier Mercier, et al. +// +// This program is offered under a commercial and under the AGPL license. +// For commercial licensing, contact us at . +// +// For AGPL licensing: +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +package checkers + +import ( + tls "git.happydns.org/checker-tls/checker" + "git.happydns.org/happyDomain/internal/checker" +) + +func init() { + checker.RegisterObservationProvider(tls.Provider()) + checker.RegisterExternalizableChecker(tls.Definition()) +} diff --git a/go.mod b/go.mod index e0680cf9..06524f5d 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,7 @@ require ( git.happydns.org/checker-ns-restrictions v0.1.0 git.happydns.org/checker-ping v0.1.0 git.happydns.org/checker-sdk-go v1.4.0 + git.happydns.org/checker-tls v0.5.0 git.happydns.org/checker-zonemaster v0.1.0 github.com/JGLTechnologies/gin-rate-limit v1.5.8 github.com/StackExchange/dnscontrol/v4 v4.34.0 diff --git a/go.sum b/go.sum index 2c79e56f..d38efdb9 100644 --- a/go.sum +++ b/go.sum @@ -16,6 +16,8 @@ git.happydns.org/checker-ping v0.1.0 h1:Cu9Upvs/WoAWHi0A/1QahmuqB4/99n/jK29W/Bnv git.happydns.org/checker-ping v0.1.0/go.mod h1:P0xv85b2MoVud7UXbfoS0n3qMlyQGfg+uz1knN+7Q7w= git.happydns.org/checker-sdk-go v1.4.0 h1:sO8EnF3suhNgYLRsbmCZWJOymH/oNMrOUqj3FEzJArs= git.happydns.org/checker-sdk-go v1.4.0/go.mod h1:aNAcfYFfbhvH9kJhE0Njp5GX0dQbxdRB0rJ0KvSC5nI= +git.happydns.org/checker-tls v0.5.0 h1:3zd7wFqFcOAP/Zs4OrxpySfmDF9whUs2TJse/7pt69c= +git.happydns.org/checker-tls v0.5.0/go.mod h1:9tpnxg0iOwS+7If64DRG1jqYonUAgxOBuxwfF5mVkL4= git.happydns.org/checker-zonemaster v0.1.0 h1:1Qa0HtAGTfNU/3XvHhxDNJR9Td8DLQa8PrcNbexoeyI= git.happydns.org/checker-zonemaster v0.1.0/go.mod h1:HnVHYW3EZWy03Z0g1KMLUT9XJbIzmgoFBfid/jpe6kA= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.0 h1:fou+2+WFTib47nS+nz/ozhEBnvU96bKHy6LjRsY4E28=