Skip to main content

Repository Health (OSSF Scorecard)

Continuously track health scores for all repositories included in your applications based on key factors, such as code quality, dependency management, CI/CD best practices, and project maintenance.

Key Features

  • Continuous Repo Health Scoring – Continuously track health scores for all repositories included in your applications based on key factors, in areas such as code quality, dependency management, CI/CD best practices, and project maintenance. 

  • Automatic SCM-Triggered Scans – Integration with SCM platforms enables scans to be run automatically upon repository updates, ensuring up-to-date repo health metrics with no manual effort. 

  • Flexible On-Demand Scanning Options – In addition to automatic SCM-triggered scans, developers and security teams can manually run repo health scans at any time via API, CLI, or the Checkmarx One UI. 

  • Unified Risk Reporting – Repository health scores are included in Checkmarx One reports, providing visibility into – and efficient prioritization of – security vulnerabilities, code quality issues, and repository health risks, all in one place.

Prerequisites

  • Your source code must be hosted on a GitHub Cloud repo.

  • You need to have a personal access token for the GitHub repo with the required permissions, see below.

You can use either of the two types of GitHub tokens: "Personal access token (classic)" or "Fine grained personal access token". The required permissions for each type of token are shown below.

For "Personal access token (classic)" you need to select the "repo" scope.

mandatory-to-login-classic.jpg

For "Fine grained personal access token" you need read-only access for Commit statuses, Contents, Issues and Metadata.

all.png

Repository Health Checks

The SCS scanner identifies risks based on the following Repository Health checks.

Running Scans

Repository Health scans (OSSF Scorecard) can be run on your Checkmarx One projects via web application, CLI or REST API. It is also possible to set up a code repository integration that automatically triggers a scan whenever a pull request or push event occurs in the SCM. Learn more about running scans here.