Skip to content

Commit

Permalink
Merge pull request #11300 from zainasir/fix/security-docs
Browse files Browse the repository at this point in the history
Add documentation for cBioPortal security measures.
  • Loading branch information
zainasir authored Dec 20, 2024
2 parents 8091d79 + c14ecac commit 8aff60d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@
* [Manual test cases](development/manual-test-cases.md)
* [Release Procedure](development/Release-Procedure.md)
* [Deployment Procedure](development/Deployment-Procedure.md)
* [Security](development/Security.md)
* [This documentation site](development/Documentation-site.md)
* [Donate](Donate.md)
29 changes: 29 additions & 0 deletions docs/development/Security.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Security
We are committed to maintaining a secure and reliable platform by integrating proactive vulnerability detection and mitigation strategies into our development and release workflows. Here's how we address security concerns at each stage of our development process.

---
## Vulnerability Detection in Pull Requests
We utilize **SonarCloud** to ensure the integrity and security of our codebase. SonarCloud is configured to automatically analyze all pull requests and merged code. This enables us to:
- Detect security vulnerabilities, bugs, and code smells during the review process.
- Generate detailed reports that identify specific issues, such as potential injections, insecure code patterns, or other security risks.
- Enforce quality gates that prevent merging unsafe code into the main branch.
The results of the analysis are presented as part of the Github pull request checks, allowing contributors and maintainers to address issues early in the development lifecycle.
---

## Container Image Security with Docker Scout
As part of our release process, we integrate **Docker Scout** to ensure the security of container images published to our public DockerHub repository. Key steps include:
- **Automated Scanning:** Every time a Docker image is built and pushed, Docker scout performs an in-depth analysis of all base layers and dependencies.
- **Detailed Reports:** Vulnerabilities are categorized by severity, and actionable remediation steps are provided. This ensures maintainers can quickly patch or replace vulnerable components.
- **Image Maintenance:** We montior and rebuild images when new vulnerabilities are detected in upstream dependencies, ensuring our images remain secure.
Docker Scout is a critical step in the release pipeline, ensuring that the container images used by our users are secure and free from known vulnerabilities.
---

## Continuous Monitoring and Updates
SonarCloud and Docker Scout work seamlessly within our development and release workflows:
- **SonarCloud** safeguards the integrity of the codebase during pull requests and merges.
- **Docker Scout** validates the security of container images as part of our weekly release cycle.
This dual-layered approach ensures that vulnerabilities are addressed both at the source code and container levels, offering comprehensive security coverage for the cBioPortal platform.
---

## Feedback and Contributions
We encourage the community to provide feedback and suggestions to enhance our security processes. If you have any questions or ideas, please contact us or submit an issues on our [Github repository](https://github.com/cBioPortal/cbioportal).

0 comments on commit 8aff60d

Please sign in to comment.