← Back to Pull requests

config-controller: remove plaintext cert logging #4342

Merged
dsanatar merged 1 files (4 lines) on Nov 16, 2026 13:40 UTC
View on GitHub
dsanatar dsanatar commented on Nov 12, 2026 14:09 UTC
Author

<!-- Thanks for sending a pull request! Here are some tips for you:
1. Follow the instructions for writing a release note from k8s: https://git.k8s.io/community/contributors/guide/release-notes.md
-->

What this PR does / why we need it:

Remove logging of entire certificate contents.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Release note:
<!-- Write your release note:
1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required".
2. If no release note is required, just write "NONE".
-->
``release-note
config-controller: remove plaintext cert logging
``

Diff: 4 lines (+2 / -2) across 1 files Reviewer: Acedus Review duration: 5730m
All Vouch review confidence checks passed
Residual risk 0.10 = Change Risk (0.36) × (1 − Review Confidence (0.72)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 4 lines diff across 1 files
0.36
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.55 · 4 substantive comment(s)
0.55
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
71%
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.096
Sensitive Paths sensitive_paths
0.036
Real PR Conversation Timeline
7 items
dsanatar dsanatar commented on Nov 12, 2026 14:17 UTC
Author

/cc @davmarro @awels

coveralls coveralls commented on Nov 12, 2026 14:23 UTC
Contributor

![Coverage Status](https://coveralls.io/builds/82998345)

coverage: 50.341% (-0.04%) from 50.376% — dsanatar:remove-log-cert into kubevirt:main

akalenyu akalenyu commented on Nov 12, 2026 15:09 UTC
Contributor

this is probably correct in any case but the set of people that are able to view this (admins) are also the ones setting the cert on the config
/approve

kubevirt-prow[bot] kubevirt-prow[bot] commented on Nov 12, 2026 15:09 UTC
Bot

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: <a href="https://github.com/kubevirt/containerized-data-importer/pull/4342#issuecomment-6827392003" title="Approved">akalenyu</a>

The full list of commands accepted by this bot can be found here.

The pull request process is described here

<details >
Needs approval from an approver in each of these files:

  • ~~OWNERS~~ [akalenyu]
  • Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    Acedus Acedus approved these changes on Nov 16, 2026 08:45 UTC
    Approved Reviewer

    Approved these changes.

    davmarro davmarro approved these changes on Nov 16, 2026 08:59 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    dsanatar dsanatar
    Labels
    risk: low confidence: 71.8% 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: 35.8% (MEDIUM) · Higher = larger blast radius
    35.8%
    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: 71.8% · Lower = rushed or shallow review
    71.8%
    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: 10.1% · Safe to merge
    10.1%