Skip to content

Commit bb10fe4

Browse files
doc: Atlas: Support TLS 1.3 (DOCSP-54400) (#3903)
* Replaced all mentions of TLS1_0 and 1_1 for 1_2 and 1_3 * doc: Updated mentions of TLS 1.1 and .2 in .yml and .go files --------- Co-authored-by: Mar Cabrera <[email protected]>
1 parent b911e09 commit bb10fe4

File tree

9 files changed

+8
-26
lines changed

9 files changed

+8
-26
lines changed

docs/data-sources/advanced_cluster.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,8 @@ Key-value pairs that categorize the cluster. Each key and value has a maximum le
228228
* `default_write_concern` - [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
229229
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
230230
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
231-
- TLS1_0
232-
- TLS1_1
233231
- TLS1_2
232+
- TLS1_3
234233
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
235234
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
236235
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.

docs/data-sources/advanced_clusters.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,8 @@ Key-value pairs that categorize the cluster. Each key and value has a maximum le
224224
* `default_write_concern` - [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
225225
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
226226
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
227-
- TLS1_0
228-
- TLS1_1
229227
- TLS1_2
228+
- TLS1_3
230229
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
231230
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
232231
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.

docs/data-sources/cluster.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,8 @@ Contains a key-value pair that tags that the cluster was created by a Terraform
232232
* `fail_index_key_too_long` - **(DEPRECATED)** When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
233233
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
234234
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
235-
- TLS1_0
236-
- TLS1_1
237235
- TLS1_2
236+
- TLS1_3
238237
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
239238
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
240239
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.

docs/data-sources/clusters.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,8 @@ Contains a key-value pair that tags that the cluster was created by a Terraform
215215
* `fail_index_key_too_long` - **(DEPRECATED)** When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
216216
* `javascript_enabled` - When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
217217
* `minimum_enabled_tls_protocol` - Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
218-
- TLS1_0
219-
- TLS1_1
220218
- TLS1_2
219+
- TLS1_3
221220
* `no_table_scan` - When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
222221
* `oplog_size_mb` - The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
223222
* `oplog_min_retention_hours` - Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.

docs/resources/advanced_cluster.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,8 @@ Include **desired options** within advanced_configuration:
556556
* `default_write_concern` - (Optional) [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
557557
* `javascript_enabled` - (Optional) When true (default), the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
558558
* `minimum_enabled_tls_protocol` - (Optional) Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
559-
- TLS1_0
560-
- TLS1_1
561559
- TLS1_2
560+
- TLS1_3
562561
* `no_table_scan` - (Optional) When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
563562
* `oplog_size_mb` - (Optional) The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
564563
* `oplog_min_retention_hours` - (Optional) Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.

docs/resources/cluster.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,8 @@ Include **desired options** within advanced_configuration:
482482
* `fail_index_key_too_long` - **(DEPRECATED)** (Optional) When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
483483
* `javascript_enabled` - (Optional) When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
484484
* `minimum_enabled_tls_protocol` - (Optional) Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
485-
- TLS1_0
486-
- TLS1_1
487485
- TLS1_2
486+
- TLS1_3
488487
* `no_table_scan` - (Optional) When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
489488
* `oplog_size_mb` - (Optional) The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
490489
* `oplog_min_retention_hours` - (Optional) Minimum retention window for cluster's oplog expressed in hours. A value of null indicates that the cluster uses the default minimum oplog window that MongoDB Cloud calculates.

internal/testutil/acc/advanced_cluster_mig_TPF_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func TestConvertAdvancedClusterToTPF(t *testing.T) {
137137
advanced_configuration {
138138
fail_index_key_too_long = false
139139
javascript_enabled = true
140-
minimum_enabled_tls_protocol = "TLS1_1"
140+
minimum_enabled_tls_protocol = "TLS1_2"
141141
no_table_scan = false
142142
oplog_size_mb = 1000
143143
sample_size_bi_connector = 110
@@ -218,7 +218,7 @@ func TestConvertAdvancedClusterToTPF(t *testing.T) {
218218
change_stream_options_pre_and_post_images_expire_after_seconds = 100
219219
fail_index_key_too_long = false
220220
javascript_enabled = true
221-
minimum_enabled_tls_protocol = "TLS1_1"
221+
minimum_enabled_tls_protocol = "TLS1_2"
222222
no_table_scan = false
223223
oplog_size_mb = 1000
224224
sample_refresh_interval_bi_connector = 310

tools/codegen/atlasapispec/multi-version-api-spec.flattened.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,8 +1503,6 @@ components:
15031503
minimumEnabledTlsProtocol:
15041504
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
15051505
enum:
1506-
- TLS1_0
1507-
- TLS1_1
15081506
- TLS1_2
15091507
- TLS1_3
15101508
externalDocs:
@@ -6172,8 +6170,6 @@ components:
61726170
minimumEnabledTlsProtocol:
61736171
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
61746172
enum:
6175-
- TLS1_0
6176-
- TLS1_1
61776173
- TLS1_2
61786174
- TLS1_3
61796175
externalDocs:
@@ -6305,8 +6301,6 @@ components:
63056301
minimumEnabledTlsProtocol:
63066302
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
63076303
enum:
6308-
- TLS1_0
6309-
- TLS1_1
63106304
- TLS1_2
63116305
- TLS1_3
63126306
externalDocs:

tools/codegen/atlasapispec/raw-multi-version-api-spec.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,8 +2002,6 @@ components:
20022002
minimumEnabledTlsProtocol:
20032003
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
20042004
enum:
2005-
- TLS1_0
2006-
- TLS1_1
20072005
- TLS1_2
20082006
- TLS1_3
20092007
externalDocs:
@@ -9485,8 +9483,6 @@ components:
94859483
minimumEnabledTlsProtocol:
94869484
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
94879485
enum:
9488-
- TLS1_0
9489-
- TLS1_1
94909486
- TLS1_2
94919487
- TLS1_3
94929488
externalDocs:
@@ -9618,8 +9614,6 @@ components:
96189614
minimumEnabledTlsProtocol:
96199615
description: Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version.
96209616
enum:
9621-
- TLS1_0
9622-
- TLS1_1
96239617
- TLS1_2
96249618
- TLS1_3
96259619
externalDocs:

0 commit comments

Comments
 (0)