Documentation ¶
Index ¶
- Variables
- type Config
- type LabsCaaPolicy
- type LabsCaaRecord
- type LabsCert
- type LabsCertChain
- type LabsChain
- type LabsChainCert
- type LabsDrownHost
- type LabsEndpoint
- type LabsEndpointDetails
- type LabsError
- type LabsErrorResponse
- type LabsHpkpDirective
- type LabsHpkpPin
- type LabsHpkpPolicy
- type LabsHstsPolicy
- type LabsHstsPreload
- type LabsHttpHeader
- type LabsHttpTransaction
- type LabsInfo
- type LabsKey
- type LabsNamedGroup
- type LabsNamedGroups
- type LabsProtocol
- type LabsReport
- type LabsResults
- type LabsSimClient
- type LabsSimDetails
- type LabsSimulation
- type LabsSuite
- type LabsSuites
- type LabsTrust
- type LabsTrustPath
- type TableRow
Constants ¶
This section is empty.
Variables ¶
View Source
var APILocation = "https://api.ssllabs.com/api/v3"
View Source
var USER_AGENT = "ssllabs-scan v1.5.0 (dev $Id$)"
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Retries int ScanType int ParallelScans int APILocation string IgnoreMismatch bool StartNew bool FromCache bool MaxAge int NewAssessmentCoolOff int64 }
CrawlerConfig
type LabsCaaPolicy ¶
type LabsCaaPolicy struct { PolicyHostname string CaaRecords []LabsCaaRecord }
type LabsCaaRecord ¶
type LabsCert ¶
type LabsCert struct { Id string SerialNumber string Subject string CommonNames []string AltNames []string NotBefore int64 NotAfter int64 IssuerSubject string SigAlg string RevocationInfo int CrlURIs []string OcspURIs []string RevocationStatus int CrlRevocationStatus int OcspRevocationStatus int DnsCaa bool Caapolicy LabsCaaPolicy MustStaple bool Sgc int ValidationType string Issues int Sct bool Sha1Hash string Sha256Hash string PinSha256 string KeyAlg string KeySize int KeyStrength int KeyKnownDebianInsecure bool Raw string }
type LabsCertChain ¶
type LabsCertChain struct { Id string CertIds []string Trustpaths []LabsTrustPath Issues int NoSni bool }
type LabsChain ¶
type LabsChain struct { Certs []LabsChainCert Issues int }
type LabsChainCert ¶
type LabsDrownHost ¶
type LabsEndpoint ¶
type LabsEndpointDetails ¶
type LabsEndpointDetails struct { HostStartTime int64 CertChains []LabsCertChain Protocols []LabsProtocol Suites []LabsSuites NoSniSuites LabsSuites NamedGroups LabsNamedGroups ServerSignature string PrefixDelegation bool NonPrefixDelegation bool VulnBeast bool RenegSupport int SessionResumption int CompressionMethods int SupportsNpn bool NpnProtocols string SupportsAlpn bool AlpnProtocols string SessionTickets int OcspStapling bool StaplingRevocationStatus int StaplingRevocationErrorMessage string SniRequired bool HttpStatusCode int HttpForwarding string SupportsRc4 bool Rc4WithModern bool Rc4Only bool ForwardSecrecy int ProtocolIntolerance int MiscIntolerance int Sims LabsSimDetails Heartbleed bool Heartbeat bool OpenSslCcs int OpenSSLLuckyMinus20 int Ticketbleed int Bleichenbacher int Poodle bool PoodleTLS int FallbackScsv bool Freak bool HasSct int DhPrimes []string DhUsesKnownPrimes int DhYsReuse bool EcdhParameterReuse bool Logjam bool ChaCha20Preference bool HstsPolicy LabsHstsPolicy HstsPreloads []LabsHstsPreload HpkpPolicy LabsHpkpPolicy HpkpRoPolicy LabsHpkpPolicy HttpTransactions []LabsHttpTransaction DrownHosts []LabsDrownHost DrownErrors bool DrownVulnerable bool }
type LabsErrorResponse ¶
type LabsErrorResponse struct {
ResponseErrors []LabsError `json:"errors"`
}
func (LabsErrorResponse) Error ¶
func (e LabsErrorResponse) Error() string
type LabsHpkpDirective ¶
type LabsHpkpPin ¶
type LabsHpkpPolicy ¶
type LabsHpkpPolicy struct { Header string Status string Error string MaxAge int64 IncludeSubDomains bool ReportUri string Pins []LabsHpkpPin MatchedPins []LabsHpkpPin Directives []LabsHpkpDirective }
type LabsHstsPolicy ¶
type LabsHstsPreload ¶
type LabsHttpHeader ¶
type LabsHttpTransaction ¶
type LabsNamedGroup ¶
type LabsNamedGroups ¶
type LabsNamedGroups struct { List []LabsNamedGroup Preference bool }
type LabsProtocol ¶
type LabsReport ¶
type LabsReport struct { Host string Port int Protocol string IsPublic bool Status string StatusMessage string StartTime int64 TestTime int64 EngineVersion string CriteriaVersion string CacheExpiryTime int64 CertHostnames []string Endpoints []LabsEndpoint Certs []LabsCert // contains filtered or unexported fields }
type LabsResults ¶
type LabsResults struct {
// contains filtered or unexported fields
}
type LabsSimClient ¶
type LabsSimDetails ¶
type LabsSimDetails struct {
Results []LabsSimulation
}
type LabsSimulation ¶
type LabsSimulation struct { Client LabsSimClient ErrorCode int ErrorMessage string Attempts int CertChainId string ProtocolId int SuiteId int SuiteName string KxType string KxStrength int DhBits int DhP int DhG int DhYs int NamedGroupBits int NamedGroupId int NamedGroupName string AlertType int AlertCode int KeyAlg string KeySize int SigAlg string }
type LabsSuites ¶
type LabsTrustPath ¶
type TableRow ¶
type TableRow struct { IP string StartTime string TestTime string Grade string GradeTrustIgnored string FutureGrade string HasWarnings bool IsExceptional bool NumberWeakProtocols int WeakProtocols string NumberProtocols int Protocols string NumberWeakSuites int WeakSuites string NumberSuites int Suites string ForwardSecrecy uint8 RenegSupport uint8 SupportsRC4 bool VulnBeast bool VulnHeartbleed bool VulnOpenSslCcs int16 VulnOpenSSLLuckyMinus20 int16 VulnTicketbleed uint8 VulnBleichenbacher int16 VulnPoodle uint8 VulnFreak bool VulnLogjam bool VulnDrown bool DhUsesKnownPrimes uint8 DhYsReuse bool EcdhParameterReuse bool CertificateChainIssues int16 CertificateChainLength uint8 EndEntityCertificateThumbprint sql.NullString ScanStatus int }
Click to show internal directories.
Click to hide internal directories.