← Back to Pull requests

CORENET-7116: Fix perma-failing security presubmit job #3218

Closed
unknown closed this pull request without merging on Jun 17, 2026 07:20 UTC
View on GitHub
unknown unknown commented on Jun 02, 2026 20:54 UTC
Author

skips scanning of go-controller/vendor (not under or direct control) as well as three non-production files. There are 3 flavors of fixes we may want to work on upstream if it's deemed important:

1. CORENET-7225: Security job: Exclude hardcoded test credentials from Snyk scans
- https://redhat.atlassian.net/browse/CORENET-7225
2. CORENET-7226: Security job: Exclude path traversal findings in dev/test tools from Snyk scans
- https://redhat.atlassian.net/browse/CORENET-7226
3. CORENET-7227: Security job: Exclude information disclosure in test utilities from Snyk scans
- https://redhat.atlassian.net/browse/CORENET-7227

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/ovn-kubernetes/ovn-kubernetes/blob/master/CONTRIBUTING.md

Make sure all your commits include a signature generated with git commit -s

All changes must adhere to this template to make it easy for reviewers
and preserve rationale/history behind every change
-->

📑 Description


<!-- Add a brief description of the pr -->

<!--
Automatically closes linked issue when PR is merged.
Usage: Fixes #<issue number>, or Fixes (paste link of issue).
_If PR is about failing-tests or flakes, please post the related issues/tests in a comment and do not use Fixes_

-->
Fixes #

Additional Information for reviewers


<!--
What exactly did you change - you may also defer to information
contained in commit messages. At a bare minimum it's worth highlighting
which areas of the code were changed as it's easier to assign reviewers
-->

✅ Checks


<!-- Make sure your pr passes the CI checks and do check the following fields as needed - -->
  • My code requires changes to the documentation

  • if so, I have updated the documentation as required

  • My code requires tests

  • if so, I have added and/or updated the tests as required

  • All the tests have passed in the CI <!-- If not leave a comment as to why the CI is red and if you need help understanding what's wrong -->
  • How to verify it


    <!--
    Did you include unit tests? or end-to-end tests?
    How can I manually verify that this patch achieves its objective
    -->

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

    Summary by CodeRabbit

    Chores
    Updated Snyk scanning configuration to optimize code scan exclusions for vendored dependencies, test files, and development tooling.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 339 lines (+254 / -85) across 4 files Reviewer: jluhrsen Review duration: 20785m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.65 · 339 lines diff across 4 files
    0.65
    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.349
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.065
    Real PR Conversation Timeline
    1 comments
    "Review active on #3218"
    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.4% (HIGH) · Higher = larger blast radius
    65.4%
    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%