Skip to content

Commit 3449467

Browse files
svc-apix-Botgithub-actions[bot]wtrocki
authored
APIBot: SDK update based on recent changes in Atlas API (#430)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: wtrocki <[email protected]>
1 parent 00bf2b0 commit 3449467

File tree

5 files changed

+24
-20
lines changed

5 files changed

+24
-20
lines changed

admin/model_cluster_description20240805.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type ClusterDescription20240805 struct {
6060
Paused *bool `json:"paused,omitempty"`
6161
// Flag that indicates whether the cluster uses continuous cloud backups.
6262
PitEnabled *bool `json:"pitEnabled,omitempty"`
63-
// Enable or disable log redaction.
63+
// Enable or disable log redaction. This setting configures the ``mongod`` or ``mongos`` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use ``redactClientLogData`` in conjunction with Encryption at Rest and TLS/SSL (Transport Encryption) to assist compliance with regulatory requirements. *Note*: changing this setting on a cluster will trigger a rolling restart as soon as the cluster is updated.
6464
RedactClientLogData *bool `json:"redactClientLogData,omitempty"`
6565
// Set this field to configure the replica set scaling mode for your cluster. By default, Atlas scales under WORKLOAD_TYPE. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes. When configured as SEQUENTIAL, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads. When configured as NODE_TYPE, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads.
6666
ReplicaSetScalingStrategy *string `json:"replicaSetScalingStrategy,omitempty"`

docs/docs/ClusterDescription20240805.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
2727
**Name** | Pointer to **string** | Human-readable label that identifies the cluster. | [optional]
2828
**Paused** | Pointer to **bool** | Flag that indicates whether the cluster is paused. | [optional]
2929
**PitEnabled** | Pointer to **bool** | Flag that indicates whether the cluster uses continuous cloud backups. | [optional]
30-
**RedactClientLogData** | Pointer to **bool** | Enable or disable log redaction. | [optional]
30+
**RedactClientLogData** | Pointer to **bool** | Enable or disable log redaction. This setting configures the &#x60;&#x60;mongod&#x60;&#x60; or &#x60;&#x60;mongos&#x60;&#x60; to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. Use &#x60;&#x60;redactClientLogData&#x60;&#x60; in conjunction with Encryption at Rest and TLS/SSL (Transport Encryption) to assist compliance with regulatory requirements. *Note*: changing this setting on a cluster will trigger a rolling restart as soon as the cluster is updated. | [optional]
3131
**ReplicaSetScalingStrategy** | Pointer to **string** | Set this field to configure the replica set scaling mode for your cluster. By default, Atlas scales under WORKLOAD_TYPE. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes. When configured as SEQUENTIAL, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads. When configured as NODE_TYPE, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads. | [optional] [default to "WORKLOAD_TYPE"]
3232
**ReplicationSpecs** | Pointer to [**[]ReplicationSpec20240805**](ReplicationSpec20240805.md) | List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. | [optional]
3333
**RootCertType** | Pointer to **string** | Root Certificate Authority that MongoDB Cloud cluster uses. MongoDB Cloud supports Internet Security Research Group. | [optional] [default to "ISRGROOTX1"]

internal/core/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package core
55
// For more information please see: https://github.com/mongodb/atlas-sdk-go/blob/main/docs/doc_1_concepts.md
66
const (
77
// SDK release tag version.
8-
Version = "v20240805004.6.0"
8+
Version = "v20240805004.7.0"
99
// Resource Version.
1010
Resource = "20240805"
1111
)

openapi/atlas-api-transformed.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ info:
2727
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
2828
title: MongoDB Atlas Administration API
2929
version: "2.0"
30-
x-xgen-sha: 555299096548fddba749a9a882898b89a3580643
30+
x-xgen-sha: ecc67f65d9b5a5199175facaab8a2dc97afe2911
3131
servers:
3232
- url: https://cloud.mongodb.com
3333
tags:
@@ -22375,18 +22375,20 @@ components:
2237522375
url: https://docs.atlas.mongodb.com/backup/cloud-backup/overview/
2237622376
redactClientLogData:
2237722377
type: boolean
22378-
description: Enable or disable log redaction.
22379-
externalDocs:
22380-
description: >-
22381-
This options corresponds to the ``security.redactClientLogData``
22382-
cluster parameter.
22378+
description: >-
22379+
Enable or disable log redaction.
2238322380

2238422381

22385-
This setting configures the ``mongod`` or ``mongos`` to redact any message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs.
22382+
This setting configures the ``mongod`` or ``mongos`` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs.
2238622383

2238722384

22388-
Use ``redactClientLogData`` in conjunction with Encryption at Rest and TLS/SSL (Transport Encryption) to assist compliance with regulatory requirements.
22389-
url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.redactClientLogData
22385+
Use ``redactClientLogData`` in conjunction with Encryption at Rest and TLS/SSL (Transport Encryption) to assist compliance with regulatory requirements.
22386+
22387+
22388+
*Note*: changing this setting on a cluster will trigger a rolling restart as soon as the cluster is updated.
22389+
externalDocs:
22390+
description: Log Redaction
22391+
url: https://www.mongodb.com/docs/manual/administration/monitoring/#log-redaction
2239022392
replicaSetScalingStrategy:
2239122393
type: string
2239222394
default: WORKLOAD_TYPE

openapi/atlas-api.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ info:
2121
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
2222
title: MongoDB Atlas Administration API
2323
version: "2.0"
24-
x-xgen-sha: 555299096548fddba749a9a882898b89a3580643
24+
x-xgen-sha: ecc67f65d9b5a5199175facaab8a2dc97afe2911
2525
servers:
2626
- url: https://cloud.mongodb.com
2727
tags:
@@ -27887,15 +27887,17 @@ components:
2788727887
url: https://docs.atlas.mongodb.com/backup/cloud-backup/overview/
2788827888
redactClientLogData:
2788927889
type: boolean
27890-
description: Enable or disable log redaction.
27891-
externalDocs:
27892-
description: |-
27893-
This options corresponds to the ``security.redactClientLogData`` cluster parameter.
27890+
description: |-
27891+
Enable or disable log redaction.
2789427892

27895-
This setting configures the ``mongod`` or ``mongos`` to redact any message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs.
27893+
This setting configures the ``mongod`` or ``mongos`` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs.
2789627894

27897-
Use ``redactClientLogData`` in conjunction with Encryption at Rest and TLS/SSL (Transport Encryption) to assist compliance with regulatory requirements.
27898-
url: https://www.mongodb.com/docs/manual/reference/parameters/#mongodb-parameter-param.redactClientLogData
27895+
Use ``redactClientLogData`` in conjunction with Encryption at Rest and TLS/SSL (Transport Encryption) to assist compliance with regulatory requirements.
27896+
27897+
*Note*: changing this setting on a cluster will trigger a rolling restart as soon as the cluster is updated.
27898+
externalDocs:
27899+
description: Log Redaction
27900+
url: https://www.mongodb.com/docs/manual/administration/monitoring/#log-redaction
2789927901
replicaSetScalingStrategy:
2790027902
type: string
2790127903
default: WORKLOAD_TYPE

0 commit comments

Comments
 (0)