Contributing¶
We welcome contributions to ClosedSSPM! Whether you are fixing a bug, adding a new platform connector, or improving documentation, your help is appreciated.
Contribution Guidelines¶
To ensure a smooth contribution process, please follow these steps:
- Open an Issue: Before starting work on a significant change, please open an issue to discuss your proposal with the maintainers. This helps avoid duplicate work and ensures the change aligns with the project's goals.
- Fork and Branch: Fork the repository and create a new branch from
mainfor your changes. - Follow Existing Patterns: Maintain the architectural style of the project. If you are adding a new connector, use the existing ones as a template.
- Add Tests: All new features and bug fixes must include corresponding tests.
- CI Checks: Ensure that all continuous integration checks pass, including:
- Unit tests
go vet- CodeQL analysis
- Trivy vulnerability scans
- One PR Per Change: Keep your pull requests focused on a single logical change. This makes it easier to review and merge your contribution.
Testing Your Changes¶
Before submitting your pull request, run the following commands to verify your changes:
- Run all unit tests: Or using the Go CLI:
- Run static analysis: Or using the Go CLI:
Reporting Issues¶
If you find a bug or have a feature request, please use the GitHub Issues page. When reporting an issue, include as much information as possible:
- The version of ClosedSSPM you are using.
- Your operating system.
- Clear steps to reproduce the issue.
- What you expected to happen vs. what actually happened.
- Any relevant error messages or output.
Note
If you discover a security vulnerability, please follow the process outlined on our Security page.
License¶
By contributing to ClosedSSPM, you agree that your contributions will be licensed under its Apache 2.0 License.