Skip to content

docs: align the project docs with the OpenSSF passing criteria - #1742

Merged
mbrandenburger merged 1 commit into
hyperledger-labs:mainfrom
mbrandenburger:pr1-docs-openssf
Sep 7, 2026
Merged

mbrandenburger merged 1 commit into
hyperledger-labs:mainfrom
mbrandenburger:pr1-docs-openssf

Conversation

@mbrandenburger

Copy link
Copy Markdown
Member

Closes the documentation gaps found auditing FSC against the OpenSSF Best Practices passing criteria. Four changes, all docs-only, all in the same few files:

  • SECURITY.md rewritten. It was generic Hyperledger boilerplate — retired wiki link, email only, and no mention that GitHub private vulnerability reporting is already enabled here. It now covers supported releases, both private channels, what a report should contain, a 14-day acknowledgement commitment, how advisories are published, and scope.
  • Test policy written down (docs/dev/workflow.md#tests), referenced from CONTRIBUTING.md and docs/agents/testing.md. This was the audit's one outright MUST failure: we already follow the practice, nothing stated it.
  • Go API linked from the README, the docs index, and a badge — it is our main external interface and was linked from nowhere.
  • Two dead badges fixed: Go Report Card is retired (its badge now renders go report: retired), and the tests badge linked to workflows/go.yml, which does not exist.

Part of #1741

How it was verified

No code changes, so nothing to test. Checked by hand: every anchor target exists (#versioning, #disclaimer-and-license, #tests, #running-tests), pkg.go.dev serves the module at v0.20.0, and the new external links resolve — including the LFDT Defect Response page that the old wiki URL redirects to, which is where the security@lists.hyperledger.org address comes from.

@mbrandenburger mbrandenburger added this to the 26Q3 milestone Sep 7, 2026
@mbrandenburger mbrandenburger self-assigned this Sep 7, 2026
@mbrandenburger mbrandenburger added the documentation Improvements or additions to documentation label Sep 7, 2026
@github-actions

github-actions Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Hey @mbrandenburger 👋 thanks for the PR!
I'm your friendly PR Helper Bot 🤖 and I'll be riding shotgun on this one, keeping track of your PR's status to help you get it approved and merged.

This comment updates automatically as you push changes -- think of it as your PR's live scoreboard!
Here's the latest:


PR Checks

✅ DCO Sign-off -- All commits have valid sign-offs. Nice work!


❌ GPG Signature -- Heads up! The following commits don't have a verified GPG signature:

  • a9aa4e5 docs: align the project docs with the OpenSSF passing criteria

You'll need to sign your commits with GPG (e.g. git commit -S). See the Signing Guide for a step-by-step walkthrough.


✅ Merge Conflicts -- No merge conflicts detected. Smooth sailing!


❌ Issue Link -- This PR is not linked to any issue.

Please reference an issue using a closing keyword (e.g. Fixes #123) and ensure the issue is assigned to you. Every PR needs a home!


⏳ All checks must pass before this PR can be reviewed. You've got this!

@github-actions github-actions Bot added the status: needs revision The pull request requires changes from the author before it can be reviewed or merged label Sep 7, 2026

@adecaro adecaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mergify

mergify Bot commented Sep 7, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@mbrandenburger
mbrandenburger enabled auto-merge (squash) September 7, 2026 10:49
An audit against the OpenSSF Best Practices passing criteria
(bestpractices.dev/en/criteria/0) turned up documentation gaps that all
sit in the same few files.

SECURITY.md was generic Hyperledger boilerplate: it named the retired
wiki, offered only an email address, and never mentioned that GitHub
private vulnerability reporting is enabled here. It now states which
releases are supported, both private channels with GitHub advisories
preferred, what a report should contain, the 14-day acknowledgement
commitment, how a fix and advisory get published, and what is in scope
for a framework that is not audited.

The criteria also require a stated policy that new functionality
arrives with tests. The practice is already followed and CI reports
coverage per PR, but nothing wrote it down, so it is now a section in
the contribution workflow, referenced from the contributor checklist
and the agent testing guide.

The Go API is the project's main external interface and was linked from
nowhere; the README, the docs index, and a badge now point at
pkg.go.dev. While in the badge block: Go Report Card has been retired
and its badge renders "go report: retired", so it is gone, and the tests
badge linked to workflows/go.yml, which does not exist -- it now points
at the tests.yml workflow whose status it was already showing.

Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>
@mbrandenburger
mbrandenburger merged commit 08d4382 into hyperledger-labs:main Sep 7, 2026
5 checks passed
@mbrandenburger
mbrandenburger deleted the pr1-docs-openssf branch September 7, 2026 10:49
@mbrandenburger mbrandenburger mentioned this pull request Sep 7, 2026
10 of 12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation status: needs revision The pull request requires changes from the author before it can be reviewed or merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants