Skip to content

[GOLANG] Enable IAST features in net-http-orchestrion variant#7342

Draft
RomainMuller wants to merge 11 commits into
mainfrom
romain.marcadier/dd-iast-go
Draft

[GOLANG] Enable IAST features in net-http-orchestrion variant#7342
RomainMuller wants to merge 11 commits into
mainfrom
romain.marcadier/dd-iast-go

Conversation

@RomainMuller

@RomainMuller RomainMuller commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Changes

Adds dd-iast-go to the net-http-orchestrion compile-time integrations set, and enable select IAST tests that are supposed to be passing now.

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

Add the documented insecure hashing routes to the
`net-http-orchestrion` weblog so the IAST proof of concept can exercise
MD5, SHA-1, and SHA-256 operations.

Enable only the functional weak-hash checks supported by the proof of
concept for that weblog variant. Keep deduplication, telemetry, extended
location, and stack trace coverage disabled.

JJ-Change-Id: kvkmov
Enable weak-hash coverage for the orchestrion-instrumented Go weblog
with the tracer development version. Align evidence and location
expectations with the Go tracer output, and update the weblog image to
Go 1.26.

JJ-Change-Id: npnyrt
Exercise RC4 and AES from the `net-http-orchestrion` weblog so the Go
IAST integration can distinguish weak and secure cipher usage. Enable the
weak-cipher, stack-trace, and extended-location tests for Go 2.11 and
document the endpoint contract.

JJ-Change-Id: txwxmx
Keep `TestWeakCipher_StackTrace` marked as `missing_feature` for all Go
weblog variants while retaining the core and extended-location test
activation for `net-http-orchestrion`.

JJ-Change-Id: rvxlpn
JJ-Change-Id: txlxtp
@RomainMuller
RomainMuller requested review from a team as code owners July 20, 2026 09:24
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

.github/workflows/system-tests.yml                                      @DataDog/system-tests-core
docs/understand/weblogs/end-to-end_weblog.md                            @DataDog/system-tests-core
manifests/golang.yml                                                    @DataDog/dd-trace-go-guild
tests/appsec/iast/sink/test_weak_hash.py                                @DataDog/asm-libraries @DataDog/system-tests-core
tests/appsec/iast/utils.py                                              @DataDog/asm-libraries @DataDog/system-tests-core
utils/build/docker/golang/app/net-http-orchestrion/go.mod               @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/app/net-http-orchestrion/go.sum               @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/app/net-http-orchestrion/main.go              @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/app/net-http-orchestrion/orchestrion.tool.go  @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/go.work.sum                                   @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/install_orchestrion.sh                        @DataDog/dd-trace-go-guild @DataDog/system-tests-core
utils/build/docker/golang/net-http-orchestrion.Dockerfile               @DataDog/dd-trace-go-guild @DataDog/system-tests-core

@RomainMuller
RomainMuller marked this pull request as draft July 20, 2026 09:25
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jul 20, 2026

Copy link
Copy Markdown

Pipelines  Tests

⚠️ Warnings

🚦 2 Pipeline jobs failed

Testing the test | System Tests (golang, prod) / Build end-to-end (net-http-orchestrion)   View in Datadog   GitHub Actions

Testing the test | all-jobs-are-green   View in Datadog   GitHub Actions

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🔄 Datadog auto-retried 1 job - 1 passed on retry View in Datadog

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 78487b2 | Docs | Datadog PR Page | Give us feedback!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 68bfcbeb49

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread utils/build/docker/golang/app/net-http-orchestrion/go.mod Outdated
JJ-Change-Id: nnknpn
JJ-Change-Id: pruzmq
Consume the existing optional `github_token` BuildKit secret when building
the Orchestrion weblog. Configure Git only in the build process environment
so the initial module download can access private DataDog repositories
without persisting or logging the credential.

JJ-Change-Id: tlokyq
Exchange the PR workflow OIDC identity for a read-only token scoped to
the internal `dd-iast-go` repository. Limit the exchange to the Go
Orchestrion build in PR 7342 while the repository awaits open-sourcing.

Create the BuildKit token file with restrictive permissions immediately
before the build and remove it through shell exit traps.

JJ-Change-Id: kxwrvp
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