ssllabs package#
Subpackages#
- ssllabs.api package
- ssllabs.data package
- Submodules
- ssllabs.data.caa_policy module
- ssllabs.data.caa_record module
- ssllabs.data.cert module
CertData
CertData.altNames
CertData.caaPolicy
CertData.commonNames
CertData.crlRevocationStatus
CertData.crlURIs
CertData.dnsCaa
CertData.id
CertData.issuerSubject
CertData.issues
CertData.keyAlg
CertData.keyKnownDebianInsecure
CertData.keySize
CertData.keyStrength
CertData.mustStaple
CertData.notAfter
CertData.notBefore
CertData.ocspRevocationStatus
CertData.ocspURIs
CertData.pinSha256
CertData.raw
CertData.revocationInfo
CertData.revocationStatus
CertData.sct
CertData.serialNumber
CertData.sgc
CertData.sha1Hash
CertData.sha256Hash
CertData.sigAlg
CertData.subject
CertData.validationType
- ssllabs.data.certificate_chain module
- ssllabs.data.drown_hosts module
- ssllabs.data.endpoint module
EndpointData
EndpointData.delegation
EndpointData.details
EndpointData.duration
EndpointData.eta
EndpointData.futureGrade
EndpointData.grade
EndpointData.gradeTrustIgnored
EndpointData.hasWarnings
EndpointData.ipAddress
EndpointData.isExceptional
EndpointData.progress
EndpointData.serverName
EndpointData.statusDetails
EndpointData.statusDetailsMessage
EndpointData.statusMessage
- ssllabs.data.endpoint_details module
EndpointDetailsData
EndpointDetailsData.alpnProtocols
EndpointDetailsData.bleichenbacher
EndpointDetailsData.certChains
EndpointDetailsData.chaCha20Preference
EndpointDetailsData.compressionMethods
EndpointDetailsData.dhPrimes
EndpointDetailsData.dhUsesKnownPrimes
EndpointDetailsData.dhYsReuse
EndpointDetailsData.drownErrors
EndpointDetailsData.drownHosts
EndpointDetailsData.drownVulnerable
EndpointDetailsData.ecdhParameterReuse
EndpointDetailsData.fallbackScsv
EndpointDetailsData.forwardSecrecy
EndpointDetailsData.freak
EndpointDetailsData.goldenDoodle
EndpointDetailsData.hasSct
EndpointDetailsData.heartbeat
EndpointDetailsData.heartbleed
EndpointDetailsData.hostStartTime
EndpointDetailsData.hpkpPolicy
EndpointDetailsData.hpkpRoPolicy
EndpointDetailsData.hstsPolicy
EndpointDetailsData.hstsPreloads
EndpointDetailsData.httpForwarding
EndpointDetailsData.httpStatusCode
EndpointDetailsData.httpTransactions
EndpointDetailsData.implementsTLS13MandatoryCS
EndpointDetailsData.logjam
EndpointDetailsData.miscIntolerance
EndpointDetailsData.namedGroups
EndpointDetailsData.noSniSuites
EndpointDetailsData.nonPrefixDelegation
EndpointDetailsData.npnProtocols
EndpointDetailsData.ocspStapling
EndpointDetailsData.openSSLLuckyMinus20
EndpointDetailsData.openSslCcs
EndpointDetailsData.poodle
EndpointDetailsData.poodleTls
EndpointDetailsData.prefixDelegation
EndpointDetailsData.protocolIntolerance
EndpointDetailsData.protocols
EndpointDetailsData.rc4Only
EndpointDetailsData.rc4WithModern
EndpointDetailsData.renegSupport
EndpointDetailsData.serverSignature
EndpointDetailsData.sessionResumption
EndpointDetailsData.sessionTickets
EndpointDetailsData.sims
EndpointDetailsData.sleepingPoodle
EndpointDetailsData.sniRequired
EndpointDetailsData.staplingRevocationErrorMessage
EndpointDetailsData.staplingRevocationStatus
EndpointDetailsData.staticPkpPolicy
EndpointDetailsData.suites
EndpointDetailsData.supportsAead
EndpointDetailsData.supportsAlpn
EndpointDetailsData.supportsCBC
EndpointDetailsData.supportsNpn
EndpointDetailsData.supportsRc4
EndpointDetailsData.ticketbleed
EndpointDetailsData.vulnBeast
EndpointDetailsData.zeroLengthPaddingOracle
EndpointDetailsData.zeroRTTEnabled
EndpointDetailsData.zombiePoodle
- ssllabs.data.host module
- ssllabs.data.hpkp_policy module
- ssllabs.data.hsts_policy module
- ssllabs.data.hsts_preload module
- ssllabs.data.http_transaction module
- ssllabs.data.info module
- ssllabs.data.named_group module
- ssllabs.data.named_groups module
- ssllabs.data.protocol module
- ssllabs.data.protocol_suites module
- ssllabs.data.sim_client module
- ssllabs.data.sim_details module
- ssllabs.data.simulation module
SimulationData
SimulationData.attempts
SimulationData.certChainId
SimulationData.client
SimulationData.dhBits
SimulationData.dhG
SimulationData.dhP
SimulationData.dhYs
SimulationData.errorCode
SimulationData.errorMessage
SimulationData.keyAlg
SimulationData.keySize
SimulationData.kxStrength
SimulationData.kxType
SimulationData.namedGroupBits
SimulationData.namedGroupId
SimulationData.namedGroupName
SimulationData.protocolId
SimulationData.sigAlg
SimulationData.suiteId
SimulationData.suiteName
- ssllabs.data.static_pkp_policy module
- ssllabs.data.status_codes module
- ssllabs.data.suite module
- ssllabs.data.trust module
- ssllabs.data.trust_path module
- Module contents
Submodules#
ssllabs.ssllabs module#
High level implementation of the SSL Labs API.
- class ssllabs.ssllabs.Ssllabs(client: AsyncClient | None = None)#
Bases:
object
High level methods to interact with the SSL Labs Assessment APIs.
- async analyze(host: str, *, publish: bool = False, ignore_mismatch: bool = False, from_cache: bool = False, max_age: int | None = None) HostData #
Test a particular host with respect to the cool off and the maximum number of assessments.
- Parameters:
host – Host to test
publish – True if assessment results should be published on the public results boards
ignore_mismatch – True if assessment shall proceed even when the server certificate doesn’t match the hostname
from_cache – True if cached results should be used instead of new assessments
max_age – Maximum age cached data might have in hours
See also: ssllabs/ssllabs-scan
- async availability() bool #
Check the availability of the SSL Labs servers.
See also: ssllabs/ssllabs-scan
- async info() InfoData #
Retrieve the engine and criteria version, and initialize the maximum number of concurrent assessments.
See also: ssllabs/ssllabs-scan
- async root_certs(trust_store: TrustStore = TrustStore.MOZILLA) str #
Retrieve root certificates.
- Parameters:
trust_store – Trust store to return (Mozilla, MacOS, Android, Java or Windows)
See also: ssllabs/ssllabs-scan
- async status_codes() StatusCodesData #
Retrieve known status codes.
See also: ssllabs/ssllabs-scan
Module contents#
Qualys SSL Labs API in Python.
- exception ssllabs.EndpointError(messages: list[dict[str, str]])#
Bases:
Exception
The Endpoint API raised errors.
- class ssllabs.Ssllabs(client: AsyncClient | None = None)#
Bases:
object
High level methods to interact with the SSL Labs Assessment APIs.
- async analyze(host: str, *, publish: bool = False, ignore_mismatch: bool = False, from_cache: bool = False, max_age: int | None = None) HostData #
Test a particular host with respect to the cool off and the maximum number of assessments.
- Parameters:
host – Host to test
publish – True if assessment results should be published on the public results boards
ignore_mismatch – True if assessment shall proceed even when the server certificate doesn’t match the hostname
from_cache – True if cached results should be used instead of new assessments
max_age – Maximum age cached data might have in hours
See also: ssllabs/ssllabs-scan
- async availability() bool #
Check the availability of the SSL Labs servers.
See also: ssllabs/ssllabs-scan
- async info() InfoData #
Retrieve the engine and criteria version, and initialize the maximum number of concurrent assessments.
See also: ssllabs/ssllabs-scan
- async root_certs(trust_store: TrustStore = TrustStore.MOZILLA) str #
Retrieve root certificates.
- Parameters:
trust_store – Trust store to return (Mozilla, MacOS, Android, Java or Windows)
See also: ssllabs/ssllabs-scan
- async status_codes() StatusCodesData #
Retrieve known status codes.
See also: ssllabs/ssllabs-scan
Bases:
Exception
The service is not available.