Thank you for your interest in contributing to Sentinel! This document provides guidelines for contributing.
We are committed to providing a welcoming and inclusive environment for all contributors.
- Be respectful and professional
- Focus on constructive feedback
- Accept responsibility for mistakes
- Prioritize security and safety
- Check existing issues first
- Use the bug report template
- Include reproduction steps
- Provide system information
- Check existing feature requests
- Explain the use case clearly
- Consider security implications
- Propose implementation approach
- Fork the repository
- Create a feature branch
- Write tests for new code
- Follow coding standards
- Submit a pull request
# Clone repository
git clone https://github.com/yourusername/sentinel.git
cd sentinel
# Build project
mvn clean package
# Run tests
mvn test
# Start test lab
docker-compose up -d- Use Java 17 features
- Follow standard Java naming conventions
- Maximum line length: 120 characters
- Use meaningful variable names
- JavaDoc for all public APIs
- Comments for complex logic
- Update README for new features
- Include usage examples
- Unit tests for all new code
- Integration tests for features
- Maintain >80% code coverage
- Test edge cases
All plugins must:
- Be non-destructive
- Not exploit vulnerabilities
- Classify safety level accurately
- Handle errors gracefully
- Implements ScannerPlugin interface
- Includes comprehensive tests
- Documents detection logic
- Provides remediation guidance
- Minimizes false positives
- Update documentation
- Add/update tests
- Run full test suite
- Check code style
- Update CHANGELOG
## Description
Brief description of changes
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation
## Testing
How was this tested?
## Checklist
- [ ] Tests pass
- [ ] Documentation updated
- [ ] Code style followed
- [ ] No security issues- Automated checks must pass
- At least one maintainer approval
- No unresolved discussions
- Documentation complete
DO NOT open public issues for security vulnerabilities.
Email: security@sentinel-scanner.org
Include:
- Description of vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Never commit credentials
- Validate all inputs
- Use parameterized queries
- Follow OWASP guidelines
- Implement rate limiting
By contributing, you agree that your contributions will be licensed under the MIT License.
- GitHub Discussions
- Issue Tracker
- Email: dev@sentinel-scanner.org
Contributors will be recognized in:
- CONTRIBUTORS.md
- Release notes
- Project documentation
Thank you for contributing to Sentinel!