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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ using Terraform Bytebase Provider to prepare those instances ready for applicati
17
17
18
18
-[Go](https://golang.org/doc/install) (1.19 or later)
19
19
-[Terraform](https://developer.hashicorp.com/terraform/downloads?product_intent=terraform) (1.3.5 or later)
20
-
-[Bytebase](https://github.com/bytebase/bytebase) (3.10.0 or later)
20
+
-[Bytebase](https://github.com/bytebase/bytebase) (3.11.1 or later)
21
21
22
22
> If you have problems running `terraform` in MacOS with Apple Silicon, you can following https://stackoverflow.com/questions/66281882/how-can-i-get-terraform-init-to-run-on-my-apple-silicon-macbook-pro-for-the-go and use the `tfenv`.
Copy file name to clipboardExpand all lines: docs/data-sources/policy.md
+2-13Lines changed: 2 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ The policy data source.
23
23
### Optional
24
24
25
25
-`data_source_query_policy` (Block List, Max: 1) Restrict querying admin data sources (see [below for nested schema](#nestedblock--data_source_query_policy))
26
-
-`disable_copy_data_policy` (Block List, Max: 1) Restrict data copying in SQL Editor (Admins/DBAs allowed) (see [below for nested schema](#nestedblock--disable_copy_data_policy))
27
26
-`global_masking_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--global_masking_policy))
28
27
-`masking_exception_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--masking_exception_policy))
29
28
-`query_data_policy` (Block List, Max: 1) The policy for query data (see [below for nested schema](#nestedblock--query_data_policy))
@@ -46,14 +45,6 @@ Optional:
46
45
-`restriction` (String) RESTRICTION_UNSPECIFIED means no restriction; FALLBACK will allows to query admin data sources when there is no read-only data source; DISALLOW will always disallow to query admin data sources.
47
46
48
47
49
-
<aid="nestedblock--disable_copy_data_policy"></a>
50
-
### Nested Schema for `disable_copy_data_policy`
51
-
52
-
Required:
53
-
54
-
-`enable` (Boolean) Restrict data copying
55
-
56
-
57
48
<aid="nestedblock--global_masking_policy"></a>
58
49
### Nested Schema for `global_masking_policy`
59
50
@@ -106,12 +97,10 @@ Optional:
106
97
<aid="nestedblock--query_data_policy"></a>
107
98
### Nested Schema for `query_data_policy`
108
99
109
-
Required:
110
-
111
-
-`disable_export` (Boolean) Disable export data in the SQL editor
112
-
113
100
Optional:
114
101
102
+
-`disable_copy_data` (Boolean) Disable copying data in the SQL editor
103
+
-`disable_export` (Boolean) Disable export data in the SQL editor
115
104
-`maximum_result_rows` (Number) The return rows limit. If the value <= 0, will be treated as no limit. The default value is -1.
116
105
-`maximum_result_size` (Number) The size limit in bytes. The default value is 100MB, we will use the default value if the limit <= 0.
117
106
-`timeout_in_seconds` (Number) The maximum time allowed for a query to run in SQL Editor. No limit when the value <= 0
Copy file name to clipboardExpand all lines: docs/resources/policy.md
+2-13Lines changed: 2 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ The policy resource.
23
23
### Optional
24
24
25
25
-`data_source_query_policy` (Block List, Max: 1) Restrict querying admin data sources (see [below for nested schema](#nestedblock--data_source_query_policy))
26
-
-`disable_copy_data_policy` (Block List, Max: 1) Restrict data copying in SQL Editor (Admins/DBAs allowed) (see [below for nested schema](#nestedblock--disable_copy_data_policy))
27
26
-`enforce` (Boolean) Decide if the policy is enforced.
28
27
-`global_masking_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--global_masking_policy))
29
28
-`inherit_from_parent` (Boolean) Decide if the policy should inherit from the parent.
@@ -46,14 +45,6 @@ Optional:
46
45
-`restriction` (String) RESTRICTION_UNSPECIFIED means no restriction; FALLBACK will allows to query admin data sources when there is no read-only data source; DISALLOW will always disallow to query admin data sources.
47
46
48
47
49
-
<aid="nestedblock--disable_copy_data_policy"></a>
50
-
### Nested Schema for `disable_copy_data_policy`
51
-
52
-
Required:
53
-
54
-
-`enable` (Boolean) Restrict data copying
55
-
56
-
57
48
<aid="nestedblock--global_masking_policy"></a>
58
49
### Nested Schema for `global_masking_policy`
59
50
@@ -106,12 +97,10 @@ Optional:
106
97
<aid="nestedblock--query_data_policy"></a>
107
98
### Nested Schema for `query_data_policy`
108
99
109
-
Required:
110
-
111
-
-`disable_export` (Boolean) Disable export data in the SQL editor
112
-
113
100
Optional:
114
101
102
+
-`disable_copy_data` (Boolean) Disable copying data in the SQL editor
103
+
-`disable_export` (Boolean) Disable export data in the SQL editor
115
104
-`maximum_result_rows` (Number) The return rows limit. If the value <= 0, will be treated as no limit. The default value is -1.
116
105
-`maximum_result_size` (Number) The size limit in bytes. The default value is 100MB, we will use the default value if the limit <= 0.
117
106
-`timeout_in_seconds` (Number) The maximum time allowed for a query to run in SQL Editor. No limit when the value <= 0
Copy file name to clipboardExpand all lines: docs/resources/risk.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The risk resource. Require ENTERPRISE subscription. Check the docs https://www.b
18
18
### Required
19
19
20
20
-`condition` (String) The risk condition. Check the proto message https://github.com/bytebase/bytebase/blob/main/proto/v1/v1/risk_service.proto#L210 for details.
21
-
-`level` (Number) The risk level, should be 300, 200 or 100. Higher number means higher level.
21
+
-`level` (String) The risk level. Check https://github.com/bytebase/bytebase/blob/fd87c6bfe8a0d4883f25eb480a3b05ed3c2e1727/proto/v1/v1/common.proto#L93 for details
22
22
-`source` (String) The risk source. Check https://github.com/bytebase/bytebase/blob/main/proto/v1/v1/risk_service.proto#L138 for details
0 commit comments