Software Supply-Chain Maturity Scoring Rubric
Overview
This rubric provides a standardized framework to assess an organization's software supply-chain maturity by analyzing Software Bill of Materials (SBOMs), attestations (e.g., SLSA provenance, in-toto, Sigstore Cosign), and policies. It converts raw data from these artifacts into actionable, executive-friendly scores for dashboards.
Key Features
- Scoring Scale: 0–100 overall score (0–20: Critical, 21–40: High Risk, 41–60: Moderate, 61–80: Good, 81–100: Excellent).
- Maturity Levels: Mapped to SLSA-inspired tiers (Level 0: None, Level 1: Opportunistic, Level 2: Basic, Level 3: Composable, Level 4: Service).
- Dashboard Integration:
| Score Range | Color | Icon | Maturity Level |
|---|
| 0–40 | 🔴 Red | ⚠️ | 0–1 |
| 41–60 | 🟡 Yellow | ⚡ | 2 |
| 61–80 | 🟢 Green | ✅ | 3 |
| 81–100 | 🟢 Dark Green | 🏆 | 4 |
- Inputs: Automated parsing of SBOMs (CycloneDX/SPDX), attestation metadata (DSSE envelopes), and policy documents (e.g., YAML/JSON configs, Git repos).
- Aggregation: Weighted average (SBOM: 40%, Attestations: 40%, Policies: 20%).
- Frequency: Score refreshed per build/release cycle or daily for repos.
Scoring Categories
Each category has sub-metrics scored 0–100, with criteria and evidence from inputs.
1. SBOM Completeness & Quality (Weight: 40%)
Assesses if SBOMs are generated, accurate, and actionable.
| Metric | Criteria & Scoring | Evidence from SBOM | Max Score |
|---|
| Coverage | % of releases/binaries with SBOM. | Count SBOMs vs. artifacts. | 30 |
| 0%: 025%: 1050%: 1575%: 25100%: 30 | | |
| Completeness | Components, deps, licenses, PURLs, hashes present? | Parse for required fields (e.g., CycloneDX bomFormat=1.4+). | 30 |
| Missing >20%: 010–20%: 15<5%: 25VEX included: +5 | | |
| Freshness & Quality | Age <24h? Machine-readable? No duplicates? | Timestamp vs. build time; validation via tools (e.g., syft, cyclonedx-cli). | 40 |
| >7d old: 01–7d: 20<24h: 30Automated/validated: +10 | | |
Category Score = Weighted average (Coverage: 30%, Completeness: 30%, Freshness: 40%).
2. Attestation Coverage & Veracity (Weight: 40%)
Evaluates trust in build provenance and integrity.
| Metric | Criteria & Scoring | Evidence from Attestations | Max Score |
|---|
| Coverage | % of artifacts with attestations (provenance, intent, etc.). | DSSE bundle count vs. artifacts. | 40 |
| 0%: 025%: 1550%: 2575%: 35100%: 40 | | |
| Types & Strength | Includes SLSA ≥Level 2 (source, build, deps reproducible)? | Predicate types (e.g., in-toto SLSA-Provenance v0.2+). | 30 |
| Basic signing only: 10Provenance: 20Reproducible build: 25Full SLSA L3+: 30 | | |
| Verification | Signatures valid? Keys rotated? Revocation checks? | Sigstore/ Cosign verification; key metadata. | 30 |
| 0% valid: 050–80%: 1590–99%: 25100% + key policy: 30 | | |
Category Score = Weighted average (Coverage: 40%, Types: 30%, Verification: 30%).
3. Policy Compliance & Enforcement (Weight: 20%)
Measures defined rules and automation.
| Metric | Criteria & Scoring | Evidence from Policies | Max Score |
|---|
| Existence | Policies for SBOM gen, signing, vuln scanning? | Repo scan for policy files (e.g., .github/workflows, policy-as-code YAML). | 50 |
| None: 0Basic docs: 20Full (SBOM+attest+scan): 40SLSA/SSDF aligned: 50 | | |
| Enforcement | Gated by CI/CD? Audits? Exceptions tracked? | GitHub Actions/OPA Gatekeeper logs; pass/fail rates. | 50 |
| Manual: 0CI checks (80% pass): 25Hard gates (95%): 40Automated remediation: 50 | | |
Category Score = 50/50 split.
Overall Score Calculation
Overall Score = (SBOM Score × 0.4) + (Attestations Score × 0.4) + (Policies Score × 0.2)
- Trend Line: Dashboard shows score delta over time (e.g., +10 pts/month).
- Breakdown Visualization: Pie chart (categories), heat map (sub-metrics), drill-down to artifacts.
- Recommendations (Auto-generated):
| Score | Actions |
|---|
| <40 | Mandate SBOM/attestations in CI; train teams. |
| 41–60 | Automate gates; add SLSA L2. |
| 61–80 | Integrate VEX/SBOM vuln mgmt; policy audits. |
| 81+ | Benchmark vs. peers; pursue SLSA L4. |
Implementation Notes for Dashboards
- Tools: Use Syft/Grype for SBOM, Sigstore Rekor for attestations, OPA/ Kyverno for policies.
- API Endpoint:
/maturity-score?repo=org/repo → JSON with scores, visuals.
- Threshold Alerts: Slack/Email if score drops >10 pts.
- Benchmarking: Compare to industry (e.g., CNCF benchmarks: median 55/100).
This rubric is extensible—add weights or metrics as needed. For customization, provide sample SBOM/attestation data.