Databricks Policies
Create Databricks Policy
To create a Databricks policy in Privacera Portal, use the following steps:
-
Login to Privacera Portal.
-
On the Privacera home page, expand the Settings menu and click on Databricks Policies from left menu.
-
Click the +Create Policy.
-
Click Save.
The policy is created successfully.
Important
By default, Admin groups will have permission to all the policies. If you haven't configured Databricks properties in Privacera Portal properties file then you will get the below error.
-
The Token should be generated from a user who is an Admin.
-
Additional JSON that can be used to create policy.
{ "autoscale.min_workers": { "type": "range", "minValue": 1, "hidden": false }, "autoscale.max_workers": { "type": "range", "maxValue": 2 }, "cluster_name": { "type": "fixed", "value": "secured" }, "spark_version": { "type": "regex", "pattern": "5.5.x-scala2.11" }, "spark_conf.spark.hadoop.hadoop.security.credential.provider.path": { "type": "fixed", "value": "jceks://dbfs@/${JCEKS_FILE_PATH}", "hidden": true }, "spark_conf.spark.databricks.delta.formatCheck.enabled": { "type": "fixed", "value": "false", "hidden": true }, "spark_conf.spark.databricks.delta.preview.enabled": { "type": "fixed", "value": "true", "hidden": true }, "node_type_id": { "type": "regex", "pattern": "m4.*" }, "autotermination_minutes": { "type": "unlimited", "defaultValue": 50 } }
To know more about Databricks Policy, refer Privacera Platform Installation: Databricks Policy Management Guide