You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/setting.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,11 @@ The setting data source.
17
17
18
18
### Required
19
19
20
-
-`name` (String) The setting name in settings/{name} format. The name support "WORKSPACE_APPROVAL", "WORKSPACE_PROFILE", "DATA_CLASSIFICATION", "SEMANTIC_TYPES", "ENVIRONMENT", "PASSWORD_RESTRICTION", "SQL_RESULT_SIZE_LIMIT". Check the proto https://github.com/bytebase/bytebase/blob/main/proto/v1/v1/setting_service.proto#L109 for details
20
+
-`name` (String) The setting name in settings/{name} format. The name support "WORKSPACE_APPROVAL", "WORKSPACE_PROFILE", "DATA_CLASSIFICATION", "SEMANTIC_TYPES", "ENVIRONMENT". Check the proto https://github.com/bytebase/bytebase/blob/main/proto/v1/v1/setting_service.proto#L109 for details
21
21
22
22
### Optional
23
23
24
24
-`classification` (Block List, Max: 1) Classification for data masking. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--classification))
25
-
-`password_restriction` (Block List, Max: 1) Restrict for login password (see [below for nested schema](#nestedblock--password_restriction))
26
25
-`semantic_types` (Block Set) Semantic types for data masking. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--semantic_types))
27
26
-`workspace_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--workspace_profile))
28
27
@@ -42,10 +41,6 @@ Required:
42
41
-`levels` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--classification--levels))
43
42
-`title` (String) The classification title. Optional.
44
43
45
-
Optional:
46
-
47
-
-`classification_from_config` (Boolean) If true, we will only store the classification in the config. Otherwise we will get the classification from table/column comment, and write back to the schema metadata.
### Nested Schema for `classification.classifications`
51
46
@@ -74,20 +69,6 @@ Optional:
74
69
75
70
76
71
77
-
<aid="nestedblock--password_restriction"></a>
78
-
### Nested Schema for `password_restriction`
79
-
80
-
Optional:
81
-
82
-
-`min_length` (Number) min_length is the minimum length for password, should no less than 8.
83
-
-`password_rotation_in_seconds` (Number) password_rotation requires users to reset their password after the duration. The duration should be at least 86400 (one day).
84
-
-`require_letter` (Boolean) require_letter requires the password must contains at least one letter, regardless of upper case or lower case.
85
-
-`require_number` (Boolean) require_number requires the password must contains at least one number.
86
-
-`require_reset_password_for_first_login` (Boolean) require_reset_password_for_first_login requires users to reset their password after the 1st login.
87
-
-`require_special_character` (Boolean) require_special_character requires the password must contains at least one special character.
88
-
-`require_uppercase_letter` (Boolean) require_uppercase_letter requires the password must contains at least one upper case letter.
89
-
90
-
91
72
<aid="nestedblock--semantic_types"></a>
92
73
### Nested Schema for `semantic_types`
93
74
@@ -164,6 +145,7 @@ Required:
164
145
Optional:
165
146
166
147
-`announcement` (Block List, Max: 1) Custom announcement. Will show as a banner in the Bytebase UI. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--workspace_profile--announcement))
148
+
-`branding_logo` (String) The branding logo as a data URI (e.g. data:image/png;base64,...).
167
149
-`database_change_mode` (String) The workspace database change mode, support EDITOR or PIPELINE. Default PIPELINE
-`disallow_signup` (Boolean) Disallow self-service signup, users can only be invited by the owner. Require PRO subscription.
@@ -172,7 +154,9 @@ Optional:
172
154
-`enforce_identity_domain` (Boolean) Only user and group from the domains can be created and login.
173
155
-`external_url` (String) The URL user visits Bytebase. The external URL is used for: 1. Constructing the correct callback URL when configuring the VCS provider. The callback URL points to the frontend; 2. Creating the correct webhook endpoint when configuring the project GitOps workflow. The webhook endpoint points to the backend.
174
156
-`maximum_role_expiration_in_seconds` (Number) The max duration in seconds for role expired. If the value is less than or equal to 0, we will remove the setting. AKA no limit.
157
+
-`password_restriction` (Block List, Max: 1) Password restriction settings. (see [below for nested schema](#nestedblock--workspace_profile--password_restriction))
175
158
-`token_duration_in_seconds` (Number) The duration for login token in seconds. The duration should be at least 3600 (one hour).
159
+
-`watermark` (Boolean) Whether to display watermark on pages. Requires ENTERPRISE license.
### Nested Schema for `workspace_profile.password_restriction`
173
+
174
+
Optional:
175
+
176
+
-`min_length` (Number) min_length is the minimum length for password, should be no less than 8.
177
+
-`password_rotation_in_seconds` (Number) password_rotation requires users to reset their password after the duration. The duration should be at least 86400 (one day).
178
+
-`require_letter` (Boolean) require_letter requires the password must contain at least one letter, regardless of upper case or lower case.
179
+
-`require_number` (Boolean) require_number requires the password must contain at least one number.
180
+
-`require_reset_password_for_first_login` (Boolean) require_reset_password_for_first_login requires users to reset their password after the 1st login.
181
+
-`require_special_character` (Boolean) require_special_character requires the password must contain at least one special character.
182
+
-`require_uppercase_letter` (Boolean) require_uppercase_letter requires the password must contain at least one upper case letter.
Copy file name to clipboardExpand all lines: docs/resources/review_config.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,28 @@ Required:
41
41
42
42
Optional:
43
43
44
-
-`comment` (String) The comment for the rule.
45
-
-`payload` (String) The payload is a JSON string that varies by rule type. Check https://github.com/bytebase/bytebase/blob/main/proto/v1/v1/SQL_REVIEW_RULES_DOCUMENTATION.md#payload-structure-types for all details
44
+
-`comment_convention_payload` (Block List, Max: 1) Comment convention payload for rules: COLUMN_COMMENT, TABLE_COMMENT. (see [below for nested schema](#nestedblock--rules--comment_convention_payload))
45
+
-`naming_case_payload` (Boolean) Naming case payload for rule: NAMING_IDENTIFIER_CASE. Set to true for UPPER case, false for LOWER case.
46
+
-`naming_payload` (Block List, Max: 1) Naming payload for rules: NAMING_TABLE, NAMING_COLUMN, NAMING_COLUMN_AUTO_INCREMENT, NAMING_INDEX_FK, NAMING_INDEX_IDX, NAMING_INDEX_UK, NAMING_INDEX_PK, TABLE_DROP_NAMING_CONVENTION. (see [below for nested schema](#nestedblock--rules--naming_payload))
Copy file name to clipboardExpand all lines: docs/resources/setting.md
+18-20Lines changed: 18 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,13 @@ The setting resource.
17
17
18
18
### Required
19
19
20
-
-`name` (String) The setting name in settings/{name} format. The name support "WORKSPACE_APPROVAL", "WORKSPACE_PROFILE", "DATA_CLASSIFICATION", "SEMANTIC_TYPES", "ENVIRONMENT", "PASSWORD_RESTRICTION", "SQL_RESULT_SIZE_LIMIT". Check the proto https://github.com/bytebase/bytebase/blob/main/proto/v1/v1/setting_service.proto#L109 for details
20
+
-`name` (String) The setting name in settings/{name} format. The name support "WORKSPACE_APPROVAL", "WORKSPACE_PROFILE", "DATA_CLASSIFICATION", "SEMANTIC_TYPES", "ENVIRONMENT". Check the proto https://github.com/bytebase/bytebase/blob/main/proto/v1/v1/setting_service.proto#L109 for details
21
21
22
22
### Optional
23
23
24
24
-`approval_flow` (Block List) Configure risk level and approval flow for different tasks. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--approval_flow))
25
25
-`classification` (Block List, Max: 1) Classification for data masking. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--classification))
26
26
-`environment_setting` (Block List) The environment (see [below for nested schema](#nestedblock--environment_setting))
27
-
-`password_restriction` (Block List, Max: 1) Restrict for login password (see [below for nested schema](#nestedblock--password_restriction))
28
27
-`semantic_types` (Block Set) Semantic types for data masking. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--semantic_types))
29
28
-`workspace_profile` (Block List, Max: 1) (see [below for nested schema](#nestedblock--workspace_profile))
30
29
@@ -73,10 +72,6 @@ Required:
73
72
-`levels` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--classification--levels))
74
73
-`title` (String) The classification title. Optional.
75
74
76
-
Optional:
77
-
78
-
-`classification_from_config` (Boolean) If true, we will only store the classification in the config. Otherwise we will get the classification from table/column comment, and write back to the schema metadata.
### Nested Schema for `classification.classifications`
82
77
@@ -131,20 +126,6 @@ Read-Only:
131
126
132
127
133
128
134
-
<aid="nestedblock--password_restriction"></a>
135
-
### Nested Schema for `password_restriction`
136
-
137
-
Optional:
138
-
139
-
-`min_length` (Number) min_length is the minimum length for password, should no less than 8.
140
-
-`password_rotation_in_seconds` (Number) password_rotation requires users to reset their password after the duration. The duration should be at least 86400 (one day).
141
-
-`require_letter` (Boolean) require_letter requires the password must contains at least one letter, regardless of upper case or lower case.
142
-
-`require_number` (Boolean) require_number requires the password must contains at least one number.
143
-
-`require_reset_password_for_first_login` (Boolean) require_reset_password_for_first_login requires users to reset their password after the 1st login.
144
-
-`require_special_character` (Boolean) require_special_character requires the password must contains at least one special character.
145
-
-`require_uppercase_letter` (Boolean) require_uppercase_letter requires the password must contains at least one upper case letter.
146
-
147
-
148
129
<aid="nestedblock--semantic_types"></a>
149
130
### Nested Schema for `semantic_types`
150
131
@@ -221,6 +202,7 @@ Required:
221
202
Optional:
222
203
223
204
-`announcement` (Block List, Max: 1) Custom announcement. Will show as a banner in the Bytebase UI. Require ENTERPRISE subscription. (see [below for nested schema](#nestedblock--workspace_profile--announcement))
205
+
-`branding_logo` (String) The branding logo as a data URI (e.g. data:image/png;base64,...).
224
206
-`database_change_mode` (String) The workspace database change mode, support EDITOR or PIPELINE. Default PIPELINE
-`disallow_signup` (Boolean) Disallow self-service signup, users can only be invited by the owner. Require PRO subscription.
@@ -229,7 +211,9 @@ Optional:
229
211
-`enforce_identity_domain` (Boolean) Only user and group from the domains can be created and login.
230
212
-`external_url` (String) The URL user visits Bytebase. The external URL is used for: 1. Constructing the correct callback URL when configuring the VCS provider. The callback URL points to the frontend; 2. Creating the correct webhook endpoint when configuring the project GitOps workflow. The webhook endpoint points to the backend.
231
213
-`maximum_role_expiration_in_seconds` (Number) The max duration in seconds for role expired. If the value is less than or equal to 0, we will remove the setting. AKA no limit.
214
+
-`password_restriction` (Block List, Max: 1) Password restriction settings. (see [below for nested schema](#nestedblock--workspace_profile--password_restriction))
232
215
-`token_duration_in_seconds` (Number) The duration for login token in seconds. The duration should be at least 3600 (one hour).
216
+
-`watermark` (Boolean) Whether to display watermark on pages. Requires ENTERPRISE license.
### Nested Schema for `workspace_profile.password_restriction`
230
+
231
+
Optional:
232
+
233
+
-`min_length` (Number) min_length is the minimum length for password, should be no less than 8.
234
+
-`password_rotation_in_seconds` (Number) password_rotation requires users to reset their password after the duration. The duration should be at least 86400 (one day).
235
+
-`require_letter` (Boolean) require_letter requires the password must contain at least one letter, regardless of upper case or lower case.
236
+
-`require_number` (Boolean) require_number requires the password must contain at least one number.
237
+
-`require_reset_password_for_first_login` (Boolean) require_reset_password_for_first_login requires users to reset their password after the 1st login.
238
+
-`require_special_character` (Boolean) require_special_character requires the password must contain at least one special character.
239
+
-`require_uppercase_letter` (Boolean) require_uppercase_letter requires the password must contain at least one upper case letter.
0 commit comments