Skip to content

Commit 172a6b5

Browse files
horghclaude
andcommitted
Clarify when ip_risk_snapshot is not populated
Add documentation explaining that the IP risk snapshot is not provided for low-risk networks, and that a nil value indicates either no signals or low-risk signals for the network. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 65836d5 commit 172a6b5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/maxmind/geoip2/record/traits.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,15 @@ def user_count
242242
# services is more static than the IP risk score provided in minFraud
243243
# and is not responsive to traffic on your network. If you need realtime
244244
# IP risk scoring based on behavioral signals on your own network, please
245-
# use minFraud. This property is only available from Insights.
245+
# use minFraud.
246+
#
247+
# We do not provide an IP risk snapshot for low-risk networks. If this
248+
# field is not populated, we either do not have signals for the network
249+
# or the signals we have show that the network is low-risk. If you would
250+
# like to get signals for low-risk networks, please use the minFraud web
251+
# services.
252+
#
253+
# This property is only available from Insights.
246254
#
247255
# @return [Float, nil]
248256
def ip_risk_snapshot

0 commit comments

Comments
 (0)