Skip to content

docs: add a security policy - #175

Merged
uniqueg merged 1 commit into
devfrom
docs/security-policy
Oct 22, 2026
Merged

uniqueg merged 1 commit into
devfrom
docs/security-policy

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Closes #170

  • SECURITY.md (shown by GitHub under "Security policy"), following the maintainer's decision on docs: add a security policy #170: private reports through GitHub private vulnerability reporting (link to the repository's "Report a vulnerability" form) or by email to [email protected], never in public issues, pull requests or discussions; what to include; supported versions (fixes on dev, released in the latest minor version; older ones only for critical issues, at the maintainers' discretion); acknowledgement, assessment, private fix, coordinated disclosure through a GitHub security advisory (CVE where appropriate), credit on request, best effort without guaranteed times; scope (this repository's code, images and chart; not third-party deployments).
  • CONTRIBUTING.md and the Contributing docs page link to it.
  • FOCA gets the same wording, with its names and artifacts (docs: add a security policy foca#410).

Light lane: documentation only (no code, CI, secrets or permissions), so the reviewer subagents and the Sourcery wait are skipped.

Verification

  • editorconfig-checker on the changed files: clean.
  • CI: all checks pass (including the strict docs build).

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Establish a clear security policy for reporting and handling vulnerabilities in Cloud Registry.

Documentation:

  • Add a repository security policy documenting private vulnerability reporting, supported versions, response and disclosure practices, and policy scope.
  • Link the security policy from the contributor documentation and contribution guide.

Add SECURITY.md: private reporting through GitHub private
vulnerability reporting or by email, what to include, supported
versions, best-effort handling with coordinated disclosure through
GitHub security advisories, and scope. Link it from the contributing
guide and page; FOCA gets the same wording.

Closes #170

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This documentation-only change adds GitHub’s security-policy entry point with private reporting channels, reporting requirements, supported versions, handling and disclosure expectations, and scope, then surfaces it from both contributor guides.

Flow diagram for private vulnerability reporting

flowchart LR
    Reporter[Reporter] --> Channel{Private reporting channel}
    Channel --> GitHub[GitHub private vulnerability reporting]
    Channel --> Email["[email protected]"]
    GitHub --> Maintainers[Maintainers acknowledge and assess]
    Email --> Maintainers
    Maintainers --> Fix[Develop fix in private]
    Fix --> Advisory[Publish GitHub security advisory]
    Advisory --> Disclosure[Coordinate disclosure and credit on request]
Loading

File-Level Changes

Change Details Files
Add a repository security policy defining private vulnerability reporting and the project’s response process.
  • Document GitHub private reporting and email channels, required report details, supported-version policy, response expectations, disclosure, credit, and scope.
  • Clarify that public issues, pull requests, and discussions must not be used for vulnerability reports.
SECURITY.md
Link contributors to the new security policy from project contribution guidance.
  • Add security-reporting guidance to the repository contribution file.
  • Add a link to the policy from the contributor documentation page.
CONTRIBUTING.md
docs/contributing.md

Assessment against linked issues

Issue Objective Addressed Explanation
#170 Add a root-level security policy covering private reporting, report details, supported versions, response and disclosure expectations, reporter credit, and scope. ✅
#170 Link to the security policy from the contributing documentation. ✅
#170 Enable GitHub private vulnerability reporting for the repository and align the wording with the other ELIXIR On-Cloud repositories. ❌ The diff provides a link to GitHub's private reporting form but does not enable the repository setting, which requires an admin change. The PR body mentions matching wording in FOCA, but that change is not shown in this PR's diff.

Possibly linked issues

  • docs: add a security policy #170: The PR adds the requested SECURITY.md and documentation links; its supported-version wording is a minor variation, not a separate issue.

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (670702b) to head (7c4cb83).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #175   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          737       737           
=========================================
  Hits           737       737           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review October 22, 2026 20:53

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit 19c461b into dev Oct 22, 2026
15 checks passed
@uniqueg
uniqueg deleted the docs/security-policy branch October 22, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add a security policy

1 participant