ssllabs package#
Subpackages#
- ssllabs.api package
- ssllabs.data package
- Submodules
- ssllabs.data.caa_policy module
- ssllabs.data.caa_record module
- ssllabs.data.cert module
CertDataCertData.altNamesCertData.caaPolicyCertData.commonNamesCertData.crlRevocationStatusCertData.crlURIsCertData.dnsCaaCertData.idCertData.issuerSubjectCertData.issuesCertData.keyAlgCertData.keyKnownDebianInsecureCertData.keySizeCertData.keyStrengthCertData.mustStapleCertData.notAfterCertData.notBeforeCertData.ocspRevocationStatusCertData.ocspURIsCertData.pinSha256CertData.rawCertData.revocationInfoCertData.revocationStatusCertData.sctCertData.serialNumberCertData.sgcCertData.sha1HashCertData.sha256HashCertData.sigAlgCertData.subjectCertData.validationType
- ssllabs.data.certificate_chain module
- ssllabs.data.drown_hosts module
- ssllabs.data.endpoint module
EndpointDataEndpointData.delegationEndpointData.detailsEndpointData.durationEndpointData.etaEndpointData.futureGradeEndpointData.gradeEndpointData.gradeTrustIgnoredEndpointData.hasWarningsEndpointData.ipAddressEndpointData.isExceptionalEndpointData.progressEndpointData.serverNameEndpointData.statusDetailsEndpointData.statusDetailsMessageEndpointData.statusMessage
- ssllabs.data.endpoint_details module
EndpointDetailsDataEndpointDetailsData.alpnProtocolsEndpointDetailsData.bleichenbacherEndpointDetailsData.certChainsEndpointDetailsData.chaCha20PreferenceEndpointDetailsData.compressionMethodsEndpointDetailsData.dhPrimesEndpointDetailsData.dhUsesKnownPrimesEndpointDetailsData.dhYsReuseEndpointDetailsData.drownErrorsEndpointDetailsData.drownHostsEndpointDetailsData.drownVulnerableEndpointDetailsData.ecdhParameterReuseEndpointDetailsData.fallbackScsvEndpointDetailsData.forwardSecrecyEndpointDetailsData.freakEndpointDetailsData.goldenDoodleEndpointDetailsData.hasSctEndpointDetailsData.heartbeatEndpointDetailsData.heartbleedEndpointDetailsData.hostStartTimeEndpointDetailsData.hpkpPolicyEndpointDetailsData.hpkpRoPolicyEndpointDetailsData.hstsPolicyEndpointDetailsData.hstsPreloadsEndpointDetailsData.httpForwardingEndpointDetailsData.httpStatusCodeEndpointDetailsData.httpTransactionsEndpointDetailsData.implementsTLS13MandatoryCSEndpointDetailsData.logjamEndpointDetailsData.miscIntoleranceEndpointDetailsData.namedGroupsEndpointDetailsData.noSniSuitesEndpointDetailsData.nonPrefixDelegationEndpointDetailsData.npnProtocolsEndpointDetailsData.ocspStaplingEndpointDetailsData.openSSLLuckyMinus20EndpointDetailsData.openSslCcsEndpointDetailsData.poodleEndpointDetailsData.poodleTlsEndpointDetailsData.prefixDelegationEndpointDetailsData.protocolIntoleranceEndpointDetailsData.protocolsEndpointDetailsData.rc4OnlyEndpointDetailsData.rc4WithModernEndpointDetailsData.renegSupportEndpointDetailsData.serverSignatureEndpointDetailsData.sessionResumptionEndpointDetailsData.sessionTicketsEndpointDetailsData.simsEndpointDetailsData.sleepingPoodleEndpointDetailsData.sniRequiredEndpointDetailsData.staplingRevocationErrorMessageEndpointDetailsData.staplingRevocationStatusEndpointDetailsData.staticPkpPolicyEndpointDetailsData.suitesEndpointDetailsData.supportsAeadEndpointDetailsData.supportsAlpnEndpointDetailsData.supportsCBCEndpointDetailsData.supportsNpnEndpointDetailsData.supportsRc4EndpointDetailsData.ticketbleedEndpointDetailsData.vulnBeastEndpointDetailsData.zeroLengthPaddingOracleEndpointDetailsData.zeroRTTEnabledEndpointDetailsData.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
SimulationDataSimulationData.attemptsSimulationData.certChainIdSimulationData.clientSimulationData.dhBitsSimulationData.dhGSimulationData.dhPSimulationData.dhYsSimulationData.errorCodeSimulationData.errorMessageSimulationData.keyAlgSimulationData.keySizeSimulationData.kxStrengthSimulationData.kxTypeSimulationData.namedGroupBitsSimulationData.namedGroupIdSimulationData.namedGroupNameSimulationData.protocolIdSimulationData.sigAlgSimulationData.suiteIdSimulationData.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:
objectHigh 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:
ExceptionThe Endpoint API raised errors.
- class ssllabs.Ssllabs(client: AsyncClient | None = None)#
Bases:
objectHigh 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:
ExceptionThe service is not available.