Installation
-
Unity Catalog: SAT stores its results in a Unity Catalog schema — you choose the catalog and schema name during the app's in-app setup.
-
Deployment Requirements
- One SAT app per Databricks account monitors every workspace in that account — on AWS, Azure, and GCP. On Azure this is per Databricks account, not per subscription (a separate per-subscription deployment is no longer needed). A different Databricks account needs its own SAT app.
- For account-wide data, give a service principal the Account admin role (you enter its credentials in the app's setup). For resource-level findings and secret scanning in a workspace, add the app's service principal as a workspace admin on that workspace, then run Data Collection → Manage → Sync workspaces in the app to pick it up; to exclude a workspace, remove the service principal (or don't add it) and sync again.
-
Networking and Access Considerations
SAT's collection jobs run as the app's service principal and reach the Databricks account API and each monitored workspace's REST API over the network. The usual constraint is reachability, not the tool itself:
- Workspace IP access lists — to collect a workspace's resource-level findings, the SAT job compute must be able to reach that workspace's API. If the workspace has IP access lists, allow the SAT compute's egress; otherwise that workspace is skipped and recorded as unreachable (collection of the other workspaces continues).
- Account-level IP access lists — the account-wide collectors call the account console API. If account-level IP access lists are in force and SAT runs on serverless (whose egress is not a fixed workspace IP), ask your account team about allowlisting access to the account-level APIs.
- Serverless egress controls / network-isolated workspaces — if the SAT workspace's serverless egress is restricted, or a target workspace is otherwise network-isolated, SAT can't collect that workspace remotely. Leave the app's collection scope on the current workspace (the default) and deploy a SAT app inside each such workspace to analyze it locally. Multi-workspace collection from serverless otherwise relies on serverless cross-workspace access (a preview — ask your account team to enable it); unreachable workspaces fail soft and are recorded rather than failing the run.
-
Review and Compliance
Before implementing any security improvements based on the SAT report:
- Review the report with business stakeholders, administrators, security teams, and auditors.
- Not every finding requires action — evaluate it against your organizational security requirements.
- Some recommendations may have cost implications or dependency limitations.
- Refer to individual feature documentation to fully understand the impact before making changes to your security configurations.
- Keep in mind that SAT is a productivity tool designed to help verify the security configurations of your Databricks deployments. It is not intended to serve as a certification or formal attestation of your deployment's security posture.
Follow this guide to setup the Security Analysis Tool (SAT) on your Databricks workspace(s).
Prerequisites
SAT is especially beneficial to customers on Databricks Premium or Enterprise tiers, where Unity Catalog and the richer access controls SAT analyzes are available.
Before proceeding with the installation, make sure you have the following prerequisites:
- Python 3.9 or higher (to run the installer locally)
- Databricks CLI installed with a logged-in profile (See here.)
- A Databricks SQL warehouse (the app uses it to run analysis queries and alerts; the installer can create one)
- (Optional, for account-wide data) a Databricks Account ID and a service principal with the Account admin role — you enter these in the app's setup, not at install time
- PyPI access on the machine running the installer (to install the installer's Python dependencies)
SAT can be set up on any of the cloud platforms where Databricks is hosted. Please follow the setup guide specific to your cloud provider:
SAT can be deployed using Terraform. If your organization uses Terraform, it is recommended to follow the Terraform-based deployment instructions:
Prefer not to use install.sh, Terraform, or the Databricks CLI? You can deploy the app from the Databricks UI:
- Get the code into the workspace — add the SAT repo as a Git folder (Repos → Add repo, paste the GitHub URL), or download the repo ZIP from GitHub and upload the
app/security-analysis-tool/folder to a workspace folder. - Create the app — Compute → Apps → Create app, name it
security-analysis, and point its source at theapp/security-analysis-toolfolder from step 1. That folder already contains everything the app needs, including the bundled collection notebooks and SAT SDK (inassets_data.pyandlib/). - Add the app's resources — in the app's Edit screen, bind a SQL warehouse resource (CAN USE), and under User authorization add the
sqlandgeniescopes. (install.shand Terraform set these automatically; a manual install sets them here.) - Deploy the app, then Open it and complete the in-app setup (catalog/schema, SQL warehouse, and optionally account credentials). The app provisions its own collection jobs from there — no notebooks to import by hand.
The automated paths (install.sh, Terraform) do exactly these steps for you; this is the same result done manually.
Uninstalling SAT
SAT stores its results in the Unity Catalog schema you chose during setup. To remove them, drop that schema (replace with your catalog/schema):
drop schema `<catalog>`.`<schema>` cascade;
Standard Setup
- Delete the security-analysis app (Compute → Apps).
- Delete the SAT-provisioned collection jobs (they are tagged Application: SAT — e.g. SAT Initializer, SAT Permissions Analysis - Data Collection, the account-report jobs, and SAT Secrets Scanner).
- Delete the /Workspace/Applications/SAT folder.
Terraform Setup
- Run the terraform destroy command (then remove any jobs the app provisioned, as above).