Skip to main content

Azure

Setting Up Terraform​

Unity Catalog Required

SAT requires Unity Catalog. Make sure Unity Catalog is enabled in your Databricks environment before installing SAT.

Note

One SAT app per Databricks account monitors all its workspaces, across subscriptions — a separate per-subscription deployment is no longer needed.

Step 1: Install Required Tools​

  1. Install Terraform.
  2. Install Git on your local machine.

Step 2: Clone the Repository​

Clone the Security Analysis Tool repository using:

git clone https://github.com/databricks-industry-solutions/security-analysis-tool.git

Step 3: Navigate to the Terraform Directory​

Navigate to the relevant cloud directory:

cd security-analysis-tool/terraform/<cloud>/

Step 4: Configure Variables​

  1. Create a terraform.tfvars file using the template.tfvars file as a base.
  2. Refer to the variables.tf for descriptions of the variables.
  3. Set all required variables for your deployment.

Azure-Specific Configuration​

Service Principal Role Requirements:​

Refer to the documentation for workspace_url, workspace_id, and account_console_id

Step 5: Configure Azure CLI Credentials​

  1. Set up Azure CLI credentials for the provider block in provider.tf.
  2. Use the Azure CLI to log in. The CLI will open a web browser for authentication:
az login

Proxies are now supported as part of SAT. You can add your HTTP and HTTPS links to use your proxies.

{
"http": "http://example.com",
"https": "https://example.com"
}

Run Terraform and SAT Workflows​

Step 6: Run Terraform Commands​

  1. Initialize Terraform:
terraform init
  1. Plan Terraform Changes - create a plan to preview changes to your infrastructure:
terraform plan
  1. Apply Terraform Plan - Execute the proposed changes:
terraform apply

Step 7: Open the SAT app and complete setup​

  1. In the workspace, go to Compute → Apps → security-analysis and click Open.
  2. Complete the in-app setup — results catalog/schema, SQL warehouse, and (optionally) an Account ID + service-principal credentials for account-wide data, plus scan scope and compute. See the Usage Guide.
  3. The app provisions and schedules its own collection jobs; run them on demand from the Data Collection page. Results appear in the app — there is no separate dashboard to publish.

Supplemental Documentation​

Account credentials

SAT no longer uses a sat_scope secret scope. Account credentials (for account-wide data) are entered in the app's setup flow and stored as Unity Catalog secrets. Permissions Analysis is built into the app — no separate app to configure.

Congratulations! 🎉 You are now ready to start using the SAT. Please click here for a detailed description on how to run and use it.