Skip to content

feat: add experimental DataCollection options, successor to SendDefaultPii - #5853

Merged
jamescrosswell merged 16 commits into
mainfrom
feat/data-collection-options
Nov 5, 2026
Merged

jamescrosswell merged 16 commits into
mainfrom
feat/data-collection-options

Conversation

@jamescrosswell

@jamescrosswell jamescrosswell commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #5425
Closes #5427

First code step of the DataCollection migration (#5420, spec 0.15.0). Adds the public option shape and its configuration binding as a no-op — the options can be set, in code or from appsettings.json, but nothing reads them yet. The resolver and SendDefaultPii bridge that give them behavior are #5426.

options.DataCollection = new DataCollectionOptions
{
    UserInfo = false,
    Cookies = false,                                                     // implicit bool
    HttpBodies = HttpBodyTypes.IncomingRequest,
};
options.DataCollection.HttpHeaders.Request = KeyValueCollectionBehavior.DenyList("forwarded", "-ip");
options.DataCollection.GraphQL.Variables = false;
options.DataCollection.Mcp.Outputs = false;
  • DataCollectionOptions — every spec category, all nullable so "unset" stays distinguishable from "explicitly set" (the bridge in DataCollection phase 1: resolver and SendDefaultPii bridge #5426 depends on that). Sub-groups (HttpHeaders, GraphQL, GenAI, Mcp) are non-null instances so they can be configured without a null check.
  • KeyValueCollectionBehavior + KeyValueCollectionMode — Off / DenyList(...) / AllowList(...), mirroring what sentry-java shipped in 8.58.0 rather than the JS boolean | {allow} | {deny} union.
  • [Flags] HttpBodyTypes — the idiomatic .NET form of the spec's body-type array (Set<HttpBodyType> in Java).
  • SentryOptions.DataCollection is nullable and unset by default. Assigning it is the opt-in signal, so DataCollection phase 1: resolver and SendDefaultPii bridge #5426's resolver keys off options.DataCollection is not null rather than any bookkeeping of our own, and SendDefaultPii governs until then.

Defaults live in the resolver, not here, so the properties carry no initializers; the documented default for each category is in its XML docs.

Decisions worth a look

  • [Experimental(SENTRY0001)]. The spec is still candidate, and this PR ships an option that does nothing, so consumers have to acknowledge SENTRY0001 to touch it. I'd suggest dropping the attribute once Phase 2 is wired. If you'd rather it not appear in release notes at all in the meantime, say so and I'll add skip-changelog — I left the feat: title so early adopters can see the shape and push back on it.
  • Opt-in by nullability, not by an Enable() method. An earlier revision of this branch had an Enable() method modelled on sentry-java's forceDataCollection(). sentry-java turns out to be the only SDK that exposes such a method: sentry-go (*sentry.DataCollection), sentry-php (null default), sentry-python (Optional, with an internal provided_by_user flag) and sentry-javascript all make the container itself absent by default and treat touching it as the opt-in. sentry-cocoa needs nothing because dataCollection and sendDefaultPii are mutually exclusive by compilation (#if SDK_V10 / #if !SDK_V10), and sentry-ruby needs nothing because each unset field backfills from send_default_pii per-field. Following the four-SDK majority removes an invented API and the internal state it required. The cost is that this is the only sub-option on SentryOptions that is nullable — but Native/Android/Experimental have no legacy flag to arbitrate against, so their non-nullness isn't really a precedent.
  • Implicit bool → KeyValueCollectionBehavior (true = DenyList(), false = Off). This is how the spec's bool | KeyValueCollectionBehavior type for StackFrameVariables (0.9.0) is satisfied without a union type, and it makes Cookies = false work the way JS users would expect.
  • GenAIOptions and McpOptions are separate types despite being structurally identical. The spec gives them different semantics and they may diverge; merging them now would be the harder thing to undo.
  • Mcp, FilePaths, Queues, StackFrameVariables, FrameContextLines are present but unactionable in managed code — we have no MCP or file-I/O instrumentation, and Hangfire/Quartz/Quartz3 don't capture arbitrary job arguments. They're here for spec completeness and native forwarding (DataCollection phase 2: propagate to native (Android/Cocoa) #5436). Adding categories late is what forced the JS SDK to re-gate integrations.

🤖 Generated with Claude Code

…ltPii

Adds the option shape from the DataCollection spec as a no-op: nothing reads
it yet. The resolver and SendDefaultPii bridge follow in #5426.

Co-Authored-By: Claude Opus 5 <[email protected]>
@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.65%. Comparing base (ca07b6c) to head (37f91c5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5853      +/-   ##
==========================================
+ Coverage   76.55%   76.65%   +0.10%     
==========================================
  Files         528      531       +3     
  Lines       19624    19713      +89     
  Branches     3873     3895      +22     
==========================================
+ Hits        15023    15111      +88     
- Misses       3715     3716       +1     
  Partials      886      886              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Mirrors DataCollectionOptions in BindableSentryOptions so the option can be
set from appsettings.json, following the nested-bindable pattern used by the
platform options. KeyValueCollectionBehavior has no public constructor, so it
binds through a Mode/Terms surrogate.

Co-Authored-By: Claude Opus 5 <[email protected]>
@jamescrosswell jamescrosswell added the skip-changelog Suppress automatic changelog generation via Craft label Nov 2, 2026
…nable()

Assigning the option is now the opt-in signal, matching sentry-go, sentry-php,
sentry-python and sentry-javascript. Removes Enable() and the internal
bookkeeping it needed to distinguish an unset option from a default one.

Co-Authored-By: Claude Opus 5 <[email protected]>
@jamescrosswell
jamescrosswell marked this pull request as ready for review November 2, 2026 22:10
@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 2, 2026
@jamescrosswell

Copy link
Copy Markdown
Collaborator Author

@ric-oliv this looks like a big PR - it's mostly mechanical though... simply adds an options type - a bindable options type around that and the bulk of the PR is in the approvals snapshots that change.

An explicit null for a params array is legal, so DenyList(null) and
AllowList(null) produced an instance whose Terms was null, which would throw
in any consumer that iterates it. Coalesce in the constructor so both
factories are covered.

Co-Authored-By: Claude Opus 5 <[email protected]>
jamescrosswell and others added 2 commits November 3, 2026 14:33
The bool shorthand code has for cookies, headers and query params has no
configuration equivalent, so a scalar is dropped by the binder. Document the
supported shape on the public type and lock the behavior with a test.

Co-Authored-By: Claude Opus 5 <[email protected]>
Swaps the IncomingResponse/OutgoingResponse doc comments, which described the
wrong direction. Gives KeyValueCollectionBehavior a public constructor and
settable properties so the reflection binder can construct it: on
netstandard2.0 the options are bound directly rather than through
BindableSentryOptions, and any key-value category threw there. Binds
HttpBodies from an array so the spec's empty-array opt-out works instead of
silently collecting every body. Adds coverage for the four ApplyTo lines no
test reached.

Co-Authored-By: Claude Opus 5 <[email protected]>

@cursor cursor 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.

Stale Bugbot comment from a previous run.

…in config

A JSON empty array emits a valueless key with no children, which the binder
surfaces as null, so "[]" cannot be told apart from the option being absent
and did not disable body collection. The previous test asserted against a
hand-built list rather than the binder, so it did not catch this.

Co-Authored-By: Claude Opus 5 <[email protected]>
Comment thread src/Sentry/HttpBodyTypes.cs Resolved
Comment thread src/Sentry/DataCollectionOptions.cs Resolved
Comment thread src/Sentry/HttpBodyTypes.cs Resolved
Comment thread src/Sentry/DataCollectionOptions.cs Resolved
The source-generated binder keeps null array elements, so a null entry in
HttpBodies reached Split and threw. Enum.TryParse already handles comma lists,
spacing and casing for a flags enum and rejects null, so the manual splitting
is gone. Sentry.Tests binds with the reflection binder, which drops nulls, so
the crash only shows up through SentryLoggingOptionsSetup, which now covers
DataCollection keys.

Also filters null and empty terms, which would otherwise match every key,
marks HttpBodyTypes and KeyValueCollectionMode experimental like the rest of
the new surface, and drops tests that only fail when a neighbour already does.

Co-Authored-By: Claude Opus 5 <[email protected]>

@cursor cursor 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.

Stale Bugbot comment from a previous run.

jamescrosswell and others added 2 commits November 5, 2026 04:06
On .NET Framework the logging setup binds onto the options directly rather
than through BindableSentryOptions, so indexed HttpBodies keys never reach
ParseHttpBodies and the category binds as None instead of the requested flags.

Co-Authored-By: Claude Opus 5 <[email protected]>
The logging setup bound configuration straight onto the options on
netstandard2.0, so an indexed key under HttpBodies made the reflection binder
try to construct Nullable<HttpBodyTypes> and throw. It now binds through
BindableSentryLoggingOptions on every target, as net6.0 and later already did,
which also removes the divergence where .NET Framework read HttpBodies as a
different value to .NET 8 and later.

The bindable parity test for SentryLoggingOptions has no skipped properties,
so the surrogate covers everything the direct bind did.

Co-Authored-By: Claude Opus 5 <[email protected]>

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 598d0c7. Configure here.

jamescrosswell and others added 2 commits November 5, 2026 05:03
…removed

The script that dropped the low-value tests searched from the first [Fact] in
the file, so each deletion also took every test above it and left two empty
classes. Nothing covered the Terms filtering, the fresh Off instance or the
bool conversion; all three now fail under mutation again.

Drops BindableDataCollectionReflectionTests as redundant: Sentry.Tests does
not run the binding generator, so DataCollectionConfigurationTests already
exercises the surrogate with the reflection binder.

Co-Authored-By: Claude Opus 5 <[email protected]>
Mcp, Queues, FilePaths, StackFrameVariables and FrameContextLines had no
consumer anywhere in src/: there is no MCP instrumentation, nothing captures
queued job arguments, there is no file-system instrumentation, and nothing
populates SentryStackFrame.Vars, PreContext, PostContext or ContextLine.
The spec is still a candidate and has renamed or retyped options since June,
so a public property for something we do not instrument locks in today's
shape, while adding one later never breaks anyone.

DatabaseQueryData and GenAI stay - see #5433 and #5434.

Co-Authored-By: Claude Opus 5 <[email protected]>
@github-actions github-actions Bot added risk: medium PR risk score: medium and removed risk: high PR risk score: high labels Nov 4, 2026
`SentryOptions.DataCollection` was a nullable property whose presence was the
opt-in signal, which made the natural way to write every category throw. Eleven
properties were nullable, so `options.DataCollection.UserInfo = false` and
`dataCollection.HttpHeaders.Request.Mode = ...` both NRE'd, and assigning a new
instance inside `UseSentry` silently discarded anything bound from
appsettings.json, since configuration binding runs first.

Replace it with `ConfigureDataCollection(Action<DataCollectionOptions>)`. Calling
it is the opt-in, so nothing is inferred from which fields were set; the options
it hands over start at the spec defaults and are non-null all the way down, so
every category can be set or mutated in place. Repeated calls build on the same
instance, and so does configuration, which still binds through the surrogate.

Constructors become internal: the only way to reach the options is the callback,
so a `new DataCollectionOptions()` that silently did nothing is no longer
expressible. This reduces the public surface while the API is experimental.

Co-Authored-By: Claude Opus 5 <[email protected]>
@github-actions github-actions Bot added risk: high PR risk score: high and removed risk: medium PR risk score: medium labels Nov 5, 2026
@jamescrosswell

jamescrosswell commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator Author

DataCollection is now configured through a callback

d18dd2ae4 replaces the SentryOptions.DataCollection property with a method:

options.ConfigureDataCollection(dataCollection =>
{
    dataCollection.UserInfo = false;
    dataCollection.HttpHeaders.Request = KeyValueCollectionBehavior.AllowList("x-tenant-id");
});

Recording why, since the old shape looked harmless.

Presence as the opt-in signal forced everything to be nullable

Opting in was "the DataCollection object exists", so every category had to be nullable to distinguish "not set" from "set to the default". That came to eleven nullable properties, and it made the natural way to write any of them throw:

options.DataCollection.UserInfo = false;                      // NullReferenceException
dataCollection.UrlQueryParams.Mode = KeyValueCollectionMode.Off;   // NullReferenceException
dataCollection.HttpHeaders.Request.Terms = ["x-tenant-id"];        // NullReferenceException

The nesting is the part that bothered me most. Avoiding the first one is a matter of knowing to write options.DataCollection = new DataCollectionOptions { ... } instead, but inside that initializer the same trap is one level down, on HttpHeaders, GraphQL and GenAI. Every category had to be replaced wholesale rather than adjusted, so there was no way to say "deny-list cookies as usual, but also deny my_session" without rebuilding the behavior from scratch.

Assignment also discarded configuration, silently

In ASP.NET Core, SentryAspNetCoreOptionsSetup is registered in SentryWebHostBuilderExtensions before configureSentry is invoked, and IConfigureOptions<T> run in registration order. So binding ran first and the UseSentry callback second, which meant this

"Sentry": { "DataCollection": { "Cookies": { "Mode": "Off" } } }
.UseSentry(o => o.DataCollection = new DataCollectionOptions { UserInfo = false })

threw the Cookies setting away with no warning. A property that must be assigned to opt in is a property that overwrites.

What the callback changes

Calling ConfigureDataCollection is the opt-in, so nothing is inferred from which fields were set, and the options handed to the callback start at the spec defaults with no nulls at any depth. Every category can be set or mutated in place, repeated calls build on the same instance, and so does configuration — the surrogate still binds and ApplyTo still merges, so code and appsettings.json compose in either order.

The constructors are now internal. The callback is the only way to reach the options, so a new DataCollectionOptions() that silently did nothing is no longer expressible. Net effect on the public surface is one method instead of one property and four public constructors.

As discussed in #5853 (comment), the spec defaults collect every category, so calling this replaces SendDefaultPii rather than layering on top of it: an app that relied on SendDefaultPii = false to suppress user identity has to set UserInfo = false here too. That is intended — DataCollection is meant to replace SendDefaultPii — and it is documented on the method.

What it does not fix

Configuration's opt-in is still "the section is present", so an unbindable key under it — a typo such as DataCollection:Cookeis:Mode=Off — still opts the user into the permissive defaults. The binder cannot call a method, so the callback doesn't reach this.

Per-category fallback to SendDefaultPii is no longer available as the fix, either: with the categories non-null and their defaults baked into the object, there is no "unset" left to fall back from. What is available is internal — BindableSentryOptions.ApplyTo could create the options only when the surrogate actually bound a value, rather than whenever the section exists, since the surrogate's own properties are all still nullable. That changes behaviour for a section that binds nothing, including the empty-array case pinned by Bind_HttpBodiesEmptyArray_LeavesCategoryAtDefault, so I have left it out of this commit rather than decide it quietly. Happy to add it here.

@ric-oliv

ric-oliv commented Nov 5, 2026

Copy link
Copy Markdown
Member

Nice, the callback reads well. I'd leave the opt-in as is. DataCollection is new, so nobody gets the section without adding it on purpose, and counting its presence as the opt-in seems fair.

Terms only mean something next to their Mode, so in-place edits let code and
configuration combine into a behavior neither side wrote: config supplying
Terms while code sets Mode = AllowList yields AllowList[those terms], and code
appending a deny term to a config-set allow list widens it instead.

Dropping the public constructor and the Mode/Terms setters leaves Off(),
DenyList() and AllowList() as the only ways to build one, matching the spec's
Java example and its requirement that the type make mixing deny and allow terms
impossible. Each category is now replaced whole, from either side. Config keeps
treating Terms without Mode as a deny list, which is the spec default.

Co-Authored-By: Claude Opus 5 <[email protected]>
Comment thread test/Sentry.Testing/BindableTests.cs Resolved

@ric-oliv ric-oliv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

jamescrosswell and others added 2 commits November 6, 2026 09:52
SentryLoggingOptionsSetup conflicted: main renamed the provider type parameter
to SentryStructuredLoggerProvider in both halves of the #if NET6_0_OR_GREATER
split (#5872), while this branch removed the #else half entirely. Kept the
removal and took the rename in the surviving half.

Co-Authored-By: Claude Opus 5 <[email protected]>
…s review nits

The XML docs described the destination in the present tense: that calling
ConfigureDataCollection replaces SendDefaultPii, which is then ignored. Nothing
reads DataCollection yet, so SendDefaultPii still governs collection entirely
and restricting a category has no effect. Both facts are now stated, and the
replacement is in the future tense, conditional on the integrations migrating.

Also from review: cover a key-value category in the config-merge test, so the
suite notices if ToBehavior stops returning null for an untouched surrogate and
starts resetting categories config never mentioned; drop the per-category
independence test, which only meant something while behaviors were mutable;
correct a stale StackFrameVariables mention; remove a stray blank line.

Co-Authored-By: Claude Opus 5 <[email protected]>
@jamescrosswell
jamescrosswell merged commit eef24b1 into main Nov 5, 2026
61 of 62 checks passed
@jamescrosswell
jamescrosswell deleted the feat/data-collection-options branch November 5, 2026 22:28
jamescrosswell added a commit that referenced this pull request Nov 5, 2026
#5853 was squash-merged, so the branch commits this stack carried were no
longer ancestors of main. Resolve every DataCollection file to main's
version; this branch contributes only SensitiveDataFilter and its tests.

Co-Authored-By: Claude Opus 5 <[email protected]>
jamescrosswell added a commit that referenced this pull request Nov 5, 2026
KeyValueCollectionBehavior sanitizes its own Terms as of #5853, so the
four behavior-level null/empty-term tests duplicated DataCollectionOptionsTests.
additionalDenyTerms is caller-supplied and unsanitized, so test the guard there.

Co-Authored-By: Claude Opus 5 <[email protected]>
jamescrosswell added a commit that referenced this pull request Nov 8, 2026
#5440)

* ref: Add internal sensitive-data denylist and key-value filter utility

First step of the DataCollection migration (#5420, #5421). Internal only,
nothing wired up yet. Mirrors filterKeyValueData/filtering-snippets from
the JS reference implementation.

Co-Authored-By: Claude Fable 5 <[email protected]>

* ref: Align sensitive-data filter with the spec and the Java SDK

Ignore empty and null terms when matching: an empty term would otherwise
filter every value in deny-list mode and allow every value through in
allow-list mode, which becomes reachable once terms are bound from
configuration.

Trim the denylist to the spec's canonical 17 terms. Treating cookie and
set-cookie as substring terms over-filtered every other category; the
exact header-name rule belongs at the header call site (#5422).

Decode keys before matching so an encoded key such as %74oken is
recognised, while callers still store the raw key and value.

Return an ordered list rather than a dictionary, so repeated headers such
as Set-Cookie are preserved instead of silently collapsed.

Co-Authored-By: Claude Opus 5 <[email protected]>

* feat: add experimental DataCollection options, successor to SendDefaultPii

Adds the option shape from the DataCollection spec as a no-op: nothing reads
it yet. The resolver and SendDefaultPii bridge follow in #5426.

Co-Authored-By: Claude Opus 5 <[email protected]>

* ref: Remove unreachable branches from the sensitive-data filter

Uri.UnescapeDataString never throws on malformed input, it returns the
input unchanged, so the UriFormatException handler could not run.

Off mode now returns [Filtered] from FilterValue instead of being
asserted away, which drops the unreachable default switch arm and makes
the mode's result explicit.

Co-Authored-By: Claude Opus 5 <[email protected]>

* feat: bind DataCollection options from configuration

Mirrors DataCollectionOptions in BindableSentryOptions so the option can be
set from appsettings.json, following the nested-bindable pattern used by the
platform options. KeyValueCollectionBehavior has no public constructor, so it
binds through a Mode/Terms surrogate.

Co-Authored-By: Claude Opus 5 <[email protected]>

* ref: make SentryOptions.DataCollection nullable instead of exposing Enable()

Assigning the option is now the opt-in signal, matching sentry-go, sentry-php,
sentry-python and sentry-javascript. Removes Enable() and the internal
bookkeeping it needed to distinguish an unset option from a default one.

Co-Authored-By: Claude Opus 5 <[email protected]>

* ref: Use the public KeyValueCollectionBehavior in the sensitive-data filter

The internal KeyValueFilterBehavior/KeyValueFilterMode pair was written
when this phase was expected to land before the public option shape. That
shape now exists with identical modes and semantics, so the internal pair
was duplication and is removed.

MatchesAny tolerates a null term list, because DenyList(null) leaves Terms
null and the SDK must not throw while capturing an event. It also iterates
by index, since IReadOnlyList allocates an enumerator where an array does
not and this runs per key per event.

Co-Authored-By: Claude Opus 5 <[email protected]>

* fix: KeyValueCollectionBehavior.Terms is never null

An explicit null for a params array is legal, so DenyList(null) and
AllowList(null) produced an instance whose Terms was null, which would throw
in any consumer that iterates it. Coalesce in the constructor so both
factories are covered.

Co-Authored-By: Claude Opus 5 <[email protected]>

* ref: Let the null-term guard carry the nullable deny-terms argument

additionalDenyTerms is nullable, so passing it straight to MatchesAny
replaces a second null check at the call site and keeps the guard
load-bearing now that KeyValueCollectionBehavior.Terms is never null.

Co-Authored-By: Claude Opus 5 <[email protected]>

* docs: note that key-value categories bind from Mode/Terms, not a scalar

The bool shorthand code has for cookies, headers and query params has no
configuration equivalent, so a scalar is dropped by the binder. Document the
supported shape on the public type and lock the behavior with a test.

Co-Authored-By: Claude Opus 5 <[email protected]>

* fix: make DataCollection bind correctly on all configuration paths

Swaps the IncomingResponse/OutgoingResponse doc comments, which described the
wrong direction. Gives KeyValueCollectionBehavior a public constructor and
settable properties so the reflection binder can construct it: on
netstandard2.0 the options are bound directly rather than through
BindableSentryOptions, and any key-value category threw there. Binds
HttpBodies from an array so the spec's empty-array opt-out works instead of
silently collecting every body. Adds coverage for the four ApplyTo lines no
test reached.

Co-Authored-By: Claude Opus 5 <[email protected]>

* fix: document that the HttpBodies empty-array opt-out needs ["None"] in config

A JSON empty array emits a valueless key with no children, which the binder
surfaces as null, so "[]" cannot be told apart from the option being absent
and did not disable body collection. The previous test asserted against a
hand-built list rather than the binder, so it did not catch this.

Co-Authored-By: Claude Opus 5 <[email protected]>

* test: cover the empty-term guard where it is now load-bearing

KeyValueCollectionBehavior sanitizes its own Terms as of #5853, so the
four behavior-level null/empty-term tests duplicated DataCollectionOptionsTests.
additionalDenyTerms is caller-supplied and unsanitized, so test the guard there.

Co-Authored-By: Claude Opus 5 <[email protected]>

* test: drop two empty-term tests that pin neither guard

Verified by mutation: with the empty-term guard removed from MatchesAny
both stayed green, while the additionalDenyTerms theories failed. The
behavior type strips the term before it reaches the guard.

Also document that Off requires the caller to drop the key, since
FilterValue returns [Filtered] there only to fail closed.

Co-Authored-By: Claude Opus 5 <[email protected]>

* fix: do not let a malformed escape throw out of DecodeKeyForMatching

Uri.UnescapeDataString returns the input unchanged for a malformed escape
on modern .NET but throws UriFormatException on .NET Framework. sentry-java
guards the same call in decodeQueryParamName. #5424 feeds untrusted query
keys through here, and the SDK must not throw while enriching an event.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high skip-changelog Suppress automatic changelog generation via Craft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataCollection phase 1: config binding (appsettings) DataCollection phase 1: add option types (no-op)

2 participants