File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 5454class ScanCommand :
5555 """The list of all scan commands supported by SSLyze.
5656 """
57+
5758 CERTIFICATE_INFO : Literal ["certificate_info" ] = "certificate_info"
5859
5960 SSL_2_0_CIPHER_SUITES : Literal ["ssl_2_0_cipher_suites" ] = "ssl_2_0_cipher_suites"
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ class ScanCommandErrorReasonEnum(Enum):
4040class ScanCommandError :
4141 """An error that prevented a specific scan command ran against a specific server from completing.
4242 ."""
43+
4344 reason : ScanCommandErrorReasonEnum
4445 exception_trace : TracebackException
4546
@@ -54,6 +55,7 @@ class ScanCommandExtraArgumentsDict(TypedDict, total=False):
5455class ServerScanRequest :
5556 """A request to scan a specific server with the supplied scan commands.
5657 """
58+
5759 server_info : ServerConnectivityInfo
5860 scan_commands : Set [ScanCommandType ]
5961 scan_commands_extra_arguments : ScanCommandExtraArgumentsDict = field (default_factory = dict ) # type: ignore
@@ -73,6 +75,7 @@ def __post_init__(self) -> None:
7375class ScanCommandResultsDict (TypedDict , total = False ):
7476 """A dictionary of results for every scan command that was scheduled against a specific server.
7577 """
78+
7679 # Field is present if the corresponding scan command was scheduled and was run successfully
7780 certificate_info : CertificateInfoScanResult
7881 ssl_2_0_cipher_suites : CipherSuitesScanResult
@@ -100,6 +103,7 @@ class ScanCommandResultsDict(TypedDict, total=False):
100103class ServerScanResult :
101104 """The result of a ServerScanRequest that was completed by a Scanner.
102105 """
106+
103107 scan_commands_results : ScanCommandResultsDict
104108 scan_commands_errors : ScanCommandErrorsDict
105109
You can’t perform that action at this time.
0 commit comments