Skip to content

Add OpenSSF Scorecard security analysis workflow - #407

Draft
corydolphin wants to merge 1 commit into
mainfrom
claude/fervent-bohr-09sfe
Draft

Add OpenSSF Scorecard security analysis workflow#407
corydolphin wants to merge 1 commit into
mainfrom
claude/fervent-bohr-09sfe

Conversation

@corydolphin

Copy link
Copy Markdown
Owner

Summary

This PR adds OpenSSF Scorecard integration to the repository for continuous supply-chain security monitoring and analysis.

Key Changes

  • Added GitHub Actions workflow (.github/workflows/scorecard.yml):

    • Runs Scorecard analysis on push to main branch and weekly on Tuesdays
    • Uploads results to GitHub's code scanning dashboard
    • Publishes results to OpenSSF REST API for public visibility
    • Stores SARIF artifacts for 5 days
    • Uses pinned action versions for security
  • Updated README.rst:

    • Added OpenSSF Scorecard badge to the status badges section
    • Badge links to the project's Scorecard report on scorecard.dev

Implementation Details

  • Workflow uses minimal permissions (read-only by default) with specific elevated permissions only for necessary steps
  • Scorecard action configured to output SARIF format for integration with GitHub's code scanning
  • Results are published to OpenSSF's public API, allowing the repository to display the Scorecard badge
  • All GitHub Actions use specific commit SHAs for reproducibility and security

https://claude.ai/code/session_01XyjhGhe5sfV6BQKgjC3SiQ

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.

2 participants