Thank you for your interest in contributing to the Open SecDevOps (OSDO) framework! This document provides guidelines and information about contributing.
- Code of Conduct
- How to Contribute
- Development Setup
- Commit Convention
- Pull Request Process
- Security Issues
This project adheres to the Code of Conduct. By participating, you are expected to uphold this code.
- Check existing issues to avoid duplicates
- Use the bug report template
- Include: steps to reproduce, expected behavior, actual behavior, environment details
- Open a discussion first
- Describe the use case and expected behavior
- Wait for community feedback before starting implementation
- Fork the relevant repository
- Create a feature branch from
main:git checkout -b feat/my-feature - Make your changes following our coding standards
- Write tests for new functionality
- Submit a pull request
- Node.js >= 20.0.0 (for CLI)
- PHP >= 8.1 (for App)
- Go >= 1.21 (for Operator)
- Docker (for Scanner)
Each component has its own repository. Clone the one you want to work on:
# CLI development
git clone https://github.com/opensecdevops/osdo-cli.git
cd osdo-cli && npm install && npm run build
# App development
git clone https://github.com/opensecdevops/osdo-app.git
cd osdo-app && composer install && npm install
# Operator development
git clone https://github.com/opensecdevops/osdo-operator.git
cd osdo-operator && go mod downloadWe use Conventional Commits:
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
| Type | Description |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation only |
style |
Code style (formatting, semicolons, etc.) |
refactor |
Code change that neither fixes a bug nor adds a feature |
perf |
Performance improvement |
test |
Adding or correcting tests |
build |
Build system or external dependencies |
ci |
CI configuration |
chore |
Other changes that don't modify src or test |
security |
Security-related changes |
| Scope | Component |
|---|---|
cli |
OSDO CLI |
app |
OSDO App |
actions |
OSDO Actions |
workflows |
OSDO Workflows |
operator |
OSDO Operator |
scanner |
OSDO Scanner |
docs |
Documentation |
infra |
Infrastructure |
feat(cli): add osdo scan --format sarif output
fix(actions): correct exit code for policy violations
docs(workflows): update usage examples for v2
security(scanner): patch CVE-2024-XXXX in base image
- Title: Use conventional commit format
- Description: Fill in the PR template completely
- Tests: All existing tests must pass; add tests for new code
- Documentation: Update relevant docs
- Review: At least 1 maintainer approval required
- CI: All checks must pass (lint, test, security scan)
breaking-change— Requires major version bumpsecurity— Security-related fixneeds-docs— Documentation update requiredgood-first-issue— Suitable for new contributors
Do NOT open public issues for security vulnerabilities.
Please report security issues through GitHub Security Advisories or see SECURITY.md for full details.
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.