← Back to Pull requests

Delegate approval for scoped FedRAMP payloads #2896

Closed
unknown closed this pull request without merging on Oct 21, 2026 18:49 UTC
View on GitHub
unknown unknown commented on Oct 15, 2026 17:26 UTC
Author

Summary


Adds filtered review and approval authority for srep-functional-team-fedramp over existing FedRAMP payload files in:
  • deploy/osd-fedramp-machineconfig/reg-trust/

  • deploy/osd-avo-resources/fedramp-vpc-endpoints/

  • deploy/sre-prometheus/fedramp/
  • Adds a filtered hack/OWNERS covering only these generated templates:

  • 00-osd-managed-cluster-config-integration.yaml.tmpl

  • 00-osd-managed-cluster-config-stage.yaml.tmpl

  • 00-osd-managed-cluster-config-production.yaml.tmpl
  • Scope


    Anchored filename allowlists exclude source selectors (config.yaml), ownership/control files, and new filenames or subdirectories. The template grant excludes hack/pr_check.sh and hack/OWNERS itself. Existing inherited owners remain authorized. Root ownership, aliases, generator/check scripts, and commercial/shared source configuration are unchanged.

    Template approval covers the whole shared files, not only FedRAMP sections. Reviewers must verify generated changes correspond to the intended source changes; this is not section-level access control. Branch protection and independent-review requirements are unchanged.

    Validation


  • Local execution of the unchanged hack/pr_check.sh passed, including complete regeneration and existing configuration checks.

  • Generated outputs remained unchanged after regeneration, and the committed worktree was clean before publication.

  • Source-derived ownership mapping and actual Go-regexp checks confirmed exactly three additional generated-template grants, with the original eleven payload grants unchanged and no additional grants to scripts, selectors, ownership files, new paths, or commercial sources.

  • Documentation link and whitespace checks passed.
  • Local validation qualified the CLI image registry in an external validation Dockerfile; tracked build files were unchanged. Ownership mapping was validated against public Prow source semantics, not a live Prow approval evaluation.

    ---
    AI-generated. Review for accuracy.

    @cjnovak98 requested from Slack

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Documentation
    Added guidance for scoped FedRAMP ownership, including applicable deployment configurations, required settings, excluded control files, and approval behavior.
    Clarified additive ownership rules, self-approval, separate approval actions, and broader review requirements for selector or delegation changes.
    Chores
    Updated review and approval assignments for selected FedRAMP networking, registry trust, and monitoring configurations.
    Preserved existing approvers and broader approval requirements for changes outside the defined ownership scope.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 353 lines (+264 / -89) across 4 files Reviewer: joshbranham Review duration: 8722m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.66) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.66 · 353 lines diff across 4 files
    0.66
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.351
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.066
    Real PR Conversation Timeline
    1 comments
    "Review active on #2896"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 65.7% (HIGH) · Higher = larger blast radius
    65.7%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 25.9% · Safe to merge
    25.9%