Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update comment (#15710)

p0ny785745f47d24
diff --git a/frontend/src/types/proto/v1/idp_service.ts b/frontend/src/types/proto/v1/idp_service.ts
index c4625e0366..e344e9e9f1 100644
--- a/frontend/src/types/proto/v1/idp_service.ts
+++ b/frontend/src/types/proto/v1/idp_service.ts
@@ -312,8 +312,7 @@ export interface LDAPIdentityProviderConfig {
userFilter: string;
/**
* SecurityProtocol is the security protocol to be used for establishing
- * connections with the LDAP server. It should be either StartTLS or LDAPS, and
- * cannot be empty.
+ * connections with the LDAP server. It must be StartTLS, LDAPS or None.
*/
securityProtocol: string;
/**
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index dcc27ea8e6..3d5bf2c253 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -10395,8 +10395,7 @@ components:
type: string
description: |-
SecurityProtocol is the security protocol to be used for establishing
- connections with the LDAP server. It should be either StartTLS or LDAPS, and
- cannot be empty.
+ connections with the LDAP server. It must be StartTLS, LDAPS or None.
fieldMapping:
allOf:
- $ref: '#/components/schemas/FieldMapping'
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index a312b07dc5..bb96851381 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -6763,7 +6763,7 @@ LDAPIdentityProviderConfig is the structure for LDAP identity provider config.
| bind_password | [string](#string) | | BindPassword is the password of the user to bind as a service account. |
| base_dn | [string](#string) | | BaseDN is the base DN to search for users, e.g. "ou=users,dc=example,dc=com". |
| user_filter | [string](#string) | | UserFilter is the filter to search for users, e.g. "(uid=%s)". |
-| security_protocol | [string](#string) | | SecurityProtocol is the security protocol to be used for establishing connections with the LDAP server. It should be either StartTLS or LDAPS, and cannot be empty. |
+| security_protocol | [string](#string) | | SecurityProtocol is the security protocol to be used for establishing connections with the LDAP server. It must be StartTLS, LDAPS or None. |
| field_mapping | [FieldMapping](#bytebase-v1-FieldMapping) | | FieldMapping is the mapping of the user attributes returned by the LDAP server. |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 505c2dea6e..7b4eed073f 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -18958,8 +18958,7 @@ search requests. </p></td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>SecurityProtocol is the security protocol to be used for establishing
-connections with the LDAP server. It should be either StartTLS or LDAPS, and
-cannot be empty. </p></td>
+connections with the LDAP server. It must be StartTLS, LDAPS or None. </p></td>
</tr>
<tr>
diff --git a/proto/generated-go/v1/idp_service.pb.go b/proto/generated-go/v1/idp_service.pb.go
index dad6303526..ea961bbe5f 100644
--- a/proto/generated-go/v1/idp_service.pb.go
+++ b/proto/generated-go/v1/idp_service.pb.go
@@ -1092,8 +1092,7 @@ type LDAPIdentityProviderConfig struct {
// UserFilter is the filter to search for users, e.g. "(uid=%s)".
UserFilter string `protobuf:"bytes,7,opt,name=user_filter,json=userFilter,proto3" json:"user_filter,omitempty"`
// SecurityProtocol is the security protocol to be used for establishing
- // connections with the LDAP server. It should be either StartTLS or LDAPS, and
- // cannot be empty.
+ // connections with the LDAP server. It must be StartTLS, LDAPS or None.
SecurityProtocol string `protobuf:"bytes,8,opt,name=security_protocol,json=securityProtocol,proto3" json:"security_protocol,omitempty"`
// FieldMapping is the mapping of the user attributes returned by the LDAP
// server.
diff --git a/proto/v1/idp_service.proto b/proto/v1/idp_service.proto
index adc714e532..b4f6ad8145 100644
--- a/proto/v1/idp_service.proto
+++ b/proto/v1/idp_service.proto
@@ -277,8 +277,7 @@ message LDAPIdentityProviderConfig {
// UserFilter is the filter to search for users, e.g. "(uid=%s)".
string user_filter = 7;
// SecurityProtocol is the security protocol to be used for establishing
- // connections with the LDAP server. It should be either StartTLS or LDAPS, and
- // cannot be empty.
+ // connections with the LDAP server. It must be StartTLS, LDAPS or None.
string security_protocol = 8;
// FieldMapping is the mapping of the user attributes returned by the LDAP
// server.