Thank you for your interest in contributing to the Databricks Security Analysis Tool! We welcome contributions from the community, and we accept PRs pursuant to a CLA.
Before you begin:
- Check existing issues: Look through GitHub Issues to see if your bug report or feature request already exists
- Read the documentation: Familiarize yourself with SAT Documentation
- Understand the project structure: Review the codebase organization
security-analysis-tool/
├── src/ # Python SDK source code
│ ├── securityanalysistoolproject/ # Main SAT SDK
│ └── brickhound/ # Permissions & Resources Analysis
├── notebooks/ # Databricks notebooks
│ ├── Setup/ # Installation and configuration
│ ├── Includes/ # Helper modules
│ └── brickhound/ # Permissions & Resources Analysis notebooks
├── app/brickhound/ # Permissions & Resources Analysis web UI
├── terraform/ # Infrastructure as Code SAT Installation
├── dabs/ # Databricks Asset Bundles SAT Installation
├── configs/ # Configuration files
├── dashboards/ # AI/BI dashboard
└── docs/ # Documentation site
- Python 3.8 or higher
- Access to a Databricks workspace (for testing)
- Git
- Clone the repository:
git clone https://github.com/databricks-industry-solutions/security-analysis-tool.git
cd security-analysis-tool- Set up Python environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install SDK in development mode
cd src/securityanalysistoolproject
pip install -e .- Install development dependencies:
pip install pytestWe welcome:
- Bug Fixes - Fix issues in existing code
- New Features - Add new security checks or analysis capabilities
- Documentation - Improve or add documentation
- Testing - Add or improve test coverage
When reporting bugs, please include:
- Clear description of what happened vs. what you expected
- Steps to reproduce the issue
- Environment details (Databricks runtime, cloud provider, SAT version)
- Error messages and stack traces
- Screenshots if applicable
Security vulnerabilities should be reported to bugbounty@databricks.com (see SECURITY.md)
When suggesting features, explain:
- The use case and why it would be useful
- How you envision it working
- Who would benefit from it
Use descriptive branch names:
feature/add-azure-security-checkbugfix/fix-aws-credential-scandocs/update-installation-guide
- Fork the repository and create your branch from
main:
git checkout -b feature/your-feature-name-
Make your changes:
- Write clear, readable code
- Add tests for new functionality
- Update documentation as needed
-
Commit your changes:
git commit -m "Add new Azure security check for Key Vault
- Added check for Key Vault soft delete
- Added unit tests
- Updated documentation"- Push to your fork and open a Pull Request with a clear description
Use clear, descriptive commit messages:
feat: add new featurefix: resolve bugdocs: update documentationtest: add tests
- At least one maintainer must approve the PR
- All tests must pass
- Documentation must be updated if needed
Run tests before submitting:
cd src/securityanalysistoolproject
pytestWhen making changes:
- Update inline documentation (docstrings)
- Update user-facing docs in
docs/sat/docs/if needed - Update README if necessary
- Update CHANGELOG.md
cd docs/sat
npm install
npm startSAT follows Semantic Versioning (SemVer): MAJOR.MINOR.PATCH
- MAJOR: Incompatible API changes
- MINOR: New features (backward-compatible)
- PATCH: Bug fixes (backward-compatible)
See VERSIONING.md for detailed guidelines.
main: Stable production releasesrelease/x.x.x: Release preparation branchesfeature/*: New featuresbugfix/*: Bug fixes
- Follow PEP 8 conventions
- Use meaningful variable and function names
- Add docstrings to public functions
- Handle errors appropriately
- Don't commit sensitive data (credentials, tokens, etc.)
By contributing to this project, you agree to the Contributor License Agreement (CLA). All pull requests require CLA acceptance before merging.
This project is licensed under the Databricks License. See LICENSE for details.
- Documentation: https://databricks-industry-solutions.github.io/security-analysis-tool/
- GitHub Issues: For bug reports and feature requests
- Security Issues: bugbounty@databricks.com
Contributors are recognized in release notes and CHANGELOG.md.
Thank you for contributing to SAT! 🔒