-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[contrib] add orchestrion integration configuration #3074
base: main
Are you sure you want to change the base?
Conversation
.github/workflows/orchestrion.yml
Outdated
TESTCONTAINERS_RYUK_DISABLED: true | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/orchestrion.yml
Outdated
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
- name: Setup Go | ||
uses: actions/setup-go@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go.uber.org/multierr v1.11.0 // indirect | ||
go.uber.org/zap v1.27.0 // indirect | ||
golang.org/x/arch v0.12.0 // indirect | ||
golang.org/x/crypto v0.30.0 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚫ Library Vulnerability
golang.org/x/crypto → 0.30.0
View all suggested fixes
golang.org/x/crypto v0.30.0 // indirect | |
golang.org/x/crypto vv0.32.0// indirect |
golang.org/x/crypto v0.30.0 // indirect | |
golang.org/x/crypto vv0.31.0// indirect |
Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto (...read more)
Applications and libraries which misuse the ServerConfig.PublicKeyCallback callback may be susceptible to an authorization bypass.
The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions.
For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key.
Since this API is widely misused, as a partial mitigation golang.org/x/[email protected] enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth.
Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance.
golang.org/x/arch v0.12.0 // indirect | ||
golang.org/x/crypto v0.30.0 // indirect | ||
golang.org/x/mod v0.22.0 // indirect | ||
golang.org/x/net v0.32.0 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Library Vulnerability
golang.org/x/net → 0.32.0
View all suggested fixes
golang.org/x/net v0.32.0 // indirect | |
golang.org/x/net vv0.34.1-0.20250107223440-03179ce0330f// indirect |
golang.org/x/net v0.32.0 // indirect | |
golang.org/x/net vv0.33.0// indirect |
Non-linear parsing of case-insensitive content in golang.org/x/net/html (...read more)
An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service.
.github/workflows/orchestrion.yml
Outdated
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
- name: Setup Go | ||
uses: actions/setup-go@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/orchestrion.yml
Outdated
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
60deffb
to
ed1218e
Compare
Datadog ReportBranch report: ❌ 5 Failed (0 Known Flaky), 5114 Passed, 70 Skipped, 2m 48.34s Total Time ❌ Failed Tests (5)
|
f06d0d3
to
8591beb
Compare
8591beb
to
6d487dd
Compare
|
||
# ddapm-test-agent is used to observe side effects from the tracer during integration tests. | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BenchmarksBenchmark execution time: 2025-01-10 15:51:53 Comparing candidate commit 03f1102 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 0 unstable metrics. |
517580b
to
03f1102
Compare
What does this PR do?
Moves orchestrion integrations configuration from orchestrion itself to dd-trace-go.
Motivation
This improves maintainability of automatic injection configuration, and allows orchestrion customers more fine-grained control of what gets injected automatically.
Reviewer's Checklist
v2-dev
branch and reviewed by @DataDog/apm-go.Unsure? Have a question? Request a review!