Verify IAST payload carriers in the OTLP security smoke scenario #8735
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 416 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.361
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #8735"
general
weight: 0.35
christophe-papazian
Motivation
APPSEC-71876. #8524 added the IAST smoke (
BaseIastSmokeTests) to the classic and standalone scenarios, and #8573 added the OTLP security smoke (SECURITY_SMOKE_OTLP, OTLP export through bundled DDOT). IAST was not yet checked over OTLP.Changes
Test_SecuritySmokeOtlp_Iast(BaseIastSmokeTests)totests/appsec/smoke_tests/test_security_otlp.py. It uses the same features asTest_SecuritySmoke_Iast(iast_sink_path_traversal,iast_stack_trace). The module's autouseassert_ddot_exportfixture also applies, so the request must reach the agent only through OTLP.SECURITY_SMOKE_OTLPalready enables IAST through the end-to-end defaults (iast_enabled=True).BaseIastSmokeTestsreads the IAST report frommeta_struct["iast"]or_dd.iast.json, but it reads_dd.stackonly from MetaStruct. That means every SDK needs structured reports restored to MetaStruct at intake. The manifest gates follow from this:| Manifest |
Test_SecuritySmokeOtlp_Iast| Source || --- | --- | --- |
|
agent.yml|missing_feature(datadog-agent#60077), for every SDK | same as OTLP RASP / AI Guard ||
java.yml|missing_featurefor<1.70.0-SNAPSHOT(dd-trace-java#13391);play,ratpack:incomplete_test_app| OTLP RASP version gate + classic IAST weblog gate ||
nodejs.yml|:missing_feature(JSON bytes instead of MessagePack);nextjs:incomplete_test_app| OTLP RASP / AI Guard + classic IAST weblog gate ||
dotnet.yml|missing_feature(dd-trace-dotnet#9715) | OTLP RASP / Threats / RemoteConfig ||
python.yml|aiohttp:v4.18.0-rc1;tornado:incomplete_test_app| classic IAST weblog gates (file gatev4.11.0) ||
golang.yml|missing_feature(no IAST path reports or vulnerability stacks) | classic IAST |PHP, Ruby, Rust, C, and C++ already mark the whole
test_security_otlp.pyfile asmissing_feature(no OTLP trace export). No rule change inlibraries_and_scenarios_rules.ymlis needed, because the test goes into an existing file and scenario.Validation
./format.sh: passed.git diff --check: clean../run.sh TEST_THE_TEST tests/test_the_test/test_compute_libraries_and_scenarios.py tests/test_the_test/test_manifest.py tests/test_the_test/test_scenarios_declaration.py tests/test_the_test/test_conventions.py: 167 passed.SECURITY_SMOKE_OTLPvalidation for each SDK. Until the bundled DDOT includes datadog-agent#60077, the agent gate deactivates the class for every SDK.Workflow
1. ⚠️ Create your PR as draft ⚠️
2. Work on you PR until the CI passes
3. Mark it as ready for review
Tests, manifest, weblog are modified -> you'll need a review from
system-tests-reviewers: ask to one of youre co-worker familiar with the tested feature.* Framework is modified, or non obvious usage of it -> get a review from
system-tests-core(slack):rocket: Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟
[APPSEC-71876]: https://datadoghq.atlassian.net/browse/APPSEC-71876?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ