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
This updates the Terraform provider to use the new protobuf schema
and API changes for masking exemption policies.
Changes:
- Update protobuf dependencies to fb04b193baa94bd0aaca101006b5c9d7
- Rename MASKING_EXCEPTION to MASKING_EXEMPTION throughout
- Update API from single Member+Action to Members array model
- Remove deprecated actions field completely
- Simplify flatten/convert logic to work directly with Members array
- Rename all "exception" references to "exemption" in masking context
- Update examples, tutorials, and tests to use new API
Breaking changes:
- masking_exception_policy renamed to masking_exemption_policy
- exceptions field renamed to exemptions
- actions field removed (no longer supported in API)
- API now uses Members array instead of individual Member+Action pairs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/data-sources/policy.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ The policy data source.
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
26
-`global_masking_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--global_masking_policy))
27
-
-`masking_exception_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--masking_exception_policy))
27
+
-`masking_exemption_policy` (Block List, Max: 1) (see [below for nested schema](#nestedblock--masking_exemption_policy))
28
28
-`query_data_policy` (Block List, Max: 1) The policy for query data (see [below for nested schema](#nestedblock--query_data_policy))
29
29
-`rollout_policy` (Block List, Max: 1) Control issue rollout. Learn more: https://docs.bytebase.com/administration/environment-policy/rollout-policy (see [below for nested schema](#nestedblock--rollout_policy))
30
30
@@ -67,15 +67,15 @@ Optional:
67
67
68
68
69
69
70
-
<aid="nestedblock--masking_exception_policy"></a>
71
-
### Nested Schema for `masking_exception_policy`
70
+
<aid="nestedblock--masking_exemption_policy"></a>
71
+
### Nested Schema for `masking_exemption_policy`
72
72
73
73
Optional:
74
74
75
-
-`exceptions` (Block Set) (see [below for nested schema](#nestedblock--masking_exception_policy--exceptions))
75
+
-`exemptions` (Block Set) (see [below for nested schema](#nestedblock--masking_exemption_policy--exemptions))
### Nested Schema for `masking_exemption_policy.exemptions`
79
79
80
80
Required:
81
81
@@ -87,7 +87,7 @@ Optional:
87
87
-`columns` (Set of String)
88
88
-`database` (String) The database full name in instances/{instance resource id}/databases/{database name} format
89
89
-`expire_timestamp` (String) The expiration timestamp in YYYY-MM-DDThh:mm:ss.000Z format
90
-
-`raw_expression` (String) The raw CEL expression. We will use it as the masking exception and ignore the "database"/"schema"/"table"/"columns"/"expire_timestamp" fields if you provide the raw expression.
90
+
-`raw_expression` (String) The raw CEL expression. We will use it as the masking exemption and ignore the "database"/"schema"/"table"/"columns"/"expire_timestamp" fields if you provide the raw expression.
91
91
-`reason` (String) The reason for the masking exemption
### Nested Schema for `masking_exemption_policy.exemptions`
79
79
80
80
Required:
81
81
@@ -87,7 +87,7 @@ Optional:
87
87
-`columns` (Set of String)
88
88
-`database` (String) The database full name in instances/{instance resource id}/databases/{database name} format
89
89
-`expire_timestamp` (String) The expiration timestamp in YYYY-MM-DDThh:mm:ss.000Z format
90
-
-`raw_expression` (String) The raw CEL expression. We will use it as the masking exception and ignore the "database"/"schema"/"table"/"columns"/"expire_timestamp" fields if you provide the raw expression.
90
+
-`raw_expression` (String) The raw CEL expression. We will use it as the masking exemption and ignore the "database"/"schema"/"table"/"columns"/"expire_timestamp" fields if you provide the raw expression.
91
91
-`reason` (String) The reason for the masking exemption
Description: `The raw CEL expression. We will use it as the masking exception and ignore the "database"/"schema"/"table"/"columns"/"expire_timestamp" fields if you provide the raw expression.`,
153
+
Description: `The raw CEL expression. We will use it as the masking exemption and ignore the "database"/"schema"/"table"/"columns"/"expire_timestamp" fields if you provide the raw expression.`,
0 commit comments