Databricks Connection Method
Focus
Focus
Prisma AIRS

Databricks Connection Method

Table of Contents


Databricks Connection Method

Use Databricks connection method for adding targets.
Databricks connection methods use the Databricks Connect client library for IDEs, the JDBC/ODBC drivers for BI tools like Excel, and, HTTP connections for connecting to external services (for example, IBM's Watsonx). When you use the Databricks connection method you set the authentication method and additional details about the connection.
  1. After specifying Target Details, set the Connection Method to Databricks.
  2. Select Next: Add/Verify Parameters.
  3. In the Add/Verify Parameters page, you'll need to set the authentication mechanism and additional connection details. In the Databricks Authentication Mechanism section, select the Authentication Type (either an Access Token, or a Service Principal):
    1. Select Access Token to authenticate using a personal Databricks access token.
    2. Enter an Access Token.
    3. Alternately, you can use a Service Principal as the Authentication Type for the connection. In this scenario, you'll authenticate using service principals for programmatic access.
    4. For the Service Principal authentication type, specify the Client ID and enter the corresponding Secret.
  4. In the Databricks Connection Details section:
    1. Specify the API Endpoint (for example, www.google.co.in).
    2. Enter a Model Name (for example, gpt-3.5-turbo).
  5. Click Next: Verify & Edit JSON.
  6. In the Verify & Edit JSON page, specify the JSON structure of the request.
  7. Click Next: Advanced Configurations.
    In the Advanced Configurations page you'll configure Rate Limits and set Guardrails/Content Filters.
  8. Enable Rate Limits for applications on the target endpoint.
    1. Specify the Endpoint Rate Limit. This value represents the maximum number of allowed requests per minute for the specified endpoint.
    2. Specify the Endpoint Rate Limit Error Code. This field represents the error code your system uses for rate limiting violations.
    3. Provide a Sample Exception JSON.
  9. Enable Guardrails/Content Filters. These fields are used for output guardrails or content filters applicable on the target endpoint.
    1. Specify the Error code for Guardrails or Content Filters. This field represents the error code your system uses when a response is prevented by filters or safeguards.
    2. Provide a Sample Exception JSON.
  10. Select Add Target.
    Once the target is created you can start a scan, or view previously created targets: