Skip to content

Use synthetic SCA advisories for regular and Lambda weblogs - #8224

Draft
florentinl wants to merge 9 commits into
mainfrom
flabel/python-lambda-sca
Draft

florentinl wants to merge 9 commits into
mainfrom
flabel/python-lambda-sca

Conversation

@florentinl

@florentinl florentinl commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Use one native synthetic SCA advisory catalog per language for both regular and Lambda Python/Java weblogs, and add Python Lambda reachability endpoints. Both scenarios share the catalog setup and expected advisory ID, removing the Python startup downgrade to a vulnerable requests version. Python reads its mounted CVE data directly; Java reads its catalog through the JVM bootstrap classpath, with no new tracer configuration.

Requires dd-trace-py#21366 and datadog-lambda-python#880. Activation remains gated pending compatible releases.

Testing

Formatting and all 67 CI-selection/scenario tests pass. Focused checks cover Python's native schema, regular/Lambda mounts, existing Java options, and CI selection. The released Java agent loads the mounted catalog and accepts its version range for Junrar 7.5.5, 7.5.10, and 7.5.12. Full container scenarios were not rerun; Python Lambda still needs a compatible tracer/wrapper image.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

tests/appsec/sca/java/advisories.json                                   @DataDog/asm-libraries
tests/appsec/sca/python/advisories.json                                 @DataDog/asm-libraries
manifests/python_lambda.yml                                             @DataDog/system-tests-reviewers
tests/appsec/test_sca_reachability.py                                   @DataDog/asm-libraries
utils/_context/_scenarios/aws_lambda.py                                 @DataDog/system-tests-core
utils/build/docker/python_lambda/function/handler.py                    @DataDog/system-tests-reviewers
utils/scripts/libraries_and_scenarios_rules.yml                         @DataDog/system-tests-core

@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b6b4e69 | Docs | View more details | Give us feedback!

@florentinl florentinl changed the title Add Python Lambda SCA reachability coverage Use synthetic SCA advisories for regular and Lambda weblogs Nov 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant