Skip to content
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

4.5: dotnet hardcode 51d_gethighentropyvalues and 51d_structureduseragent into the evidence key filter #378

Closed
justadreamer opened this issue Jan 13, 2025 · 0 comments

Comments

@justadreamer
Copy link
Contributor

justadreamer commented Jan 13, 2025

Motivation

Allow DD engines use 2 new special evidence keys defined in version/4.5:

  • 51D_gethighentropyvalues
  • 51D_structureduseragent

Background

These keys when passed should be considered allowed evidence, as currently they are filtered out by the evidence key filter, as they are not present in the data file as allowed keys.

Objective

We need to hardcode these keys in the evidence key filter in 2 flavors as query and cookie each:

  • query.51D_gethighentropyvalues
  • cookie.51D_gethighentropyvalues
  • query.51D_structureduseragent
  • cookie.51D_structureduseragent

Test coverage

We need to add a test confirming these are part of the evidence key filter and that evidence is allowed to be used.

Usage Example

See device-detection-java-examples

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

No branches or pull requests

1 participant