Thank you for your interest in contributing to the Zero Trust Architecture Demo! This project demonstrates modern zero-trust security principles with AI-powered natural language to SQL conversion.
- Docker and Docker Compose
- Node.js 18+ (for local development)
- Python 3.8+ (for backend services)
- Ollama (for AI text-to-SQL functionality)
-
Clone the repository
git clone https://github.com/your-username/agentic-auth-zerotrust.git cd agentic-auth-zerotrust -
Set up Ollama (required for AI features)
./scripts/setup-ollama.sh
-
Start the application
./scripts/deploy.sh
-
Access the demo
- Frontend: http://localhost:3000
- Keycloak: http://localhost:8080
├── agent/ # API Gateway service
├── data-generator/ # AI-powered data generation
├── frontend/ # React frontend application
├── keycloak/ # Keycloak configuration
├── logger/ # Audit logging service
├── mcp-server/ # Model Context Protocol server
├── middleware/ # Business logic and AI integration
├── policies/ # OPA Rego policies
└── db/ # Database initialization scripts
-
Start infrastructure services
docker-compose up -d postgres_us postgres_eu postgres_sbx opa auth-service
-
Start application services
docker-compose up -d middleware agent mcp-server logger
-
Start frontend (development mode)
cd frontend npm install npm run dev
Run the test suite:
./scripts/test-all-scenarios.sh- JavaScript/React: Use ESLint and Prettier configurations
- Python: Follow PEP 8 style guidelines
- SQL: Use consistent formatting and naming conventions
Use conventional commit format:
type(scope): description
feat(auth): add JWT token validation
fix(ui): resolve logout button issue
docs(readme): update installation instructions
Types: feat, fix, docs, style, refactor, test, chore
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Make your changes
- Add tests (if applicable)
- Update documentation (if needed)
- Commit your changes
git commit -m "feat: add amazing feature" - Push to your fork
git push origin feature/amazing-feature
- Open a Pull Request
When reporting issues, please include:
- Description: Clear description of the issue
- Steps to reproduce: Detailed steps to reproduce the problem
- Expected behavior: What you expected to happen
- Actual behavior: What actually happened
- Environment: OS, browser, Docker version, etc.
- Screenshots: If applicable
For feature requests, please:
- Check existing issues first
- Describe the feature clearly
- Explain the use case and benefits
- Consider implementation complexity
Please do not report security vulnerabilities through public GitHub issues.
Instead, please email security@offlyn.ai with:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fixes (if any)
- Never commit secrets, API keys, or passwords
- Use environment variables for configuration
- Follow secure coding practices
- Validate all inputs
- Use HTTPS in production
- README updates: Update relevant sections
- API documentation: Update OpenAPI specs
- Code comments: Add clear, concise comments
- Architecture docs: Update system diagrams
- Use clear, concise language
- Include code examples
- Add screenshots for UI changes
- Keep documentation up to date
- GitHub Discussions: For questions and general discussion
- Issues: For bug reports and feature requests
- Email: hi@offlyn.ai for general inquiries
This project follows the Contributor Covenant Code of Conduct. By participating, you agree to uphold this code.
Contributors will be recognized in:
- README.md contributors section
- Release notes
- Project documentation
Thank you for contributing to the Zero Trust Architecture Demo! 🚀