fingerly 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 977a588e85a6aa2af74751140e2663b0ba48e45af21910b188e186450f2b13fb
4
- data.tar.gz: dee403577e7cdd93b8399cf903ada6fdb4d2ccf2428ce99780796ebd95602356
3
+ metadata.gz: d9f61d278d71cff8fb1d96bbef43b0b8250c853fe80bd435f793cb49bf0cc868
4
+ data.tar.gz: 5780d0a045f1d71e7611b6dde3ce677be62a2774c307bcafb8e7534390817a3a
5
5
  SHA512:
6
- metadata.gz: ead26ed13493e9051c2cb9fedbf71a3a80fe22d1a01f5ec41ec5860d815dceff4f1a14fd36778538785a12b44076fbd3cebf226c36cd8f9e771b49f92b06f100
7
- data.tar.gz: ee0183456bb3251b83b945551934928666d3c04e2fdcf42b6af25c58c43147e8272c34f0317f669b10f1f8c55e607eab1ba5f598e4bfe43a34bda7f4f0d23f36
6
+ metadata.gz: 1a04cf7538173042e840c04c68b2e7c6a84b1e0497e275fdd2049658ff796e1bd1a1d88a5b3516e09440823b79db60571afa18478a4ff763fddec58c8d640861
7
+ data.tar.gz: 14af23a6d30c934572ef434017698cf00ec1f2934b3e2c392db7683119e8514566619bc161c6f762e97c7345b4d83724b03e0a3056e0d9737634e0ad92d35910
data/README.md CHANGED
@@ -36,7 +36,7 @@ device behind each session and scores how suspicious it is.
36
36
  2. **Install.** Add it to your `Gemfile`:
37
37
 
38
38
  ```ruby
39
- gem "fingerly", "~> 0.5.1"
39
+ gem "fingerly", "~> 0.5.2"
40
40
  ```
41
41
 
42
42
  3. **Read an event.**
@@ -533,7 +533,7 @@ then sees a path that is not its own and answers `404`.
533
533
  | Origin or platform | Requests without either `Origin` or a validated native `X-Fingerly-SDK-Platform` header (`ios`, `android`, `react-native`, `react-native-ios`, `react-native-android`, `flutter`, `flutter-ios`, `flutter-android`, `lynx-ios`, `lynx-android`, `capacitor`, `kotlin-multiplatform`) are rejected locally with `400` (`missing_origin`), and `x-fingerly-origin` is never synthesized from `Host`, `Referer` or the request URL. A request is forwarded on one channel only: with an `Origin` the proxy sends `x-fingerly-origin` and drops the platform header, and without one it sends the validated platform. |
534
534
  | Body size | Bodies over 1 MiB get `413`, enforced while reading rather than after buffering. |
535
535
  | Forwarded headers | All incoming `x-fingerly-*`, `cookie` and `authorization` headers are stripped, restoring only a validated `x-fingerly-sdk-platform` (when there is no `Origin`) alongside `x-fingerly-host`, `idempotency-key`, `sec-fetch-*`, `sec-ch-ua-*` and the Web Bot Auth `signature`, `signature-input` and `signature-agent` (each dropped when over 4096 bytes). |
536
- | Proxy identity | The proxy reports itself upstream as `ruby/0.5.1` in `x-fingerly-proxy-version`, which the dashboard shows per proxy. |
536
+ | Proxy identity | The proxy reports itself upstream as `ruby/0.5.2` in `x-fingerly-proxy-version`, which the dashboard shows per proxy. |
537
537
  | Fingerly unreachable | The visitor gets a gateway error rather than your application's `500`. |
538
538
  | Deadline passes | `504 Gateway timeout` when `timeout:` (5 seconds by default) passes. |
539
539
  | Any other upstream failure | `502 Bad gateway`, whether the connection was refused or reset, the name did not resolve, or the answer was malformed, cut short or over 4 MiB. Redirects are never followed, and an upstream redirect or a status outside `200` to `599` is answered `502` as well. |
@@ -85,6 +85,7 @@ module Fingerly
85
85
  PROBE_ERRORS = "probe_errors"
86
86
  CUSTOM_ROOT_CA = "custom_root_ca"
87
87
  SECONDARY_USER_PROFILE = "secondary_user_profile"
88
+ PRIVATE_PROFILE = "private_profile"
88
89
 
89
90
  # Signal groups whose name is not also a detector's.
90
91
  DATACENTER_PROXY = "datacenter_proxy"
@@ -117,10 +118,10 @@ module Fingerly
117
118
  FRIDA, MITM_ATTACK, ACTIVE_CALL, ATTESTATION_MISSING, ATTESTATION_DOWNGRADE,
118
119
  REPEATED_REINSTALL, DEVICE_ACTIVITY_HIGH, DEVICE_ACTIVITY_VERY_HIGH,
119
120
  PLAY_DEVICE_INTEGRITY_FAILED, PLAY_APP_UNRECOGNIZED, ATTESTATION_FAILED, REPORT_INCOMPLETE,
120
- PROBE_ERRORS, CUSTOM_ROOT_CA, SECONDARY_USER_PROFILE, DATACENTER_PROXY, VPN, IP_BLOCKLIST,
121
- IP_REPUTATION, NETWORK_ANOMALY, LOCATION_SPOOFING, IOS_SIMULATOR, ANDROID_EMULATOR,
122
- JAILBROKEN_DEVICE, ROOTED_DEVICE, CLONED_APP, FRIDA_DETECTED, BROWSER_TAMPERING, BOT,
123
- INCOGNITO_MODE
121
+ PROBE_ERRORS, CUSTOM_ROOT_CA, SECONDARY_USER_PROFILE, PRIVATE_PROFILE,
122
+ DATACENTER_PROXY, VPN, IP_BLOCKLIST, IP_REPUTATION, NETWORK_ANOMALY, LOCATION_SPOOFING,
123
+ IOS_SIMULATOR, ANDROID_EMULATOR, JAILBROKEN_DEVICE, ROOTED_DEVICE, CLONED_APP,
124
+ FRIDA_DETECTED, BROWSER_TAMPERING, BOT, INCOGNITO_MODE
124
125
  ].freeze
125
126
  end
126
127
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Fingerly
4
4
  # The SDK version, reported to the API on every request.
5
- VERSION = "0.5.1"
5
+ VERSION = "0.5.2"
6
6
  end
data/sig/fingerly.rbs CHANGED
@@ -143,6 +143,7 @@ module Fingerly
143
143
  PROBE_ERRORS: String
144
144
  CUSTOM_ROOT_CA: String
145
145
  SECONDARY_USER_PROFILE: String
146
+ PRIVATE_PROFILE: String
146
147
  DATACENTER_PROXY: String
147
148
  VPN: String
148
149
  IP_BLOCKLIST: String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fingerly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fingerly