[DSEC-212] Enable data security rust check #54204
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.55 · 133 lines diff across 1 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.293
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.055
Real PR Conversation Timeline
1 comments
"Review active on #54204"
general
weight: 0.35
vinckama
<!--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?
Ships the
datasecurityRust shared-library check by enabling it inENABLED_CHECKS, so its cdylib is bundled with the Agent build.Motivation
Enable the Data Security feature (RC-driven PostgreSQL scanning via the
DATA_SECURITY_DB_SCAN_TASKSproduct) so it can be turned on withdata_security.enabled+shared_library_check.enabled.Describe how you validated your changes
The feature was already validated end-to-end in previous PRs. This PR only flips the check on for shipping.
Decision Record
https://datadoghq.atlassian.net/wiki/spaces/ABLD/pages/7034209304/Data+Security+-+Quality+Gates+Decision+Records
Note
Last commit compensate what was lost after rebasing on main (post PR merge https://github.com/DataDog/datadog-agent/pull/54419)