← Back to Pull requests

docs: clarify OIDC claims and certificate SAN mapping #2550

Merged
LF3551 merged 1 files (10 lines) on Nov 30, 2026 19:32 UTC
View on GitHub
LF3551 LF3551 commented on Nov 30, 2026 11:51 UTC
Author

Summary

Closes #1851.

Clarifies that the certificate SAN is derived from OIDC claims according to the provider implementation or configuration, and does not necessarily match sub. Includes email and GitHub Actions examples, links to the provider-specific mappings, and explains that verification policies should use the SAN from the issued certificate.

Validation: git diff --check; local Markdown link target checked; go test ./pkg/identity/email ./pkg/identity/github ./pkg/identity/spiffe ./pkg/identity/ciprovider passed. No code changes.

Release Note

NONE

Documentation

Updated docs/how-certificate-issuing-works.md.

Diff: 10 lines (+8 / -2) across 1 files Reviewer: Hayden-IO Review duration: 461m
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.17) × (1 − Review Confidence (0.71)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.17 · 10 lines diff across 1 files
0.17
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 1 substantive comment(s)
0.56
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
70%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.143
Real PR Conversation Timeline
3 items
Hayden-IO Hayden-IO approved these changes on Nov 30, 2026 19:29 UTC
Approved Reviewer

Approved these changes.

codecov[bot] codecov[bot] commented on Nov 30, 2026 19:33 UTC
Bot

Codecov Report


:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 53.91%. Comparing base (cf238ac) to head (8892453).
:warning: Report is 729 commits behind head on main.

<details><summary>Additional details and impacted files</summary>

@@            Coverage Diff             @@
##             main    #2550      +/-   ##
==========================================
- Coverage   57.93%   53.91%   -4.02%     
==========================================
  Files          50       73      +23     
  Lines        3119     4518    +1399     
==========================================
+ Hits         1807     2436     +629     
- Misses       1154     2082     +928     
+ Partials      158        0     -158     

</details>

:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    Reviewers
    Assignees
    LF3551 LF3551
    Labels
    risk: low confidence: 70.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 17.3% (LOW) · Higher = larger blast radius
    17.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 70.9% · Lower = rushed or shallow review
    70.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 5% · Safe to merge
    5%