Skip to content

Commit 4c9f603

Browse files
authored
Merge pull request #252 from platformsh/update-tls-properties
schema: the TLS min_version and client_authentication properties are nullable
2 parents 91e0357 + c2d3c5f commit 4c9f603

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

validator/schema/upsun.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -987,19 +987,21 @@
987987
}
988988
},
989989
"min_version": {
990-
"type": "string",
990+
"type": ["string", "null"],
991991
"enum": [
992-
"TLSv1.1",
993992
"TLSv1.0",
993+
"TLSv1.1",
994+
"TLSv1.2",
994995
"TLSv1.3",
995-
"TLSv1.2"
996+
null
996997
],
997998
"title": "The minimum TLS version to support.",
998999
"description": "Note that TLS versions older than 1.2 are deprecated and are rejected by default.",
9991000
"default": null
10001001
},
10011002
"client_authentication": {
1002-
"type": "string",
1003+
"type": ["string", "null"],
1004+
"enum": ["request", "require", null],
10031005
"description": "The type of client authentication to request.",
10041006
"default": null
10051007
},

0 commit comments

Comments
 (0)