Skip to content

Commit

Permalink
SMSI-751: Add the confidence field to VPN response (#141)
Browse files Browse the repository at this point in the history
* add the confidence field to VPN response

* Update schemas/components/schemas/VpnResult.yaml

add enum

Co-authored-by: Juraj Uhlar <[email protected]>

* Update schemas/components/schemas/VpnResult.yaml

Co-authored-by: Juraj Uhlar <[email protected]>

* add confidence to the required field

* chore: add changeset

* Update .changeset/orange-taxis-fetch.md

Co-authored-by: Ilya Taratukhin <[email protected]>

---------

Co-authored-by: Juraj Uhlar <[email protected]>
Co-authored-by: Przemysław Żydek <[email protected]>
Co-authored-by: Ilya Taratukhin <[email protected]>
  • Loading branch information
4 people authored Sep 25, 2024
1 parent 6dd982a commit 262747c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/orange-taxis-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fingerprint-pro-server-api-openapi': minor
---

**visitors**: Add the confidence field to the VPN Detection Smart Signal
7 changes: 7 additions & 0 deletions schemas/components/schemas/VpnResult.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ properties:
- publicVPN
- auxiliaryMobile
- osMismatch
confidence:
type: string
enum: [low, medium, high]
description: >-
A confidence rating for the VPN detection result — "low", "medium", or "high". Depends on the combination of results returned from all VPN detection methods.
example: low
required:
- result
- originTimezone
- methods
- confidence
3 changes: 2 additions & 1 deletion schemas/paths/examples/get_event_200.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@
"publicVPN": false,
"auxiliaryMobile": false,
"osMismatch": false
}
},
"confidence": "high"
}
},
"proxy": {
Expand Down
3 changes: 2 additions & 1 deletion schemas/paths/examples/webhook.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
"publicVPN": false,
"auxiliaryMobile": false,
"osMismatch": false
}
},
"confidence": "high"
},
"proxy": {
"result": false
Expand Down

0 comments on commit 262747c

Please sign in to comment.