← Back to Pull requests

[DOCS-16390] Update SCA severity score docs to match the UI #42312

Closed
unknown closed this pull request without merging on Dec 01, 2026 17:35 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 20:34 UTC
Author

<!-- Note: Please remember to review the Datadog Documentation Contribution Guidelines if you have not yet done so. -->

What does this PR do? What is the motivation?

Fixes DOCS-16390

The SCA Datadog severity score section had fallen behind the UI. Factor names didn't match, the Reachability row said reachable code raises the score, and the section didn't explain the score arrows or the Severity Breakdown. The runtime context page links to this section for how SCA scoring works, so it needs to be accurate.

  • SCA: rewrites the Datadog severity score section to match the UI, and links to the runtime context page for shared concepts.

  • Getting Started with Code Security: explains the Detected In counts, and replaces the outdated facet tables with short descriptions.

  • Prioritize Findings with Runtime Context: corrects the Severity Breakdown description.
  • Merge readiness

  • Ready for merge
  • Waiting on technical review for the open TODOs on the SCA page.

    AI assistance

    Drafted and checked against the UI with Claude Code. Reviewed and edited by the author.

    For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.

  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.
  • Additional notes

    Diff: 198 lines (+148 / -50) across 2 files Reviewer: melamos Review duration: 1261m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 198 lines diff across 2 files
    0.36
    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.317
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #42312"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 36.1% (MEDIUM) · Higher = larger blast radius
    36.1%
    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: 14.3% · Safe to merge
    14.3%