forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathssl-order-field.js
More file actions
48 lines (47 loc) · 1.46 KB
/
ssl-order-field.js
File metadata and controls
48 lines (47 loc) · 1.46 KB
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
import { GraphQLEnumType } from 'graphql'
export const SslOrderField = new GraphQLEnumType({
name: 'SSLOrderField',
description: 'Properties by which SSL connections can be ordered.',
values: {
ACCEPTABLE_CIPHERS: {
value: 'acceptable-ciphers',
description: 'Order SSL edges by their acceptable ciphers.',
},
ACCEPTABLE_CURVES: {
value: 'acceptable-curves',
description: 'Order SSL edges by their acceptable curves.',
},
CCS_INJECTION_VULNERABLE: {
value: 'ccs-injection-vulnerable',
description: 'Order SSL edges by ccs-injection-vulnerable.',
},
HEARTBLEED_VULNERABLE: {
value: 'heartbleed-vulnerable',
description: 'Order SSL edges by heart-bleed-vulnerable.',
},
STRONG_CIPHERS: {
value: 'strong-ciphers',
description: 'Order SSL edges by their strong ciphers.',
},
STRONG_CURVES: {
value: 'strong-curves',
description: 'Order SSL edges by their strong curves.',
},
SUPPORTS_ECDH_KEY_EXCHANGE: {
value: 'supports-ecdh-key-exchange',
description: 'Order SSL edges by supports-ecdh-key-exchange.',
},
TIMESTAMP: {
value: 'timestamp',
description: 'Order SSL edges by timestamp.',
},
WEAK_CIPHERS: {
value: 'weak-ciphers',
description: 'Order SSL edges by their weak ciphers.',
},
WEAK_CURVES: {
value: 'weak-curves',
description: 'Order SSL edges by their weak curves.',
},
},
})