Contact Us 1-800-596-4880

Adding a Scanner for Databricks Agent Bricks

Add a scanner to discover, import, and sync agents from Databricks Agent Bricks into Exchange. Then you can govern the agents and consume them in other applications.

Before You Begin

Before adding the scanner, verify that you have these:

  • Exchange Administrator permission

  • Databricks Workspace access

  • Workspace URL

  • Databricks Client ID

  • Databricks Client secret

  • Service Principal requires CAN_QUERY permission on each serving endpoint to enable full discovery and invocation.

    Use the Databricks Permissions API:

    PATCH /api/2.0/permissions/serving-endpoints/{endpoint_id}
    {
      "access_control_list": [
        {
          "service_principal_name": "<clientId>",
          "permission_level": "CAN_QUERY"
        }
      ]
    }
    API Endpoint Required Permission

    GET /api/2.0/serving-endpoints

    CAN_VIEW or higher

    GET /api/2.0/serving-endpoints/{name}

    CAN_VIEW or higher

    GET /api/2.0/serving-endpoints/{name}/openapi

    CAN_VIEW or higher

    POST /serving-endpoints/{name}/invocations

    CAN_QUERY or higher

Add a Scanner for Databricks Agent Bricks

  1. Verify that you are in the business group where you want to add the scanner.

  2. From the sidebar in Exchange, click Scanners.

  3. Enter a name for the scanner.

  4. From Scanner Run Configuration, complete these fields or options:

    Field/Option Value

    Run Schedule

    Select a frequency and time.

    Sync Review

    Select an option: Auto-resolve or Ask to review.

  5. From Connection Configuration, complete these fields:

    Field Value

    Provider

    Select Databricks.

    Platform

    Select Agent Bricks.

    Service Type

    Select Agents selected by default.

    Authentication Method

    OAuth selected by default.

    Workspace URL

    Enter the workspace URL.

    Client ID

    Enter the client ID.

    Client Secret

    Enter the client secret.

  6. Click Test Connection.

    If the connection fails, review the Connection Configuration settings. Update the settings, and then test the connection again.

  7. To send email notifications:

    1. Select Advanced Settings and turn on Send Email Notifications.

    2. Enter an email address.

  8. Click Add Scanner.