FOSS Package Management¶
Administrator guide for managing the FOSS package ecosystem.
Overview¶
The FOSS ecosystem provides vetted open-source packages with:
- Security scanning
- License compliance
- Approval workflows
- Internal mirrors
Package Lifecycle¶
1. Submission¶
Users submit via CLI:
2. Automated Security Scan¶
Runs automatically:
3. License Review¶
Check against approved licenses:
4. Manual Review¶
- Review security scan results
- Check license compatibility
- Verify package authenticity
- Test functionality
5. Approval/Rejection¶
Security Policies¶
Edit packages/organization/foss-packages/security/policies.yml:
vulnerability_thresholds:
critical: 0 # Block if any critical
high: 2 # Block if >2 high
medium: 10
low: 50
scan_tools:
- trivy
- grype
- osv-scanner
License Management¶
Approved licenses in licenses/approved-licenses.yml:
approved_licenses:
- MIT
- Apache-2.0
- BSD-3-Clause
conditional_licenses:
- GPL-3.0 # Requires review
prohibited_licenses:
- AGPL-3.0
Internal Mirrors¶
Sync packages to internal mirrors:
Configures:
- PyPI mirror
- NPM registry
- Maven repository
- Docker registry
Monitoring¶
- Daily security scans
- License compliance checks
- Mirror synchronization
- Usage metrics