http-errors icon indicating copy to clipboard operation
http-errors copied to clipboard

Add support for OSSF scorecard reporting

Open carpasse opened this issue 1 year ago • 2 comments

Main Changes

This pipeline will proactively report the status of the project (every day and when a push is done to master branch) including critical fields (CI-Tests, Contributors, Dependency-Update-Tool, Webhooks) that are missing while running via OSSF cron jobs.

Context

Changes related

It's also possible that some repositories in your organization are already being automatically tracked by OpenSSF in this CSV file via weekly cronjob. One caveat: Automatically tracked projects do not include https://github.com/ossf/scorecard/issues/3438 in their analysis (CI-Tests,Contributors,Dependency-Update-Tool,Webhooks).

Source: openssf-scorecard-monitor documentation

Team discussion related

Ref: https://github.com/expressjs/security-wg/issues/2 Report: https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/jshttp/http-errors/commit/206aa2c15635dc1212c06c279540972aa90e23ea

Changelog c33f053aa26936cdcfc287d76748acf8da6bf9b6 chore: add scorecard pipeline by @carpasse

carpasse avatar Mar 14 '24 09:03 carpasse

The CI is failing due https://github.com/jshttp/http-errors/issues/108, and it is not related to this PR as the change does not affect the source code or the existing GA pipelines.

I will merge this PR on next Monday, unless there are concerns.

UlisesGascon avatar Mar 14 '24 09:03 UlisesGascon

Not worth blocking on, but is there a reason to use this ad hoc workflow vs the official ossf github action? Does this workflow do different things than the action or is otherwise preferred over the versioned and maintained action?

https://github.com/ossf/scorecard-action

jonchurch avatar Mar 15 '24 06:03 jonchurch

Not worth blocking on, but is there a reason to use this ad hoc workflow vs the official ossf github action? Does this workflow do different things than the action or is otherwise preferred over the versioned and maintained action?

We use the same one (official one), for reference: https://github.com/expressjs/discussions/issues/185#issuecomment-1999178221

UlisesGascon avatar Apr 29 '24 07:04 UlisesGascon