← Back to Pull requests

Update AppSec Istio Helm repository #60849

Closed
unknown closed this pull request without merging on Nov 19, 2026 13:58 UTC
View on GitHub
unknown unknown commented on Nov 19, 2026 09:00 UTC
Author

<!-- dd-meta {"pullId":"00000000-0000-0000-0000-000000000000","source":"chat","resourceId":"ec85f354-5926-4b97-9910-eb132cff9361","workflowId":"d1abe0f9-4de2-4d93-abce-2f93ce3196fe","codeChangeId":"d1abe0f9-4de2-4d93-abce-2f93ce3196fe","sourceType":"code_channel"} -->
<!--Please give us some feedback on your experience writing this PR ! https://app.datadoghq.com/forms/43db4c02-6837-400c-8083-692e141b1b88 !-->

What does this PR do?

Replace the deprecated Istio Helm chart repository in pkg/clusteragent/appsec/istio/testdata/istio-gateway/00-setup.sh with https://blob.istio.io/istio-release/charts, using --force-update for existing entries. Remove the stderr redirection and ignored exit status so repository registration errors stop setup immediately.

Functional changes

| Before | After |
| --- | --- |
| Fresh AppSec gateway test setup registers the deprecated GCS chart repository. | It registers the blob.istio.io chart repository. |
| Repository registration errors are hidden and ignored. | Errors remain visible and stop setup before the repository update or deployment steps. |

Motivation

Follow-up to IR-63773 (https://app.datadoghq.com/incidents/63773): the deprecated bucket returns 403 Forbidden and broke new-e2e-npm-eks on main. This removes the remaining reference after the EKS job was fixed and makes repository failures easier to diagnose.

Describe how you validated your changes

  • bash -n passed for the setup script.

  • Ran the script with a temporary Helm stub returning exit status 42. Verified setup exits with 42, preserves the error message on stderr, and never reaches helm repo update.

  • Searched the repository, including hidden files, and found no remaining references to the deprecated Istio chart repository.

  • Full Kubernetes setup was not run. The earlier automated local review attempt was unavailable: host reviewers were not authenticated, and the fallback development image pull returned HTTP 503.
  • Additional Notes

    The replacement matches the endpoint already used by the EKS Istio installer and Renovate configuration.

    ---

    PR by Bits - View session in Datadog • Open in Slack

    Comment @datadog to request changes

    Diff: 289 lines (+216 / -73) across 3 files Reviewer: eliottness Review duration: 298m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 289 lines diff across 3 files
    0.63
    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.339
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #60849"
    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: 63% (MEDIUM) · Higher = larger blast radius
    63%
    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: 24.9% · Safe to merge
    24.9%