Skip to content

docs: add a security policy - #410

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

Resolves #401 (merged into dev, so the issue is closed by hand).

  • SECURITY.md (shown by GitHub under "Security policy"), following the maintainer's decision on docs: add a security policy #401 and worded as in Cloud Registry (docs: add a security policy cloud-registry#175), with FOCA's names and artifacts: 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, the PyPI package, images and the Helm library chart; not third-party apps or deployments).
  • CONTRIBUTING.md and the Contributing docs page link to it.

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

Verification

  • mkdocs build --strict (Python 3.13, .[docs]): builds without warnings.
  • editorconfig-checker on the changed files: clean.
  • CI: all checks pass.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Establish a security policy and direct contributors to private vulnerability reporting channels.

New Features:

  • Add a repository security policy covering private vulnerability reporting, supported versions, response handling, and scope.

Documentation:

  • Link the security policy from the contributor guidelines and documentation site.

Add SECURITY.md, worded as in Cloud Registry: 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.

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 SECURITY.md with FOCA’s vulnerability reporting channels, scope, supported-version policy, and disclosure process, then links to it from both contributor guides. The PR was validated with a strict MkDocs build, EditorConfig checks, and passing CI.

Sequence diagram for private vulnerability reporting

sequenceDiagram
    actor Reporter
    participant Maintainers
    participant GitHub
    participant Email

    Reporter->>GitHub: Report a vulnerability
    Reporter->>Email: Send vulnerability report
    Maintainers->>Maintainers: Assess report
    Maintainers->>Maintainers: Develop fix in private
    Maintainers->>GitHub: Publish security advisory
    GitHub-->>Reporter: Coordinated disclosure and credit on request
Loading

File-Level Changes

Change Details Files
Add a repository security policy describing private vulnerability reporting, support expectations, response workflow, and coverage.
  • Document GitHub private reporting and security email channels, required report details, and prohibition on public disclosure.
  • Define supported-version handling, best-effort response expectations, coordinated disclosure, and reporter credit.
  • Clarify that repository code and published artifacts are in scope, while third-party deployments and dependencies are generally out of scope.
SECURITY.md
Make the security policy discoverable from contributor guidance.
  • Link the policy from the root contribution guidelines.
  • Add a link and private-reporting reminder to the documentation contribution page.
CONTRIBUTING.md
docs/contributing.md

Possibly linked issues

  • #unknown: The PR implements the requested SECURITY.md policy and adds links from both contributing guides; repository admin settings are outside the diff.

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 (edf57c8) to head (bb22c14).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #410   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        27           
  Lines         2510      2510           
=========================================
  Hits          2510      2510           
Flag Coverage Δ
test_unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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:57

@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 0417848 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.

1 participant