← Back to Pull requests

CORENET-7592: add TLS group preferences testing for operator webhook port 9443 #812

Open
unknown opened this pull request with 95 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 13, 2026 21:12 UTC
Author

Add TLS curve compliance testing for the operator webhook server on port 9443 to ensure it properly enforces TLS group preferences configured at the cluster level.

Changes:

  • Add constants for operator webhook (port 9443, container name, deployment name)

  • Add VerifyTLSGroupsForOperatorWebhook() to test TLS groups on port 9443

  • Add execOpensslOnNodeForWebhook() for webhook-specific openssl testing

  • Add RestartOperatorPods() to restart operator pods for config updates

  • Update TLS group test case to verify both daemon (9301) and webhook (9443)
  • The test validates that:

  • Allowed TLS groups (secp521r1, secp256r1) successfully complete handshakes

  • Rejected TLS groups (secp384r1) are properly rejected

  • Both ports comply with cluster TLS security profile
  • Diff: 95 lines (+71 / -24) across 1 files Reviewer: danwinship Review duration: 12857m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.53) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.53 · 95 lines diff across 1 files
    0.53
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.273
    Sensitive Paths sensitive_paths
    0.053
    Real PR Conversation Timeline
    1 comments
    "Review active on #812"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 53.5% (MEDIUM) · Higher = larger blast radius
    53.5%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 28.5% · Safe to merge
    28.5%