-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson_output_schema.json
1489 lines (1489 loc) · 50.9 KB
/
json_output_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"title": "SslyzeOutputAsJson",
"description": "The \"root\" dictionary of the JSON output when using the --json command line option.",
"type": "object",
"properties": {
"invalid_server_strings": {
"title": "Invalid Server Strings",
"default": [],
"type": "array",
"items": {
"$ref": "#/definitions/InvalidServerStringAsJson"
}
},
"server_scan_results": {
"title": "Server Scan Results",
"type": "array",
"items": {
"$ref": "#/definitions/ServerScanResultAsJson"
}
},
"date_scans_started": {
"title": "Date Scans Started",
"type": "string",
"format": "date-time"
},
"date_scans_completed": {
"title": "Date Scans Completed",
"type": "string",
"format": "date-time"
},
"sslyze_version": {
"title": "Sslyze Version",
"default": "5.1.0",
"type": "string"
},
"sslyze_url": {
"title": "Sslyze Url",
"default": "https://github.com/nabla-c0d3/sslyze",
"type": "string"
}
},
"required": [
"server_scan_results",
"date_scans_started",
"date_scans_completed"
],
"definitions": {
"InvalidServerStringAsJson": {
"title": "InvalidServerStringAsJson",
"description": "A hostname:port string supplied via the command line that SSLyze was unable to parse or resolve.",
"type": "object",
"properties": {
"server_string": {
"title": "Server String",
"type": "string"
},
"error_message": {
"title": "Error Message",
"type": "string"
}
},
"required": [
"server_string",
"error_message"
],
"additionalProperties": false
},
"ConnectionTypeEnum": {
"title": "ConnectionTypeEnum",
"description": "An enumeration.",
"enum": [
"DIRECT",
"VIA_HTTP_PROXY"
],
"type": "string"
},
"_HttpProxySettingsAsJson": {
"title": "_HttpProxySettingsAsJson",
"type": "object",
"properties": {
"hostname": {
"title": "Hostname",
"type": "string"
},
"port": {
"title": "Port",
"type": "integer"
},
"basic_auth_user": {
"title": "Basic Auth User",
"type": "string"
},
"basic_auth_password": {
"title": "Basic Auth Password",
"type": "string"
}
},
"required": [
"hostname",
"port"
],
"additionalProperties": false
},
"_ServerNetworkLocationAsJson": {
"title": "_ServerNetworkLocationAsJson",
"description": "All the information needed to connect to a server.\n\nAttributes:\n hostname: The server's hostname.\n port: The server's TLS port number.\n connection_type: How sslyze should connect to the server: either directly, or via an HTTP proxy.\n ip_address: The server's IP address; only set if sslyze is connecting directly to the server. If no IP address\n is supplied and connection_type is set to DIRECT, sslyze will automatically lookup one IP address for the\n supplied hostname.\n http_proxy_settings: The HTTP proxy configuration to use in order to tunnel the scans through a proxy; only set\n if sslyze is connecting to the server via an HTTP proxy. The proxy will be responsible for looking up the\n server's IP address and connecting to it.",
"type": "object",
"properties": {
"hostname": {
"title": "Hostname",
"type": "string"
},
"port": {
"title": "Port",
"type": "integer"
},
"connection_type": {
"$ref": "#/definitions/ConnectionTypeEnum"
},
"ip_address": {
"title": "Ip Address",
"type": "string"
},
"http_proxy_settings": {
"$ref": "#/definitions/_HttpProxySettingsAsJson"
}
},
"required": [
"hostname",
"port",
"connection_type"
],
"additionalProperties": false
},
"ProtocolWithOpportunisticTlsEnum": {
"title": "ProtocolWithOpportunisticTlsEnum",
"description": "The list of plaintext protocols supported by SSLyze for opportunistic TLS upgrade (such as STARTTLS).\n\n This allows SSLyze to figure out how to complete an SSL/TLS handshake with the server.\n ",
"enum": [
"SMTP",
"XMPP",
"XMPP_SERVER",
"FTP",
"POP3",
"LDAP",
"IMAP",
"RDP",
"POSTGRES"
],
"type": "string"
},
"_ClientAuthenticationCredentialsAsJson": {
"title": "_ClientAuthenticationCredentialsAsJson",
"type": "object",
"properties": {
"certificate_chain_path": {
"title": "Certificate Chain Path",
"type": "string",
"format": "path"
},
"key_path": {
"title": "Key Path",
"type": "string",
"format": "path"
},
"key_type": {
"title": "Key Type",
"type": "string"
}
},
"required": [
"certificate_chain_path",
"key_path",
"key_type"
]
},
"_ServerNetworkConfigurationAsJson": {
"title": "_ServerNetworkConfigurationAsJson",
"description": "Additional network settings to provide fine-grained control on how to connect to a specific server.\n\nAttributes:\n tls_server_name_indication: The hostname to set within the Server Name Indication TLS extension.\n tls_wrapped_protocol: The protocol wrapped in TLS that the server expects. It allows SSLyze to figure out\n how to establish a (Start)TLS connection to the server and what kind of \"hello\" message\n (SMTP, XMPP, etc.) to send to the server after the handshake was completed. If not supplied, standard\n TLS will be used.\n tls_client_auth_credentials: The client certificate and private key needed to perform mutual authentication\n with the server. If not supplied, SSLyze will attempt to connect to the server without performing\n client authentication.\n xmpp_to_hostname: The hostname to set within the `to` attribute of the XMPP stream. If not supplied, the\n server's hostname will be used. Should only be set if the supplied `tls_wrapped_protocol` is an\n XMPP protocol.\n network_timeout: The timeout (in seconds) to be used when attempting to establish a connection to the\n server.\n network_max_retries: The number of retries SSLyze will perform when attempting to establish a connection\n to the server.",
"type": "object",
"properties": {
"tls_server_name_indication": {
"title": "Tls Server Name Indication",
"type": "string"
},
"tls_opportunistic_encryption": {
"$ref": "#/definitions/ProtocolWithOpportunisticTlsEnum"
},
"tls_client_auth_credentials": {
"$ref": "#/definitions/_ClientAuthenticationCredentialsAsJson"
},
"xmpp_to_hostname": {
"title": "Xmpp To Hostname",
"type": "string"
},
"network_timeout": {
"title": "Network Timeout",
"default": 5,
"type": "integer"
},
"network_max_retries": {
"title": "Network Max Retries",
"default": 3,
"type": "integer"
}
},
"required": [
"tls_server_name_indication"
],
"additionalProperties": false
},
"ServerConnectivityStatusEnum": {
"title": "ServerConnectivityStatusEnum",
"description": "An enumeration.",
"enum": [
"ERROR",
"COMPLETED"
],
"type": "string"
},
"ClientAuthRequirementEnum": {
"title": "ClientAuthRequirementEnum",
"description": "Whether the server asked for client authentication.",
"enum": [
"DISABLED",
"OPTIONAL",
"REQUIRED"
],
"type": "string"
},
"_ServerTlsProbingResultAsJson": {
"title": "_ServerTlsProbingResultAsJson",
"description": "Additional details about the server, detected via connectivity testing.",
"type": "object",
"properties": {
"highest_tls_version_supported": {
"title": "Highest Tls Version Supported",
"type": "string"
},
"cipher_suite_supported": {
"title": "Cipher Suite Supported",
"type": "string"
},
"client_auth_requirement": {
"$ref": "#/definitions/ClientAuthRequirementEnum"
},
"supports_ecdh_key_exchange": {
"title": "Supports Ecdh Key Exchange",
"type": "boolean"
}
},
"required": [
"highest_tls_version_supported",
"cipher_suite_supported",
"client_auth_requirement",
"supports_ecdh_key_exchange"
],
"additionalProperties": false
},
"ServerScanStatusEnum": {
"title": "ServerScanStatusEnum",
"description": "An enumeration.",
"enum": [
"ERROR_NO_CONNECTIVITY",
"COMPLETED"
],
"type": "string"
},
"ScanCommandAttemptStatusEnum": {
"title": "ScanCommandAttemptStatusEnum",
"description": "An enumeration.",
"enum": [
"ERROR",
"COMPLETED",
"NOT_SCHEDULED"
],
"type": "string"
},
"ScanCommandErrorReasonEnum": {
"title": "ScanCommandErrorReasonEnum",
"description": "An enumeration.",
"enum": [
"BUG_IN_SSLYZE",
"CLIENT_CERTIFICATE_NEEDED",
"CONNECTIVITY_ISSUE",
"WRONG_USAGE"
],
"type": "string"
},
"_SubjAltNameAsJson": {
"title": "_SubjAltNameAsJson",
"type": "object",
"properties": {
"dns": {
"title": "Dns",
"type": "array",
"items": {
"type": "string"
}
},
"ip_addresses": {
"title": "Ip Addresses",
"default": [],
"type": "array",
"items": {
"type": "string",
"format": "ipvanyaddress"
}
}
},
"required": [
"dns"
]
},
"_HashAlgorithmAsJson": {
"title": "_HashAlgorithmAsJson",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"digest_size": {
"title": "Digest Size",
"type": "integer"
}
},
"required": [
"name",
"digest_size"
]
},
"_ObjectIdentifierAsJson": {
"title": "_ObjectIdentifierAsJson",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"dotted_string": {
"title": "Dotted String",
"type": "string"
}
},
"required": [
"name",
"dotted_string"
]
},
"_NameAttributeAsJson": {
"title": "_NameAttributeAsJson",
"type": "object",
"properties": {
"oid": {
"$ref": "#/definitions/_ObjectIdentifierAsJson"
},
"value": {
"title": "Value",
"type": "string"
},
"rfc4514_string": {
"title": "Rfc4514 String",
"type": "string"
}
},
"required": [
"oid",
"value",
"rfc4514_string"
]
},
"_X509NameAsJson": {
"title": "_X509NameAsJson",
"type": "object",
"properties": {
"rfc4514_string": {
"title": "Rfc4514 String",
"type": "string"
},
"attributes": {
"title": "Attributes",
"type": "array",
"items": {
"$ref": "#/definitions/_NameAttributeAsJson"
}
}
},
"required": [
"rfc4514_string",
"attributes"
]
},
"_PublicKeyAsJson": {
"title": "_PublicKeyAsJson",
"type": "object",
"properties": {
"algorithm": {
"title": "Algorithm",
"type": "string"
},
"key_size": {
"title": "Key Size",
"type": "integer"
},
"rsa_e": {
"title": "Rsa E",
"type": "integer"
},
"rsa_n": {
"title": "Rsa N",
"type": "integer"
},
"ec_curve_name": {
"title": "Ec Curve Name",
"type": "string"
},
"ec_x": {
"title": "Ec X",
"type": "integer"
},
"ec_y": {
"title": "Ec Y",
"type": "integer"
}
},
"required": [
"algorithm"
]
},
"_CertificateAsJson": {
"title": "_CertificateAsJson",
"type": "object",
"properties": {
"as_pem": {
"title": "As Pem",
"type": "string"
},
"hpkp_pin": {
"title": "Hpkp Pin",
"type": "string"
},
"fingerprint_sha1": {
"title": "Fingerprint Sha1",
"type": "string"
},
"fingerprint_sha256": {
"title": "Fingerprint Sha256",
"type": "string"
},
"serial_number": {
"title": "Serial Number",
"type": "integer"
},
"not_valid_before": {
"title": "Not Valid Before",
"type": "string",
"format": "date-time"
},
"not_valid_after": {
"title": "Not Valid After",
"type": "string",
"format": "date-time"
},
"subject_alternative_name": {
"$ref": "#/definitions/_SubjAltNameAsJson"
},
"signature_hash_algorithm": {
"$ref": "#/definitions/_HashAlgorithmAsJson"
},
"signature_algorithm_oid": {
"$ref": "#/definitions/_ObjectIdentifierAsJson"
},
"subject": {
"$ref": "#/definitions/_X509NameAsJson"
},
"issuer": {
"$ref": "#/definitions/_X509NameAsJson"
},
"public_key": {
"$ref": "#/definitions/_PublicKeyAsJson"
}
},
"required": [
"as_pem",
"hpkp_pin",
"fingerprint_sha1",
"fingerprint_sha256",
"serial_number",
"not_valid_before",
"not_valid_after",
"subject_alternative_name",
"signature_algorithm_oid",
"public_key"
]
},
"_TrustStoreAsJson": {
"title": "_TrustStoreAsJson",
"description": "A set of root certificates to be used for certificate validation.\n\nAttributes:\n path: The path on the local system to the PEM-formatted file containing the root certificates.\n name: The human-readable name of the trust store (such as \"Mozilla\").\n version: The human-readable version or date of the trust store (such as \"09/2016\").",
"type": "object",
"properties": {
"path": {
"title": "Path",
"type": "string",
"format": "path"
},
"name": {
"title": "Name",
"type": "string"
},
"version": {
"title": "Version",
"type": "string"
},
"ev_oids": {
"title": "Ev Oids",
"type": "array",
"items": {
"$ref": "#/definitions/_ObjectIdentifierAsJson"
}
}
},
"required": [
"path",
"name",
"version"
]
},
"_PathValidationResultAsJson": {
"title": "_PathValidationResultAsJson",
"description": "The result of trying to validate a server's certificate chain using a specific trust store.\n\nAttributes:\n trust_store: The trust store used for validation.\n verified_certificate_chain: The verified certificate chain returned by OpenSSL.\n Index 0 is the leaf certificate and the last element is the anchor/CA certificate from the trust store.\n Will be None if the validation failed or the verified chain could not be built.\n Each certificate is parsed using the cryptography module; documentation is available at\n https://cryptography.io/en/latest/x509/reference/#x-509-certificate-object.\n openssl_error_string: The result string returned by OpenSSL's validation function; None if validation was\n successful.\n was_validation_successful: Whether the certificate chain is trusted when using supplied the trust_stores.",
"type": "object",
"properties": {
"trust_store": {
"$ref": "#/definitions/_TrustStoreAsJson"
},
"verified_certificate_chain": {
"title": "Verified Certificate Chain",
"type": "array",
"items": {
"$ref": "#/definitions/_CertificateAsJson"
}
},
"openssl_error_string": {
"title": "Openssl Error String",
"type": "string"
},
"was_validation_successful": {
"title": "Was Validation Successful",
"type": "boolean"
}
},
"required": [
"trust_store",
"was_validation_successful"
]
},
"_OcspResponseAsJson": {
"title": "_OcspResponseAsJson",
"type": "object",
"properties": {
"response_status": {
"title": "Response Status",
"type": "string"
},
"certificate_status": {
"title": "Certificate Status",
"type": "string"
},
"revocation_time": {
"title": "Revocation Time",
"type": "string",
"format": "date-time"
},
"produced_at": {
"title": "Produced At",
"type": "string",
"format": "date-time"
},
"this_update": {
"title": "This Update",
"type": "string",
"format": "date-time"
},
"next_update": {
"title": "Next Update",
"type": "string",
"format": "date-time"
},
"serial_number": {
"title": "Serial Number",
"type": "integer"
}
},
"required": [
"response_status"
]
},
"_CertificateDeploymentAnalysisResultAsJson": {
"title": "_CertificateDeploymentAnalysisResultAsJson",
"description": "The result of analyzing a server's certificate to verify its validity.\n\nAny certificate available within the fields that follow is parsed as a ``Certificate`` object using the cryptography\nmodule; documentation is available at\nhttps://cryptography.io/en/latest/x509/reference.html?highlight=Certificate#cryptography.x509.Certificate\n\nAttributes:\n received_certificate_chain: The certificate chain sent by the server; index 0 is the leaf certificate.\n verified_certificate_chain: The verified certificate chain returned by OpenSSL for one of the trust stores\n packaged within SSLyze. Will be ``None`` if the validation failed with all of the available trust stores\n (Apple, Mozilla, etc.). This is essentially a shortcut to\n ``path_validation_result_list[0].verified_certificate_chain``.\n path_validation_results: The result of validating the server's\n certificate chain using each trust store that is packaged with SSLyze (Mozilla, Apple, etc.).\n If for a given trust store, the validation was successful, the verified certificate chain built by OpenSSL\n can be retrieved from the ``PathValidationResult``.\n leaf_certificate_subject_matches_hostname: ``True`` if the leaf certificate's Common Name or Subject Alternative\n Names match the server's hostname.\n leaf_certificate_is_ev: ``True`` if the leaf certificate is Extended Validation, according to Mozilla.\n leaf_certificate_has_must_staple_extension: ``True`` if the OCSP must-staple extension is present in the leaf\n certificate.\n leaf_certificate_signed_certificate_timestamps_count: The number of Signed Certificate\n Timestamps (SCTs) for Certificate Transparency embedded in the leaf certificate. ``None`` if the version of\n OpenSSL installed on the system is too old to be able to parse the SCT extension.\n received_chain_has_valid_order: ``True`` if the certificate chain returned by the server was sent in the right\n order. `None`` if any of the certificates in the chain could not be parsed.\n received_chain_contains_anchor_certificate: ``True`` if the server included the anchor/root\n certificate in the chain it sends back to clients. ``None`` if the verified chain could not be built.\n verified_chain_has_sha1_signature: ``True`` if any of the leaf or intermediate certificates are\n signed using the SHA-1 algorithm. ``None`` if the verified chain could not be built.\n verified_chain_has_legacy_symantec_anchor: ``True`` if the certificate chain contains a distrusted Symantec\n anchor\n (https://blog.qualys.com/ssllabs/2017/09/26/google-and-mozilla-deprecating-existing-symantec-certificates).\n ``None`` if the verified chain could not be built.\n ocsp_response: The OCSP response returned by the server. ``None`` if no response was sent by the server or if\n the scan was run through an HTTP proxy (the proxy will not forward the server's OCSP response). If present,\n the OCSP response is an ``OCSPResponse`` object parsed using the cryptography module; documentation is\n available at\n https://cryptography.io/en/latest/x509/ocsp.html?highlight=OCSPResponse#cryptography.x509.ocsp.OCSPResponse\n ocsp_response_is_trusted: ``True`` if the OCSP response is trusted using the Mozilla trust store.\n ``None`` if no OCSP response was sent by the server.",
"type": "object",
"properties": {
"received_certificate_chain": {
"title": "Received Certificate Chain",
"type": "array",
"items": {
"$ref": "#/definitions/_CertificateAsJson"
}
},
"leaf_certificate_subject_matches_hostname": {
"title": "Leaf Certificate Subject Matches Hostname",
"type": "boolean"
},
"leaf_certificate_has_must_staple_extension": {
"title": "Leaf Certificate Has Must Staple Extension",
"type": "boolean"
},
"leaf_certificate_is_ev": {
"title": "Leaf Certificate Is Ev",
"type": "boolean"
},
"leaf_certificate_signed_certificate_timestamps_count": {
"title": "Leaf Certificate Signed Certificate Timestamps Count",
"type": "integer"
},
"received_chain_contains_anchor_certificate": {
"title": "Received Chain Contains Anchor Certificate",
"type": "boolean"
},
"received_chain_has_valid_order": {
"title": "Received Chain Has Valid Order",
"type": "boolean"
},
"path_validation_results": {
"title": "Path Validation Results",
"type": "array",
"items": {
"$ref": "#/definitions/_PathValidationResultAsJson"
}
},
"verified_chain_has_sha1_signature": {
"title": "Verified Chain Has Sha1 Signature",
"type": "boolean"
},
"verified_chain_has_legacy_symantec_anchor": {
"title": "Verified Chain Has Legacy Symantec Anchor",
"type": "boolean"
},
"ocsp_response": {
"$ref": "#/definitions/_OcspResponseAsJson"
},
"ocsp_response_is_trusted": {
"title": "Ocsp Response Is Trusted",
"type": "boolean"
},
"verified_certificate_chain": {
"title": "Verified Certificate Chain",
"type": "array",
"items": {
"$ref": "#/definitions/_CertificateAsJson"
}
}
},
"required": [
"received_certificate_chain",
"leaf_certificate_subject_matches_hostname",
"leaf_certificate_has_must_staple_extension",
"leaf_certificate_is_ev",
"path_validation_results"
]
},
"CertificateInfoScanResultAsJson": {
"title": "CertificateInfoScanResultAsJson",
"description": "The result of retrieving and analyzing a server's certificates to verify their validity.\n\nAttributes:\n hostname_used_for_server_name_indication: The hostname sent by SSLyze as the Server Name Indication extension.\n certificate_deployments: A list of leaf certificates detected by SSLyze and the corresponding analysis. Most\n servers only deploy one leaf certificate, but some websites (such as Facebook) return different leaf\n certificates depending on the client, as a way to maximize compatibility with older clients/devices.",
"type": "object",
"properties": {
"hostname_used_for_server_name_indication": {
"title": "Hostname Used For Server Name Indication",
"type": "string"
},
"certificate_deployments": {
"title": "Certificate Deployments",
"type": "array",
"items": {
"$ref": "#/definitions/_CertificateDeploymentAnalysisResultAsJson"
}
}
},
"required": [
"hostname_used_for_server_name_indication",
"certificate_deployments"
]
},
"CertificateInfoScanAttemptAsJson": {
"title": "CertificateInfoScanAttemptAsJson",
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/ScanCommandAttemptStatusEnum"
},
"error_reason": {
"$ref": "#/definitions/ScanCommandErrorReasonEnum"
},
"error_trace": {
"title": "Error Trace",
"type": "string"
},
"result": {
"$ref": "#/definitions/CertificateInfoScanResultAsJson"
}
},
"required": [
"status"
],
"additionalProperties": false
},
"_CipherSuiteAsJson": {
"title": "_CipherSuiteAsJson",
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"is_anonymous": {
"title": "Is Anonymous",
"type": "boolean"
},
"key_size": {
"title": "Key Size",
"type": "integer"
},
"openssl_name": {
"title": "Openssl Name",
"type": "string"
}
},
"required": [
"name",
"is_anonymous",
"key_size",
"openssl_name"
],
"additionalProperties": false
},
"_EphemeralKeyInfoAsJson": {
"title": "_EphemeralKeyInfoAsJson",
"type": "object",
"properties": {
"type_name": {
"title": "Type Name",
"type": "string"
},
"size": {
"title": "Size",
"type": "integer"
},
"public_bytes": {
"title": "Public Bytes",
"type": "string"
},
"curve_name": {
"title": "Curve Name",
"type": "string"
},
"x": {
"title": "X",
"type": "string"
},
"y": {
"title": "Y",
"type": "string"
},
"prime": {
"title": "Prime",
"type": "string"
},
"generator": {
"title": "Generator",
"type": "string"
}
},
"required": [
"type_name",
"size",
"public_bytes"
],
"additionalProperties": false
},
"_CipherSuiteAcceptedByServerAsJson": {
"title": "_CipherSuiteAcceptedByServerAsJson",
"description": "ephemeral_key: The ephemeral key negotiated with the server when using (EC) DH cipher suites. None if the cipher\n suite does not use ephemeral keys or if the ephemeral key could not be retrieved.",
"type": "object",
"properties": {
"cipher_suite": {
"$ref": "#/definitions/_CipherSuiteAsJson"
},
"ephemeral_key": {
"$ref": "#/definitions/_EphemeralKeyInfoAsJson"
}
},
"required": [
"cipher_suite"
],
"additionalProperties": false
},
"_CipherSuiteRejectedByServerAsJson": {
"title": "_CipherSuiteRejectedByServerAsJson",
"type": "object",
"properties": {
"cipher_suite": {
"$ref": "#/definitions/_CipherSuiteAsJson"
},
"error_message": {
"title": "Error Message",
"type": "string"
}
},
"required": [
"cipher_suite",
"error_message"
],
"additionalProperties": false
},
"CipherSuitesScanResultAsJson": {
"title": "CipherSuitesScanResultAsJson",
"description": "The result of testing a server for cipher suites with a specific version of SSL/TLS.\n\nAttributes:\n tls_version_used: The SSL/TLS version used to connect to the server.\n accepted_ciphers: The list of cipher suites supported supported by both SSLyze and the server.\n rejected_ciphers: The list of cipher suites supported by SSLyze that were rejected by the server.",
"type": "object",
"properties": {
"tls_version_used": {
"title": "Tls Version Used",
"type": "string"
},
"is_tls_version_supported": {
"title": "Is Tls Version Supported",
"type": "boolean"
},
"accepted_cipher_suites": {
"title": "Accepted Cipher Suites",
"type": "array",
"items": {
"$ref": "#/definitions/_CipherSuiteAcceptedByServerAsJson"
}
},
"rejected_cipher_suites": {
"title": "Rejected Cipher Suites",
"type": "array",
"items": {
"$ref": "#/definitions/_CipherSuiteRejectedByServerAsJson"
}
}
},
"required": [
"tls_version_used",
"is_tls_version_supported",
"accepted_cipher_suites",
"rejected_cipher_suites"
],
"additionalProperties": false
},
"CipherSuitesScanAttemptAsJson": {
"title": "CipherSuitesScanAttemptAsJson",
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/ScanCommandAttemptStatusEnum"
},
"error_reason": {
"$ref": "#/definitions/ScanCommandErrorReasonEnum"
},
"error_trace": {
"title": "Error Trace",
"type": "string"
},
"result": {
"$ref": "#/definitions/CipherSuitesScanResultAsJson"
}
},
"required": [
"status"
],
"additionalProperties": false
},
"CompressionScanResult": {
"title": "CompressionScanResult",
"type": "object",
"properties": {
"supports_compression": {
"title": "Supports Compression",
"type": "boolean"
}
},
"required": [
"supports_compression"
]
},
"CompressionScanAttemptAsJson": {
"title": "CompressionScanAttemptAsJson",
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/ScanCommandAttemptStatusEnum"
},
"error_reason": {
"$ref": "#/definitions/ScanCommandErrorReasonEnum"
},
"error_trace": {
"title": "Error Trace",
"type": "string"
},
"result": {
"$ref": "#/definitions/CompressionScanResult"
}
},
"required": [
"status"
],
"additionalProperties": false
},
"EarlyDataScanResult": {
"title": "EarlyDataScanResult",
"type": "object",
"properties": {
"supports_early_data": {
"title": "Supports Early Data",
"type": "boolean"
}
},
"required": [
"supports_early_data"
]
},
"EarlyDataScanAttemptAsJson": {
"title": "EarlyDataScanAttemptAsJson",
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/ScanCommandAttemptStatusEnum"
},
"error_reason": {
"$ref": "#/definitions/ScanCommandErrorReasonEnum"
},
"error_trace": {
"title": "Error Trace",
"type": "string"
},
"result": {
"$ref": "#/definitions/EarlyDataScanResult"
}
},
"required": [
"status"
],
"additionalProperties": false
},
"OpenSslCcsInjectionScanResult": {
"title": "OpenSslCcsInjectionScanResult",
"type": "object",
"properties": {
"is_vulnerable_to_ccs_injection": {
"title": "Is Vulnerable To Ccs Injection",
"type": "boolean"
}
},
"required": [
"is_vulnerable_to_ccs_injection"
]
},
"OpenSslCcsInjectionScanAttemptAsJson": {
"title": "OpenSslCcsInjectionScanAttemptAsJson",
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/ScanCommandAttemptStatusEnum"
},
"error_reason": {
"$ref": "#/definitions/ScanCommandErrorReasonEnum"
},
"error_trace": {
"title": "Error Trace",
"type": "string"
},
"result": {
"$ref": "#/definitions/OpenSslCcsInjectionScanResult"
}
},
"required": [
"status"
],
"additionalProperties": false
},
"FallbackScsvScanResult": {
"title": "FallbackScsvScanResult",
"type": "object",
"properties": {
"supports_fallback_scsv": {
"title": "Supports Fallback Scsv",
"type": "boolean"
}
},