Skip to main content

AWS Installation

This guide will walk you through setting up the Security Analysis Tool (SAT) on AWS Databricks.

Unity Catalog Required

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

AWS GovCloud & DoD Support

SAT supports AWS GovCloud (FedRAMP) and AWS DoD IL5 — it resolves the correct account-console host for each (accounts.cloud.databricks.us for GovCloud, accounts-dod.cloud.databricks.mil for DoD). On GovCloud/DoD, use classic compute for cross-workspace collection.

Best for Premium & Enterprise Tiers

SAT is especially beneficial to customers on Databricks Premium or Enterprise tiers, where Unity Catalog and the richer access controls SAT analyzes are available.

Prerequisites​

Before you begin, ensure you have:

  • ✅ Reviewed the general prerequisites
  • ✅ Appropriate permissions in your Databricks Account Console
  • ✅ A metastore attached to your installation workspace
  • ✅ Databricks CLI installed and configured
  • ✅ Python 3.9 or higher (3.9–3.12, for running the local installer)

Step 1: Create Service Principal​

The Service Principal allows SAT to authenticate with your Databricks workspaces and collect security information.

Follow these steps in the Databricks Account Console:

  1. Navigate to the Account Console
  2. Click on User management in the left sidebar
  3. Select Service Principal → Add service principal
  4. Enter a name for the service principal (e.g., "SAT-Service-Principal")
  5. Grant the Account Admin role
  6. Assign the Workspace Admin role for each workspace to be monitored
  7. Add to the Metastore Admin group or role
  8. Create a new OAuth Secret
  9. Save the Secret and Client ID (you'll need these later)
  10. Add the Service Principal to each workspace you want to analyze
Service Principal Setup

Required Permissions:


Step 2: Run Installation​

Credentials Required

Have these ready for the app's in-app setup (you enter them in the app after install, not during install.sh):

  • 🔑 Databricks Account ID
  • 🔑 Databricks Service Principal ID (Client ID from Step 1)
  • 🔑 Databricks Service Principal Secret (from Step 1)

Installation Steps​

Run these commands on your workstation or a VM with internet access and Databricks workspace connectivity:

1. Clone the SAT repository:

git clone https://github.com/databricks-industry-solutions/security-analysis-tool.git
cd security-analysis-tool
Databricks CLI Required

Make sure the target workspace has a profile configured in the Databricks CLI.

2. Make the installation script executable and run it:

chmod +x install.sh
./install.sh
Proxy Support

Proxies are supported! You can add your HTTP and HTTPS proxy values during the install.sh script when prompted.

3. Follow the interactive prompts:

The installation script will guide you through the setup process. Here's what it looks like:

Installation Process

Finish setup in the app

After install.sh deploys the app, open it (Compute → Apps → security-analysis) and complete the in-app setup — results catalog/schema, SQL warehouse, and (optionally) account credentials for account-wide data. Permissions Analysis is built into the app; there is no separate app to configure.

Deploying the app — choose the source folder

install.sh uploads the app code to /Workspace/Applications/SAT/files/app/security-analysis-tool and deploys it for you. If you ever deploy or redeploy from the Databricks Apps UI (Compute → Apps → security-analysis → Deploy), you must select that folder as the app's source code path. From the CLI the equivalent is databricks apps deploy security-analysis --source-code-path /Workspace/Applications/SAT/files/app/security-analysis-tool.

Scanning multiple workspaces

To cover more than the workspace SAT is installed in, add the SAT service principal as a workspace admin on each workspace you want scanned, then in the app open Data Collection → Manage, set Compute & scope to Multiple workspaces (switching to Multiple runs a workspace sync for you), and confirm the panel's "Will scan: N workspaces" count. Use Manage → Sync workspaces any time you later add or remove the service principal as an admin. See the usage guide for the full workflow.

Congratulations! 🎉 You've successfully installed SAT on AWS Databricks.

Installation Complete

SAT is now ready to analyze your Databricks workspaces. Click here for a detailed guide on how to run and use it.


Need Help?​

If you encounter problems during installation:

Common Issues:

  • ✓ Double-check your credentials are correct
  • ✓ Verify you have the required permissions in your Databricks environment
  • ✓ Ensure the Service Principal has been added to all workspaces
  • ✓ Confirm the metastore is attached to your workspace

Resources:

  • Review our FAQ page for common questions
  • Use the in-app requirements check (Settings → Re-run setup) to verify your setup
  • Check the troubleshooting guide for specific errors

Still need help? Contact us at sat@databricks.com