[WEB-10297] Document referencing SDS library rules by ID #40515
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.41) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 205 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.319
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #40515"
general
weight: 0.35
vinckama
<!-- 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?
Library rule names can change, which breaks Terraform and API configurations that look up library rules by name. Each library rule has a stable standard pattern ID, but it was not documented.
scanning_rules/library_rules.md: adds a "Reference library rules by ID" section with a Terraform example (standard_pattern_id, provider v4.5.0+) and the API field (relationships.standard_pattern.data.id).setup/telemetry_data.md: links to the new section from the Terraform note under "Add scanning rules".Merge readiness
AI assistance
Drafted with Claude Code. Example ID verified against the AWS Access Key ID Scanner standard pattern.
For Datadog employees:
<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./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.Additional notes
The new section refers to a Rule ID column in the library rules table. That column is added by a companion change to the table's data source. Merge this PR after that change ships, or the column reference will not resolve on the page.
🤖 Generated with Claude Code