Skip to content

Manage Access Audits

The Databricks SQL connector provides access auditing capabilities to help organizations track user activity, ensure compliance, and enhance security monitoring.

Audit Configuration

  • Audit Enable: Enables audit logs for the Databricks SQL. Set this property to true to enable audit logging.
  • Audit Excluded Users: Comma-separated list of users to exclude from audits (e.g.,user1@gmail.com).
  • Audit Initial Pull Minutes: Specifies the number of minutes of audit data to retrieve during the initial sync when auditing is first enabled. The default is 30 minutes.

Setup

Warning

  • Replace the example values with your actual values.
  1. SSH to the instance where Privacera Manager is installed.

  2. Run the following command to open the .yml file to be edited.

    If you have multiple connectors, then replace instance1 with the appropriate connector instance name.

    Bash
    vi ~/privacera/privacera-manager/config/custom-vars/connectors/databricks-sql-analytics/instance1/vars.connector.databricks.sql.analytics.yml
    
  3. Add or update the following properties to enable access audits:

    YAML
    1
    2
    3
    CONNECTOR_DATABRICKS_SQL_ANALYTICS_AUDIT_ENABLE: "true"
    CONNECTOR_DATABRICKS_SQL_ANALYTICS_AUDIT_EXCLUDED_USERS: "user1@gmail.com"
    CONNECTOR_DATABRICKS_SQL_ANALYTICS_AUDIT_INITIAL_PULL_MINUTES: "40"
    

  4. Once the properties are configured, run the following commands to update your Privacera Manager platform instance:

    Step 1 - Setup which generates the helm charts. This step usually takes few minutes.

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh setup
    
    Step 2 - Apply the Privacera Manager helm charts.
    Bash
    cd ~/privacera/privacera-manager
    ./pm_with_helm.sh upgrade
    
    Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh post-install
    
  1. In PrivaceraCloud portal, navigate to SettingsApplications.

  2. On the Connected Applications screen, select Databricks SQL.

  3. Click on the icon or the Account Name to modify the settings.

  4. On the Edit Application screen, go to Access Management.

  5. Under BASIC tab, enable Enable access audits with the toggle.

  6. Under ADVANCED tab, enter the following values:

    • Users to exclude when fetching access audits: user1@gmail.com
  7. Enter the following properties under Add New Custom Properties:

    Bash
    ranger.policysync.connector.0.audit.init.starttime.offset.minutes=40
    

  8. Click SAVE to apply the changes.

Comments