-
Notifications
You must be signed in to change notification settings - Fork 20
Comparing changes
Open a pull request
base repository: DataDog/datadog-lambda-extension
base: v94
head repository: DataDog/datadog-lambda-extension
compare: v95
- 20 commits
- 54 files changed
- 12 contributors
Commits on Mar 23, 2026
-
test(integration): add enhanced duration metrics tests (#1107)
## Summary - Add integration tests for Lambda enhanced duration metrics (runtime_duration, billed_duration, duration, post_runtime_duration, init_duration) - Plan on following up with (1) more metrics (2) metrics on other runtimes like LMI. - No changes to Extension code. ## Test plan - [x] New integ tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 837d598 - Browse repository at this point
Copy the full SHA 837d598View commit details -
fix(deps): update Cargo.lock to resolve cargo audit vulnerabilities (#…
…1122) ## Summary - Update `aws-lc-sys` 0.37.1 → 0.39.0 (RUSTSEC-2026-0044, -0045, -0046, -0047, -0048) - Update `aws-lc-fips-sys` 0.13.11 → 0.13.13 (RUSTSEC-2026-0042, -0043) - Update `aws-lc-rs` 1.15.4 → 1.16.2 (required to unlock `aws-lc-sys` 0.39.0) - Update `rustls-webpki` 0.103.9 → 0.103.10 (RUSTSEC-2026-0049) - Update `tar` 0.4.44 → 0.4.45 (RUSTSEC-2026-0067, -0068) Only `Cargo.lock` is modified — all updates are to transitive dependencies. ## Test plan - [ ] Cargo audit CI check passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06798fe - Browse repository at this point
Copy the full SHA 06798feView commit details
Commits on Mar 24, 2026
-
[SVLS-8741] fix: Improve log messages for proxy flusher (#1123)
## Overview When the status code from the proxy flusher request is not 200 or 202, right now we log: ``` error!( "PROXY_FLUSHER | Request failed with status {status} to {url}: {body:?}" ); ``` and do not retry. This PR: 1. Adds retries for this type of failure, with 3 attempts in total 2. Changes the log to INFO level if it's not the final attempt. Keep ERROR level if it failed for the final attempt. ## Testing N/AConfiguration menu - View commit details
-
Copy full SHA for 7383265 - Browse repository at this point
Copy the full SHA 7383265View commit details
Commits on Mar 25, 2026
-
Remove Dependabot configuration (#1128)
As part of #incident-51602-public, we are temporarily disabling all automated dependency updaters to reduce exposure to potential zero-day vulnerabilities in recent releases. This PR removes the Dependabot/Renovate configuration from this repository until further notice.
⚠️ Do not merge if your repository is managed by ADMS. Please refer to #incident-51602-public for updates and to confirm when it is safe to re-enable.Configuration menu - View commit details
-
Copy full SHA for a69ae63 - Browse repository at this point
Copy the full SHA a69ae63View commit details
Commits on Mar 26, 2026
-
feat(otlp): add gRPC protocol support for trace ingestion (#1105)
## Summary - Add gRPC support for OTLP trace ingestion on port 4317, complementing the existing HTTP endpoint on port 4318 - Implement `TraceService` trait using tonic for gRPC server - Refactor `OtlpProcessor` to accept `ExportTraceServiceRequest` directly (avoids re-encoding for gRPC) - Wire up existing config: `DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT` and `DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_MAX_RECV_MSG_SIZE_MIB` ## Motivation Users were configuring gRPC OTLP endpoints (`DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT`) but the feature was not implemented, resulting in silent failures. This PR enables gRPC support. This was for an old ticket, but we should go ahead and add this, especially since OTLP is getting more popular. ## Changes | File | Change | |------|--------| | `bottlecap/Cargo.toml` | Add tonic with transport/server features | | `bottlecap/src/otlp/grpc_agent.rs` | NEW - gRPC server implementing TraceService | | `bottlecap/src/otlp/processor.rs` | Refactor to accept ExportTraceServiceRequest directly | | `bottlecap/src/otlp/mod.rs` | Update enablement logic for HTTP/gRPC | | `bottlecap/src/bin/bottlecap/main.rs` | Start both HTTP and gRPC servers | ## Binary Size Impact Measured from CI layer size checks (arm64): | Metric | Main | PR | Difference | |--------|------|-----|------------| | Zipped | 5,074 KB | 5,164 KB | **+90 KB** | | Unzipped | 11,183 KB | 11,376 KB | **+193 KB** | This is a ~1.7% increase, well under historical concerns (OTLP was removed from Go agent for adding ~1.15MB). ## Test plan - [x] New integration tests for gRPC protocol (4 tests) - [x] All existing OTLP tests continue to pass - [x] `cargo fmt`, `cargo clippy`, `cargo test` pass - [x] All CI checks passed (47 checks including integration suites) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd17781 - Browse repository at this point
Copy the full SHA dd17781View commit details -
build(deps): bump github/codeql-action from 4.33.0 to 4.34.1 (#1120)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.33.0 to 4.34.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/releases">github/codeql-action's releases</a>.</em></p> <blockquote> <h2>v4.34.1</h2> <ul> <li>Downgrade default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3">2.24.3</a> due to issues with a small percentage of Actions and JavaScript analyses. <a href="https://redirect.github.com/github/codeql-action/pull/3762">#3762</a></li> </ul> <h2>v4.34.0</h2> <ul> <li>Added an experimental change which disables TRAP caching when <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a> is enabled, since improved incremental analysis supersedes TRAP caching. This will improve performance and reduce Actions cache usage. We expect to roll this change out to everyone in March. <a href="https://redirect.github.com/github/codeql-action/pull/3569">#3569</a></li> <li>We are rolling out improved incremental analysis to C/C++ analyses that use build mode <code>none</code>. We expect this rollout to be complete by the end of April 2026. <a href="https://redirect.github.com/github/codeql-action/pull/3584">#3584</a></li> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.0">2.25.0</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3585">#3585</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p> <blockquote> <h1>CodeQL Action Changelog</h1> <p>See the <a href="https://github.com/github/codeql-action/releases">releases page</a> for the relevant changes to the CodeQL CLI and language packs.</p> <h2>[UNRELEASED]</h2> <p>No user facing changes.</p> <h2>4.34.1 - 20 Mar 2026</h2> <ul> <li>Downgrade default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3">2.24.3</a> due to issues with a small percentage of Actions and JavaScript analyses. <a href="https://redirect.github.com/github/codeql-action/pull/3762">#3762</a></li> </ul> <h2>4.34.0 - 20 Mar 2026</h2> <ul> <li>Added an experimental change which disables TRAP caching when <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a> is enabled, since improved incremental analysis supersedes TRAP caching. This will improve performance and reduce Actions cache usage. We expect to roll this change out to everyone in March. <a href="https://redirect.github.com/github/codeql-action/pull/3569">#3569</a></li> <li>We are rolling out improved incremental analysis to C/C++ analyses that use build mode <code>none</code>. We expect this rollout to be complete by the end of April 2026. <a href="https://redirect.github.com/github/codeql-action/pull/3584">#3584</a></li> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.0">2.25.0</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3585">#3585</a></li> </ul> <h2>4.33.0 - 16 Mar 2026</h2> <ul> <li> <p>Upcoming change: Starting April 2026, the CodeQL Action will skip collecting file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses. Pull request analyses will log a warning about this upcoming change. <a href="https://redirect.github.com/github/codeql-action/pull/3562">#3562</a></p> <p>To opt out of this change:</p> <ul> <li><strong>Repositories owned by an organization:</strong> Create a custom repository property with the name <code>github-codeql-file-coverage-on-prs</code> and the type "True/false", then set this property to <code>true</code> in the repository's settings. For more information, see <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">Managing custom properties for repositories in your organization</a>. Alternatively, if you are using an advanced setup workflow, you can set the <code>CODEQL_ACTION_FILE_COVERAGE_ON_PRS</code> environment variable to <code>true</code> in your workflow.</li> <li><strong>User-owned repositories using default setup:</strong> Switch to an advanced setup workflow and set the <code>CODEQL_ACTION_FILE_COVERAGE_ON_PRS</code> environment variable to <code>true</code> in your workflow.</li> <li><strong>User-owned repositories using advanced setup:</strong> Set the <code>CODEQL_ACTION_FILE_COVERAGE_ON_PRS</code> environment variable to <code>true</code> in your workflow.</li> </ul> </li> <li> <p>Fixed <a href="https://redirect.github.com/github/codeql-action/issues/3555">a bug</a> which caused the CodeQL Action to fail loading repository properties if a "Multi select" repository property was configured for the repository. <a href="https://redirect.github.com/github/codeql-action/pull/3557">#3557</a></p> </li> <li> <p>The CodeQL Action now loads <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">custom repository properties</a> on GitHub Enterprise Server, enabling the customization of features such as <code>github-codeql-disable-overlay</code> that was previously only available on GitHub.com. <a href="https://redirect.github.com/github/codeql-action/pull/3559">#3559</a></p> </li> <li> <p>Once <a href="https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries">private package registries</a> can be configured with OIDC-based authentication for organizations, the CodeQL Action will now be able to accept such configurations. <a href="https://redirect.github.com/github/codeql-action/pull/3563">#3563</a></p> </li> <li> <p>Fixed the retry mechanism for database uploads. Previously this would fail with the error "Response body object should not be disturbed or locked". <a href="https://redirect.github.com/github/codeql-action/pull/3564">#3564</a></p> </li> <li> <p>A warning is now emitted if the CodeQL Action detects a repository property whose name suggests that it relates to the CodeQL Action, but which is not one of the properties recognised by the current version of the CodeQL Action. <a href="https://redirect.github.com/github/codeql-action/pull/3570">#3570</a></p> </li> </ul> <h2>4.32.6 - 05 Mar 2026</h2> <ul> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3">2.24.3</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3548">#3548</a></li> </ul> <h2>4.32.5 - 02 Mar 2026</h2> <ul> <li>Repositories owned by an organization can now set up the <code>github-codeql-disable-overlay</code> custom repository property to disable <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis for CodeQL</a>. First, create a custom repository property with the name <code>github-codeql-disable-overlay</code> and the type "True/false" in the organization's settings. Then in the repository's settings, set this property to <code>true</code> to disable improved incremental analysis. For more information, see <a href="https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization">Managing custom properties for repositories in your organization</a>. This feature is not yet available on GitHub Enterprise Server. <a href="https://redirect.github.com/github/codeql-action/pull/3507">#3507</a></li> <li>Added an experimental change so that when <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a> fails on a runner — potentially due to insufficient disk space — the failure is recorded in the Actions cache so that subsequent runs will automatically skip improved incremental analysis until something changes (e.g. a larger runner is provisioned or a new CodeQL version is released). We expect to roll this change out to everyone in March. <a href="https://redirect.github.com/github/codeql-action/pull/3487">#3487</a></li> <li>The minimum memory check for improved incremental analysis is now skipped for CodeQL 2.24.3 and later, which has reduced peak RAM usage. <a href="https://redirect.github.com/github/codeql-action/pull/3515">#3515</a></li> <li>Reduced log levels for best-effort private package registry connection check failures to reduce noise from workflow annotations. <a href="https://redirect.github.com/github/codeql-action/pull/3516">#3516</a></li> <li>Added an experimental change which lowers the minimum disk space requirement for <a href="https://redirect.github.com/github/roadmap/issues/1158">improved incremental analysis</a>, enabling it to run on standard GitHub Actions runners. We expect to roll this change out to everyone in March. <a href="https://redirect.github.com/github/codeql-action/pull/3498">#3498</a></li> <li>Added an experimental change which allows the <code>start-proxy</code> action to resolve the CodeQL CLI version from feature flags instead of using the linked CLI bundle version. We expect to roll this change out to everyone in March. <a href="https://redirect.github.com/github/codeql-action/pull/3512">#3512</a></li> <li>The previously experimental changes from versions 4.32.3, 4.32.4, 3.32.3 and 3.32.4 are now enabled by default. <a href="https://redirect.github.com/github/codeql-action/pull/3503">#3503</a>, <a href="https://redirect.github.com/github/codeql-action/pull/3504">#3504</a></li> </ul> <h2>4.32.4 - 20 Feb 2026</h2> <ul> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.2">2.24.2</a>. <a href="https://redirect.github.com/github/codeql-action/pull/3493">#3493</a></li> <li>Added an experimental change which improves how certificates are generated for the authentication proxy that is used by the CodeQL Action in Default Setup when <a href="https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-private-registries">private package registries are configured</a>. This is expected to generate more widely compatible certificates and should have no impact on analyses which are working correctly already. We expect to roll this change out to everyone in February. <a href="https://redirect.github.com/github/codeql-action/pull/3473">#3473</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/github/codeql-action/commit/38697555549f1db7851b81482ff19f1fa5c4fedc"><code>3869755</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3763">#3763</a> from github/update-v4.34.1-095e0fe50</li> <li><a href="https://github.com/github/codeql-action/commit/20e68ac12bc8d1eb16a56d3ef4e78263197d2e47"><code>20e68ac</code></a> Update changelog for v4.34.1</li> <li><a href="https://github.com/github/codeql-action/commit/095e0fe505bb5ab6198675d021352632c2c69a46"><code>095e0fe</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3762">#3762</a> from github/henrymercer/downgrade-default-bundle</li> <li><a href="https://github.com/github/codeql-action/commit/47b94fe61cd788995769140a7a8adffec0738aa1"><code>47b94fe</code></a> Add changelog note</li> <li><a href="https://github.com/github/codeql-action/commit/51a1d6917f5d33f400200c675401974da443b2ea"><code>51a1d69</code></a> Downgrade default bundle to codeql-bundle-v2.24.3</li> <li><a href="https://github.com/github/codeql-action/commit/510cf736e330d7eb9bc471636d65aaa180118824"><code>510cf73</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3589">#3589</a> from github/mergeback/v4.34.0-to-main-c6f93110</li> <li><a href="https://github.com/github/codeql-action/commit/89f0c86efa3acf01faeff510383f0c4a4152760a"><code>89f0c86</code></a> Rebuild</li> <li><a href="https://github.com/github/codeql-action/commit/c3f90ba975e427c1913b529a89ef97a2442493f2"><code>c3f90ba</code></a> Update changelog and version after v4.34.0</li> <li><a href="https://github.com/github/codeql-action/commit/c6f931105cb2c34c8f901cc885ba1e2e259cf745"><code>c6f9311</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/3588">#3588</a> from github/update-v4.34.0-30c555a52</li> <li><a href="https://github.com/github/codeql-action/commit/eeb9b3f4244c2945a20b9761dfa77f19d468d35f"><code>eeb9b3f</code></a> Update changelog for v4.34.0</li> <li>Additional commits viewable in <a href="https://github.com/github/codeql-action/compare/b1bff81932f5cdfc8695c7752dcee935dcd061c8...38697555549f1db7851b81482ff19f1fa5c4fedc">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 80fe88d - Browse repository at this point
Copy the full SHA 80fe88dView commit details -
build(deps): bump anchore/scan-action from 7.3.2 to 7.4.0 (#1121)
Bumps [anchore/scan-action](https://github.com/anchore/scan-action) from 7.3.2 to 7.4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/anchore/scan-action/releases">anchore/scan-action's releases</a>.</em></p> <blockquote> <h2>v7.4.0</h2> <ul> <li>chore: update to node 24 (<a href="https://redirect.github.com/anchore/scan-action/issues/629">#629</a>) [<a href="https://github.com/kzantow"><code>@kzantow</code></a>]</li> <li>fix(dev): move to esbuild (<a href="https://redirect.github.com/anchore/scan-action/issues/601">#601</a>) [<a href="https://github.com/willmurphyscode"><code>@willmurphyscode</code></a>]</li> <li>chore: update to ES modules + update <code>@actions/*</code> (<a href="https://redirect.github.com/anchore/scan-action/issues/595">#595</a>) [<a href="https://github.com/kzantow"><code>@kzantow</code></a>]</li> </ul> <h2>⬆️ Dependencies</h2> <ul> <li>chore(deps): update Grype to v0.110.0 (<a href="https://redirect.github.com/anchore/scan-action/issues/618">#618</a>) [@<a href="https://github.com/apps/anchore-actions-token-generator">anchore-actions-token-generator[bot]</a>]</li> <li>chore(deps-dev): bump tar 7.5.11 (<a href="https://redirect.github.com/anchore/scan-action/issues/620">#620</a>) [@<a href="https://github.com/apps/dependabot">dependabot[bot]</a>]</li> <li>chore(deps): bump undici 6.24.1 (<a href="https://redirect.github.com/anchore/scan-action/issues/622">#622</a>) [@<a href="https://github.com/apps/dependabot">dependabot[bot]</a>]</li> <li>chore: bump fast-xml-parser 5.5.7 (<a href="https://redirect.github.com/anchore/scan-action/issues/626">#626</a>) [@<a href="https://github.com/apps/dependabot">dependabot[bot]</a>]</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/anchore/scan-action/commit/e1165082ffb1fe366ebaf02d8526e7c4989ea9d2"><code>e116508</code></a> chore: bump fast-xml-parser from 5.5.6 to 5.5.7 + setup-node (<a href="https://redirect.github.com/anchore/scan-action/issues/631">#631</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/382a23a5be86412134bdf4a65e1a18943e5d31ac"><code>382a23a</code></a> chore(deps): update Grype to v0.110.0 (<a href="https://redirect.github.com/anchore/scan-action/issues/618">#618</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/28982132458e82c788c1b254d367e19d69a896a5"><code>2898213</code></a> chore: update to node 24 (<a href="https://redirect.github.com/anchore/scan-action/issues/629">#629</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/4e1eb5b6d4ff459c3b0ef7f2ea4de674c94d4353"><code>4e1eb5b</code></a> chore: update to modules and bump all deps (required for new <a href="https://github.com/actions"><code>@actions</code></a> librari...</li> <li><a href="https://github.com/anchore/scan-action/commit/8ed60d1353b11a3d328c30da9f63cacbdd91b37b"><code>8ed60d1</code></a> chore(deps): bump actions/setup-node from 6.2.0 to 6.3.0 (<a href="https://redirect.github.com/anchore/scan-action/issues/617">#617</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/5a271d28d1a95246a5ab1fac675a77692ed468ec"><code>5a271d2</code></a> chore(deps-dev): bump lint-staged from 16.3.1 to 16.3.2 (<a href="https://redirect.github.com/anchore/scan-action/issues/619">#619</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/6d37af257493532b84fda2c1deeac102db78d1dc"><code>6d37af2</code></a> chore(deps-dev): bump jest from 30.2.0 to 30.3.0 (<a href="https://redirect.github.com/anchore/scan-action/issues/625">#625</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/50a8160242150b375f887fa9c071755295719cf6"><code>50a8160</code></a> chore(deps-dev): bump tar from 7.5.10 to 7.5.11 (<a href="https://redirect.github.com/anchore/scan-action/issues/620">#620</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/daeb723982a29db0a021b5fa3af65d08e1f891c8"><code>daeb723</code></a> chore(deps): bump undici from 6.23.0 to 6.24.1 (<a href="https://redirect.github.com/anchore/scan-action/issues/622">#622</a>)</li> <li><a href="https://github.com/anchore/scan-action/commit/6471a7ecdb0c416a386ad58b1064cbc154d0221e"><code>6471a7e</code></a> chore(deps): bump fast-xml-parser from 5.3.6 to 5.5.6 (<a href="https://redirect.github.com/anchore/scan-action/issues/626">#626</a>)</li> <li>Additional commits viewable in <a href="https://github.com/anchore/scan-action/compare/7037fa011853d5a11690026fb85feee79f4c946c...e1165082ffb1fe366ebaf02d8526e7c4989ea9d2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d26dbf5 - Browse repository at this point
Copy the full SHA d26dbf5View commit details -
build(deps): bump taiki-e/install-action from 2.69.3 to 2.69.9 (#1129)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.69.3 to 2.69.9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/install-action/releases">taiki-e/install-action's releases</a>.</em></p> <blockquote> <h2>2.69.9</h2> <ul> <li> <p>Update <code>uv@latest</code> to 0.11.1.</p> </li> <li> <p>Update <code>osv-scanner@latest</code> to 2.3.5.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.14.</p> </li> </ul> <h2>2.69.8</h2> <ul> <li> <p>Update <code>just@latest</code> to 1.48.0.</p> </li> <li> <p>Update <code>uv@latest</code> to 0.11.0.</p> </li> <li> <p>Update <code>rclone@latest</code> to 1.73.3.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.13.</p> </li> </ul> <h2>2.69.7</h2> <ul> <li> <p>Update <code>prek@latest</code> to 0.3.8.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.12.</p> </li> <li> <p>Update <code>cargo-valgrind@latest</code> to 2.4.1.</p> </li> </ul> <h2>2.69.6</h2> <ul> <li> <p>Support signature verification for <code>mise</code> and <code>syft</code>. (<a href="https://redirect.github.com/taiki-e/install-action/pull/1611">#1611</a>)</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.10.</p> </li> <li> <p>Update <code>knope@latest</code> to 0.22.4.</p> </li> <li> <p>Update <code>cargo-binstall@latest</code> to 1.17.8.</p> </li> <li> <p>Update <code>tombi@latest</code> to 0.9.9.</p> </li> </ul> <h2>2.69.5</h2> <ul> <li>Update <code>cargo-nextest@latest</code> to 0.9.132.</li> </ul> <h2>2.69.4</h2> <ul> <li> <p>Support artifact attestations verification for <code>biome</code>, <code>cargo-cyclonedx</code>, <code>cargo-hack</code>, <code>cargo-llvm-cov</code>, <code>cargo-minimal-versions</code>, <code>cargo-no-dev-deps</code>, <code>martin</code>, <code>parse-changelog</code>, <code>parse-dockerfile</code>, <code>prek</code>, <code>uv</code>, <code>wasmtime</code>, <code>zizmor</code>, and <code>zola</code>. (<a href="https://redirect.github.com/taiki-e/install-action/pull/1606">#1606</a>)</p> </li> <li> <p>Update <code>biome@latest</code> to 2.4.8.</p> </li> <li> <p>Update <code>tombi@latest</code> to 0.9.8.</p> </li> <li> <p>Update <code>parse-dockerfile@latest</code> to 0.1.5.</p> </li> <li> <p>Update <code>parse-changelog@latest</code> to 0.6.16.</p> </li> <li> <p>Update <code>cargo-llvm-cov@latest</code> to 0.8.5.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md">taiki-e/install-action's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file.</p> <p>This project adheres to <a href="https://semver.org">Semantic Versioning</a>.</p> <!-- raw HTML omitted --> <h2>[Unreleased]</h2> <h2>[2.69.9] - 2026-03-25</h2> <ul> <li> <p>Update <code>uv@latest</code> to 0.11.1.</p> </li> <li> <p>Update <code>osv-scanner@latest</code> to 2.3.5.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.14.</p> </li> </ul> <h2>[2.69.8] - 2026-03-24</h2> <ul> <li> <p>Update <code>just@latest</code> to 1.48.0.</p> </li> <li> <p>Update <code>uv@latest</code> to 0.11.0.</p> </li> <li> <p>Update <code>rclone@latest</code> to 1.73.3.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.13.</p> </li> </ul> <h2>[2.69.7] - 2026-03-23</h2> <ul> <li> <p>Update <code>prek@latest</code> to 0.3.8.</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.12.</p> </li> <li> <p>Update <code>cargo-valgrind@latest</code> to 2.4.1.</p> </li> </ul> <h2>[2.69.6] - 2026-03-21</h2> <ul> <li> <p>Support signature verification for <code>mise</code> and <code>syft</code>. (<a href="https://redirect.github.com/taiki-e/install-action/pull/1611">#1611</a>)</p> </li> <li> <p>Update <code>mise@latest</code> to 2026.3.10.</p> </li> <li> <p>Update <code>knope@latest</code> to 0.22.4.</p> </li> <li> <p>Update <code>cargo-binstall@latest</code> to 1.17.8.</p> </li> <li> <p>Update <code>tombi@latest</code> to 0.9.9.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/taiki-e/install-action/commit/328a871ad8f62ecac78390391f463ccabc974b72"><code>328a871</code></a> Release 2.69.9</li> <li><a href="https://github.com/taiki-e/install-action/commit/b8df13537ac44c27b4f2b0780e8ebf612a596657"><code>b8df135</code></a> Update <code>uv@latest</code> to 0.11.1</li> <li><a href="https://github.com/taiki-e/install-action/commit/09ab1d9849f464fac4d4454a5d4746ef2e5e987a"><code>09ab1d9</code></a> Update <code>osv-scanner@latest</code> to 2.3.5</li> <li><a href="https://github.com/taiki-e/install-action/commit/4168e018ba765ebd2c235a1a800127da53e8bb4e"><code>4168e01</code></a> Update <code>mise@latest</code> to 2026.3.14</li> <li><a href="https://github.com/taiki-e/install-action/commit/7bc99eee1f1b8902a125006cf790a1f4c8461e63"><code>7bc99ee</code></a> Release 2.69.8</li> <li><a href="https://github.com/taiki-e/install-action/commit/b3b4c93c56f15a2d0eb66c1cd1d94d982fdd3d5b"><code>b3b4c93</code></a> Fix error message grammar (<a href="https://redirect.github.com/taiki-e/install-action/issues/1616">#1616</a>)</li> <li><a href="https://github.com/taiki-e/install-action/commit/1558ceeaaeb96b1a5a99296705851d3a5484b2fe"><code>1558cee</code></a> Update <code>just@latest</code> to 1.48.0</li> <li><a href="https://github.com/taiki-e/install-action/commit/26d156ba84bb2fc548172729dbf937f31e44a99e"><code>26d156b</code></a> Update <code>uv@latest</code> to 0.11.0</li> <li><a href="https://github.com/taiki-e/install-action/commit/f2b7c0747d53fcf8c8139b89da4deae201f0309d"><code>f2b7c07</code></a> Update <code>rclone@latest</code> to 1.73.3</li> <li><a href="https://github.com/taiki-e/install-action/commit/cc168bc1a8ce5b410d75df76a03f85a8d4dec5fd"><code>cc168bc</code></a> Update <code>mise@latest</code> to 2026.3.13</li> <li>Additional commits viewable in <a href="https://github.com/taiki-e/install-action/compare/c12d62a803cbdfe2e7263af15f5a9548065cb4f2...328a871ad8f62ecac78390391f463ccabc974b72">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8736bc9 - Browse repository at this point
Copy the full SHA 8736bc9View commit details -
feat(triggers): handle MSK events (#1066)
https://datadoghq.atlassian.net/browse/SLES-2739 In Kafka's wire protocol (KIP-82), header values are always byte[]. Every Kafka client library enforces this: | Tracer | Injection code | Mechanism | | ----------- | ----------- | ----------- | | dd-trace-java | headers.add(key, value.getBytes(UTF_8)) | String.getBytes() → byte[] | | dd-trace-go | Value: []byte(val) | Go type conversion → []byte | | dd-trace-dotnet | _headers.Add(name, Encoding.UTF8.GetBytes(value)) | UTF8.GetBytes() → byte[] | All three tracers accept string trace context values from the propagation layer, convert to UTF-8 bytes at the carrier adapter boundary, and hand byte[] to the Kafka client. This isn't a quirk of Java's getBytes() — it's the only way Kafka headers work. ### What MSK Lambda does When MSK triggers a Lambda, AWS serializes the Kafka record to JSON. Since header values are byte[] on the wire, AWS encodes them as decimal byte values. However, the exact JSON shape depends on the Lambda runtime: - Array format (observed in the existing msk_event.json testing payloads, i didn't change the support for this to be safe): byte values as a JSON array of integers "headers": [{"x-datadog-trace-id": [51, 54, 57, ...]}] - Object format (observed with the Java Lambda runtime): both the records list and the per-header byte values are JSON objects with numeric string keys, and byte values are decimal strings "records": { "topic-0": { "0": { "headers": { "0": {"someOtherHeader": ["70", "114", ...]}, "2": {"x-datadog-trace-id": {"0":"52","1":"54",...}}, "4": {"x-datadog-sampling-priority": ["49"]} } } } } - Note that Datadog headers can appear at any index — non-instrumentation headers may precede them. ### What's the difference between the [msk_event.json](https://github.com/DataDog/datadog-lambda-extension/blob/main/bottlecap/tests/payloads/msk_event.json) and the newly added `msk_event_with_headers.json` here? - msk_event.json represents a standard MSK trigger where the producer didn't attach any Kafka headers — i.e. no Datadog tracer was running on the producer side (or it's a non-instrumented producer like a raw Kafka client, a Kinesis Firehose delivery stream, or a schema-registry message). In those cases Lambda still delivers the event but with "headers": []. It's also the format you get when testing MSK triggers manually in the AWS console, which doesn't inject headers. ( source: Claude Code) - msk_event_with_headers.json reflects the real-world object format produced by the Java Lambda runtime, with a producer instrumented with a Datadog tracer injecting trace context as Kafka headers. It includes non-Datadog headers at lower indices to verify that the carrier extraction correctly finds Datadog headers regardless of their position. (source: I did a real world example and below is the evidence of testing) <img width="1753" height="442" alt="Screenshot 2026-03-12 at 11 14 33 PM" src="https://github.com/user-attachments/assets/f354dc54-77aa-4dcd-9e84-df4dc36102ca" /> --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7cc7a0 - Browse repository at this point
Copy the full SHA f7cc7a0View commit details -
feat(traces): [SVLS-8734] respect Datadog-Client-Computed-Stats header (
#1118) ## Background traces/stats that go through Lambda extension can generate stats in three ways: 1. tracer generates stats and sends them to extension at `/v0.6/stats`. Only works if the env var `DD_TRACE_STATS_COMPUTATION_ENABLED` is `true`. 2. extension generates stats from traces. It's off by default, and works only if env var `DD_COMPUTE_TRACE_STATS_ON_EXTENSION` is true. 3. Datadog backend generates stats from traces. Works only if the trace tag `_dd.compute_stats` is `1`. A separate thing: the Go tracer sends a dummy `aws.lambda` span to the extension, just to send metadata. The extension extracts metadata from this span received, and sets it on the real `aws.lambda` span generated on the extension side. The latter is what's finally sent to the trace intake. ## Summary If a trace has the header `Datadog-Client-Computed-Stats` with a truthy value (which means 1 is on), then turn off 2 and 3 to avoid duplicate counts, i.e. 1. make extension not generate stats 2. set trace tag `_dd.compute_stats` to 0 As a special case, if the dummy `aws.lambda` span sent by the Go tracer has a `Datadog-Client-Computed-Stats` header with truthy value, then extension propagates this value to the `aws.lambda` span generated by the extension. The `_dd.compute_stats` tag is determined by the combination of `compute_trace_stats_on_extension` and `client_computed_stats`: | Input: `compute_trace_stats_on_extension` | Input: `client_computed_stats` | Expected: `_dd.compute_stats` | Expected: Extension generates stats? | |-------------------------------------------|--------------------------------|-------------------------------|--------------------------------------| | `false` | `false` | `"1"` | No | | `false` | `true` | `"0"` | No | | `true` | `false` | `"0"` | Yes | | `true` | `true` | `"0"` | No | ## Details - `_dd.compute_stats` is now always set in `process_traces()` (centralized from `tags_from_env()` in `tags.rs`), with the value determined by both `compute_trace_stats_on_extension` and `client_computed_stats` as shown in the table above - When `client_computed_stats` is true or `compute_trace_stats_on_extension` is true, the extension skips stats generation in `send_processed_traces()` to avoid double-counting - `COMPUTE_STATS_KEY` is `pub(crate)` in `tags.rs` so it can be referenced from `trace_processor` - Propagates `client_computed_stats` to the extension-generated `aws.lambda` invocation span: when the Go tracer sends its placeholder span (`dd-tracer-serverless-span`) with `Datadog-Client-Computed-Stats: t`, that flag is stored in the invocation `Context` and passed through to `send_spans`, so the extension also skips stats generation for the `aws.lambda` span it creates ## Test plan ### Automated tests Passed the new unit tests ### Manual tests #### Steps 1. Deploy a Lambda function that uses `github.com/DataDog/dd-trace-go/v2 v2.6.0` 2. Set env var: 1. `DD_TRACE_STATS_COMPUTATION_ENABLED`: `true`, which turns on 1 2. `DD_COMPUTE_TRACE_STATS_ON_EXTENSION`: `true`, which tries to turn on 2 #### Result Before: 2 hits (duplicate): 1. one with `resource_name=dd-tracer-serverless-span`, generated by Go tracer 1. one with `resource_name=yiming2-xxx` <img width="699" height="286" alt="image" src="https://github.com/user-attachments/assets/6545cf12-c90b-4ed1-832e-1dab7b6c4d7c" /> After: 1 hit. Only the one with `resource_name=dd-tracer-serverless-span` <img width="696" height="283" alt="image" src="https://github.com/user-attachments/assets/d2e49c3a-473c-4043-a952-9a555eada0e7" /> 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55659d9 - Browse repository at this point
Copy the full SHA 55659d9View commit details -
feat(traces): migrate trace propagation to dd-trace-rs (#1089)
## Overview Migrate trace context propagation from a local implementation to the datadog-opentelemetry crate in dd-trace-rs. This removes ~750 lines of propagation logic (Datadog headers, W3C TraceContext) that we were maintaining locally in favor of the shared upstream implementation. Key changes: - Add datadog-opentelemetry as a dependency - Delete local propagation modules: traces/context.rs, traces/propagation/error.rs, traces/propagation/text_map_propagator.rs - Keep a thin DatadogCompositePropagator wrapper that adds ot-baggage-* header extraction, which is not yet supported upstream - Update all consumers to import SpanContext, Sampling, TracePropagationStyle, and header constants directly from datadog-opentelemetry - Adapt to upstream types: u128 trace IDs (cast to u64 for Datadog protocol), Sampling struct, SamplingPriority newtype # Motivation Not have to own this piece as its tracer logic and [SVLS-7466](https://datadoghq.atlassian.net/browse/SVLS-7466) ## Testing - All 476 existing tests pass - Propagation tests updated to use Datadog/TraceContext styles (upstream does not expose B3/B3Multi variants) - Config parsing tests updated to reflect valid upstream style names - [Trace Propagation e2e tests pass](https://gitlab.ddbuild.io/DataDog/serverless-e2e-tests/-/pipelines/101405643) Co-authored-by: jordan.gonzalez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54ddaab - Browse repository at this point
Copy the full SHA 54ddaabView commit details
Commits on Mar 27, 2026
-
chore: consolidate agent code for otlp (#1132)
## Overview Consolidates the OTLP agent code by merging grpc_agent.rs into agent.rs, eliminating ~280 lines of duplicated code. A single Agent struct now owns a shared TracePipeline and starts HTTP, gRPC, or both servers based on config. ## Changes - Introduced TracePipeline struct holding shared state (config, processor, trace channels, stats generator) with a process_and_send_traces method used by both HTTP and gRPC handlers - TraceService (gRPC) is implemented directly on TracePipeline, removing the redundant OtlpGrpcService struct - Agent now holds Option<u16> for http_port/grpc_port, spawning whichever protocols are configured - Collapsed should_enable_otlp_http + should_enable_otlp_grpc into a single should_enable_otlp_agent - Deleted grpc_agent.rs - Simplified start_otlp_agent in main.rs: one Agent, one spawn ## Bug fixes - parse_port scheme handling — HTTP agent's split(':').nth(1) broke on endpoints with schemes like http://localhost:4318. Replaced with the gRPC version that strips http:///https:// prefixes and uses rsplit(':') for IPv6 support - Empty trace check — HTTP handler checked size_of_val(&traces) == 0, which always evaluates to false (returns the 24-byte stack size of the Vec struct). Replaced with traces.iter().all(Vec::is_empty) in the shared pipeline ## Tests Merged and deduplicated parse_port tests (gained scheme-handling coverage), consolidated enablement tests into should_enable_otlp_agent. All 28 OTLP tests pass, zero clippy warnings.Configuration menu - View commit details
-
Copy full SHA for bac6ccb - Browse repository at this point
Copy the full SHA bac6ccbView commit details -
chore: nightly serverless-init builds (#1135)
## Overview We'll be using this to check serverless-init against the latest main datadog agent nightly.
Configuration menu - View commit details
-
Copy full SHA for f0439bc - Browse repository at this point
Copy the full SHA f0439bcView commit details -
fix(tests): remove stale _dd.compute_stats:1 assertion from logs inte…
…gration test (#1136) https://datadoghq.atlassian.net/browse/SVLS-8767 ## Summary - `_dd.compute_stats` was moved from general log tags to trace-only payloads in commit `55659d93` - The `test_logs` integration test mock still required `_dd.compute_stats:1` in the log body - The mock never matched → httpmock returned non-2xx → `Flusher::send()` retried infinitely → test hung forever ## Test plan - [ ] `cargo test --test logs_integration_test test_logs` passes and completes in < 1s 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 672f268 - Browse repository at this point
Copy the full SHA 672f268View commit details
Commits on Mar 30, 2026
-
[SVLS-8660] ci: add Copilot instructions for PII and security review (#…
…1133) ## Summary - Adds `.github/copilot-instructions.md` to guide GitHub Copilot auto-review toward security-relevant patterns on every PR - Instructs Copilot to flag PII in log statements (HTTP headers/bodies, user-identifiable fields, structs containing PII) - Instructs Copilot to flag `SendData` values and variables derived from them (e.g. `traces_with_tags`), since these embed the Datadog API key via `.with_api_key(...).build()` - Instructs Copilot to flag new `unsafe` Rust blocks with missing invariant documentation - Instructs Copilot to flag silently swallowed errors in external-input/network code paths ## Context Jira: https://datadoghq.atlassian.net/browse/SVLS-8660 This is the first deliverable of the CI security scanning strategy (Approach C — phased). Copilot auto-review is confirmed enabled for this repo, making this a zero-overhead advisory layer at PR open/update time. Full strategy documented in `.github/docs/ci-security-scanning-strategy.md`. ## Test plan - [ ] Open a PR that includes a log statement referencing an HTTP header or user field — confirm Copilot flags it in review comments - [ ] Open a PR with no suspicious log statements — confirm Copilot review passes cleanly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ecec868 - Browse repository at this point
Copy the full SHA ecec868View commit details -
fix: grant testing account access to sandbox layers (#1141)
## Summary - Sandbox layers were published without any resource-based permissions, blocking the self-monitoring account (`093468662994`) from accessing dev layer versions during CDK deployments. - When `ADD_LAYER_VERSION_PERMISSIONS=0` (sandbox), the publish script now grants `lambda:GetLayerVersion` to the testing account instead of leaving the layer inaccessible. ## Test plan - [ ] Trigger a sandbox layer publish and verify the layer version has a resource-based policy for `093468662994` - [ ] Deploy `lmi-dev-agent` stack in self-monitoring repo using `ENVIRONMENT=dev` (pulls from `layers-dev.json` / sandbox account `425362996713`)
Configuration menu - View commit details
-
Copy full SHA for 2ee4912 - Browse repository at this point
Copy the full SHA 2ee4912View commit details -
[SVLS-8660] ci: add gitleaks secrets scanning (#1134)
## Summary - Adds \`gitleaks\` secrets scanning workflow (\`.github/workflows/secrets-scan.yml\`) triggered on every PR and push to \`main\` - Pins \`gitleaks-action\` to commit SHA (v2.3.9) consistent with repo convention - Adds \`.gitleaks.toml\` with documented allowlist structure for paths, regexes, and historical commits — includes maintenance guidance for future contributors - Addressed Copilot review feedback: add \`permissions: contents: read\`, enable \`--redact\` to prevent secrets appearing in CI logs, fix allowlist key reference in comments ## Why Secrets accidentally committed to a public repo (API keys, tokens, credentials) are the highest-severity risk for a public repository. Neither \`cargo audit\` nor Copilot catch this category. \`gitleaks\` uses pattern matching to block merges before a credential lands in \`main\`. ## Test plan - [ ] Verify \`Secrets Scan\` job passes on this PR (no secrets in changed files) - [ ] After merging: add \`Secrets Scan\` as a required status check under \`Repository Settings → Branches → main → Branch protection rules\` - [ ] Optional smoke test: add a fake credential (e.g., \`AKIAIOSFODNN7EXAMPLE\`) to a comment on a test branch, confirm the job blocks it, then remove it ## Related - JIRA: https://datadoghq.atlassian.net/browse/SVLS-8660 - Part of Phase 1 CI security scanning — see \`.github/docs/ci-security-scanning-strategy.md\` - Companion PR: #1133 (Copilot instructions for PII/security review) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c7d8ed - Browse repository at this point
Copy the full SHA 8c7d8edView commit details
Commits on Mar 31, 2026
-
chore: get agent version from datadog-agent changelog (#1144)
## Overview - In the nightly builds of serverless-init, set the agent version to be the most recently released version of datadog-agent - In the release build of serverless-init, if `AGENT_VERSION` is not set, use the most recently released version from the Datadog agent branch given ## Testing Ran the nightly workflow manually off this branch and made sure the logs print the correct agent version https://github.com/DataDog/datadog-lambda-extension/actions/runs/23804573812 https://github.com/DataDog/datadog-lambda-extension/actions/runs/23804573812/job/69374220028#:~:text=AGENT_VERSION%3A%207.77.1 ``` AGENT_VERSION: 7.77.1 ```
Configuration menu - View commit details
-
Copy full SHA for 0d19e53 - Browse repository at this point
Copy the full SHA 0d19e53View commit details
Commits on Apr 1, 2026
-
ci: migrate CI secrets from AWS SSM to Vault KV (#1145)
## Summary - Migrate `get_secrets.sh` from `aws ssm get-parameter` to `vault kv get`, matching the pattern used by `datadog-lambda-js` - Remove `DATADOG_API_SECRET_ARN` from CI secrets — the ARN is a public resource identifier, not sensitive data - Hardcode the Secrets Manager ARN directly in `integration-tests/lib/util.ts` ## Test plan - [ ] Verify CI pipeline can fetch secrets from Vault KV at `kv/k8s/gitlab-runner/datadog-lambda-extension/secrets` - [ ] Verify integration tests pass with the hardcoded secret ARN - [ ] Confirm `DD_API_KEY`, `DD_APP_KEY`, and external ID are correctly resolved
Configuration menu - View commit details
-
Copy full SHA for d7d6815 - Browse repository at this point
Copy the full SHA d7d6815View commit details -
chore: bump extension version to 95-next
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fa65a9 - Browse repository at this point
Copy the full SHA 4fa65a9View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v94...v95