[Code Security] Document runtime context for SAST, Secrets, and IaC findings #41763
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.68) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 405 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.359
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #41763"
general
weight: 0.35
melamos
<!-- 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?
Documents runtime context for Static Code Analysis (SAST), Secret Scanning, and IaC Security findings. These findings map to the services that run the affected code and show those services' runtime risks.
security/code_security/runtime_context). It covers how SAST, SCA, Secret Scanning, and IaC Security findings inherit runtime risks, which risks apply to each product, and where runtime context appears: the explorers, the finding side panel, and the Summary page.static/images/code_security/runtime_context/: the Risks facets in the explorer, the Related To and Severity Breakdown sections of the finding side panel, and the Summary page funnel.Merge readiness
Technical review requested from the assignees before merge:
AI assistance
Drafted with Claude Code from the product specification and reviewed by the author.
Additional notes
The "Link findings to Datadog services and teams" section is a shared partial. It renders on the SAST setup, SCA, SCA setup, and Getting Started with Code Security pages.
Update, Nov 23: the Runtime Context facet (With runtime context, No runtime context) and the
@runtime_context.is_availablefield are being removed from the product, so this PR no longer mentions them. The explorer section covers only the Risks facets. This update also applies the reviewed copy (Related To, Severity Breakdown, Static (SAST) funnel only) and restores the CRLF line endings insecret_scanning/_index.md, so that file now shows only the 5 added lines.Update, Nov 24 (commit 59e4d6e): addresses the docs team review. The page and nav entry are renamed to "Prioritize Findings with Runtime Context" (the URL doesn't change), and the page now covers SCA alongside SAST, Secret Scanning, and IaC Security. The risk definitions match the product wording, the runtime context sections on the Secret Scanning and IaC Security pages move after "View and filter findings", and the shared mapping section lists the Symbol Database languages and restores the Error Tracking source.
🤖 Generated with Claude Code