Versions in this module Expand all Collapse all v1 v1.1.0 Aug 4, 2026 Changes in this version + func CreateTLSConfig(cfg *Config, target Target) (*tls.Config, error) + func DumpDiagnostics(w io.Writer) error + type Config struct + AssertStatus string + CSV string + Cert bool + CheckOCSP bool + CipherSuite string + Color bool + Diagnose bool + Endpoints []string + ExportCert string + File string + Headers []string + Hostnames string + Hostport string + InsecureSkipVerify bool + JSON bool + Keystore string + Log string + NoColor bool + NoSNI bool + Ports string + Proxy string + ProxyType string + Retries int + SNI string + Scan bool + StrictParsing bool + TLSVersion string + Timeout time.Duration + Truststore string + URLs []string + Verbose bool + Version bool + WarnDays int + Workers int + func NewConfig() *Config + type ParseResult struct + Targets []Target + Warnings []string + func ParseTargetsWithWarnings(cfg *Config) (*ParseResult, error) + type SecurityEnvironment struct + Arch string + CompilerVersion string + OS string + SupportedCurves []string + SupportedTLS []string + SystemPoolLoaded bool + func GetSecurityEnvironment() SecurityEnvironment + type StringSliceFlag []string + func (s *StringSliceFlag) Set(value string) error + func (s *StringSliceFlag) String() string + type Target struct + HTTPPath string + Host string + Port int + RawTarget string + func ParseTargets(cfg *Config) ([]Target, error) + func ParseURLTarget(val string) (Target, error) + type TargetResult struct + ActiveOCSPStatus string + CapturedChain []*x509.Certificate + CertChainTrustError string + CertChainTrusted bool + CertExpirationWarning string + DNSLatency time.Duration + Error string + HTTPAltSvcLine string + HTTPLatency time.Duration + HTTPStatusLine string + LeafDaysRemaining int + LeafIsExpired bool + LeafIssuer string + LeafKeySize int + LeafKeyType string + LeafNotAfter time.Time + LeafNotBefore time.Time + LeafSANs []string + LeafSerial string + LeafSignatureAlgorithm string + LeafSubject string + NegotiatedGroup string + OCSPRevocation *probes.OCSPResult + OCSPStapled bool + ProtocolScanResults []probes.ProtocolScanResult + QUICReachable bool + ResolvedIPs []string + SCTCount int + SCTs []probes.SCTInfo + SCTsPresent bool + ServerCiphers []string + SessionResumptionAttempted bool + SessionResumptionLatency time.Duration + SessionResumptionSuccess bool + TCPConnected bool + TCPLatency time.Duration + TLSAlpn string + TLSCipher string + TLSHandshakeLatency time.Duration + TLSHandshakeSuccess bool + TLSProtocol string + Target Target + func ExecuteTarget(ctx context.Context, cfg *Config, target Target) TargetResult + func RunDiagnostics(ctx context.Context, cfg *Config, targets []Target) []TargetResult