Data Policy configuration
Download JSON Schema
Example
apiVersion: leapview.dev/v1
kind: DataPolicy
metadata:
name: example
spec:
expression: {}
object:
type: workspace
policyType: row_filter
Fields
| Field |
Type |
Required |
Rules |
apiVersion |
APIVersion |
Yes |
|
kind |
DataPolicy |
Yes |
|
metadata |
Metadata |
Yes |
|
spec |
object |
Yes |
no additional fields |
Nested definitions
APIVersion
| Field |
Type |
Required |
Rules |
AnyObject
| Field |
Type |
Required |
Rules |
DataPolicySubject
| Field |
Type |
Required |
Rules |
displayName |
string |
No |
|
email |
string |
No |
|
group |
ResourceID |
No |
|
kind |
object |
Yes |
one of principal, group, service_principal, dashboard_publication |
principalId |
ResourceID |
No |
|
publication |
ResourceID |
No |
|
| Field |
Type |
Required |
Rules |
description |
string |
No |
|
name |
ResourceID |
Yes |
|
owner |
string |
No |
|
tags |
array of string |
No |
|
title |
string |
No |
|
workspace |
ResourceID |
No |
|
ResourceID
| Field |
Type |
Required |
Rules |
SecurableObjectRef
| Field |
Type |
Required |
Rules |
id |
string |
No |
|
type |
object |
Yes |
one of workspace, dashboard, semantic_model, source, model_table, dataset, table, column |