From 37106812f55651da22d8b549ba05f85c7eb0700b Mon Sep 17 00:00:00 2001 From: Ankur Malik Date: Wed, 20 May 2026 13:47:00 -0400 Subject: [PATCH] Wire IP velocity review flow --- flows.json | 185 ++++++++++++++++++++++++++++++++++++++++++-- request_schema.json | 7 ++ 2 files changed, 186 insertions(+), 6 deletions(-) diff --git a/flows.json b/flows.json index 2664111..e8d1362 100644 --- a/flows.json +++ b/flows.json @@ -1126,6 +1126,13 @@ } }, "required": [] + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Input IP address from ThreatMetrix." } }, "required": [] @@ -1170,7 +1177,7 @@ } }, "blockName": "m-1-v-1", - "commitId": "67c2174ab3f1841cdfe50a3ba2bb5f7415531739", + "commitId": "d4b8ad0b8c87f4162fba0a1adac889c97a081fc3", "repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git", "schema": { "$schema": "http://json-schema.org/draft-07/schema#", @@ -1375,6 +1382,14 @@ ], "description": "Reason code from ThreatMetrix.", "source": "$root.ThreatMetrixResponse.ReasonCode" + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Input IP address from ThreatMetrix.", + "source": "$root.input_ip_address" } }, "required": [] @@ -1516,6 +1531,27 @@ "null" ], "description": "TPS IP longitude" + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Input IP address from ThreatMetrix." + }, + "input_ip_connection_type": { + "type": [ + "string", + "null" + ], + "description": "Input IP connection type from ThreatMetrix Blob." + }, + "input_ip_isp": { + "type": [ + "string", + "null" + ], + "description": "Input IP ISP from ThreatMetrix Blob." } } } @@ -1810,7 +1846,7 @@ "label": "+", "nodeConfig": { "blockName": "db-lookup-v-1", - "commitId": "1e59bba6f49137402cf7e3815f54064976cb9f8a", + "commitId": "26d3ab3a9e600d40d16643f20f3201c80addcdfa", "activityConfig": { "retryPolicy": { "maximumAttempts": 1, @@ -1871,6 +1907,30 @@ ], "description": "HD fraud score M2.", "source": "$m7z58okgowrz9v382ph.hd_score_iso_m2" + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP address from THX.", + "source": "$c2xjc7k07ahdxoi7ad7.input_ip_address" + }, + "input_ip_connection_type": { + "type": [ + "string", + "null" + ], + "description": "Current application THX input IP connection type.", + "source": "$c2xjc7k07ahdxoi7ad7.input_ip_connection_type" + }, + "input_ip_isp": { + "type": [ + "string", + "null" + ], + "description": "Current application THX input IP ISP.", + "source": "$c2xjc7k07ahdxoi7ad7.input_ip_isp" } }, "required": [] @@ -1932,7 +1992,7 @@ } }, "blockName": "g-1-v-1", - "commitId": "9f3cb9ca4fc3f0d9346a4d0c4eaaee8b6b8ce469", + "commitId": "d7a7b3d761e549051b7e103e4b955c2d25a5d2d5", "repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git", "schema": { "$schema": "http://json-schema.org/draft-07/schema", @@ -2018,6 +2078,48 @@ "null" ], "description": "HD fraud Score G2" + }, + "application_customer_type": { + "type": [ + "string", + "null" + ], + "description": "Application customer type for downstream rules." + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP address for downstream rules." + }, + "input_ip_connection_type": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP connection type for downstream rules." + }, + "input_ip_isp": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP ISP for downstream rules." + }, + "input_ip_distinct_ssn_24h": { + "type": [ + "number", + "null" + ], + "description": "Distinct SSN count for the same input IP in the past 24 hours." + }, + "input_ip_distinct_zip_24h": { + "type": [ + "number", + "null" + ], + "description": "Distinct ZIP count for the same input IP in the past 24 hours." } } } @@ -2061,7 +2163,7 @@ } }, "blockName": "s-1-v-1", - "commitId": "7aa04da902ee542668583055e9b3f6ba755fc05f", + "commitId": "41ee4aacf3c136c404ee70863d17ced5a1bfa10e", "repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git", "schema": { "$schema": "http://json-schema.org/draft-07/schema#", @@ -2138,6 +2240,54 @@ ], "description": "HD Fraud Score G2", "source": "$m7z73lb30hv7y5sr4fgj.hd_score_g2" + }, + "application_customer_type": { + "type": [ + "string", + "null" + ], + "description": "Application customer type for S4 velocity rule.", + "source": "$m7z73lb30hv7y5sr4fgj.application_customer_type" + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP address for S4 velocity rule.", + "source": "$m7z73lb30hv7y5sr4fgj.input_ip_address" + }, + "input_ip_connection_type": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP connection type for S4 velocity rule.", + "source": "$m7z73lb30hv7y5sr4fgj.input_ip_connection_type" + }, + "input_ip_isp": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP ISP for S4 velocity rule.", + "source": "$m7z73lb30hv7y5sr4fgj.input_ip_isp" + }, + "input_ip_distinct_ssn_24h": { + "type": [ + "number", + "null" + ], + "description": "Distinct SSN count for the same input IP in the past 24 hours.", + "source": "$m7z73lb30hv7y5sr4fgj.input_ip_distinct_ssn_24h" + }, + "input_ip_distinct_zip_24h": { + "type": [ + "number", + "null" + ], + "description": "Distinct ZIP count for the same input IP in the past 24 hours.", + "source": "$m7z73lb30hv7y5sr4fgj.input_ip_distinct_zip_24h" } }, "required": [] @@ -2195,6 +2345,13 @@ "null" ], "description": "HD Fraud Score G2" + }, + "hd_score_s4": { + "type": [ + "number", + "null" + ], + "description": "HD Fraud Score S4" } } } @@ -2238,7 +2395,7 @@ } }, "blockName": "score-v-1", - "commitId": "b3be1ebf662f03514de9e9d3fa79135a3e4ddcca", + "commitId": "c98f0148e3edd5b369c368b80d87d1d57130a7ea", "repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-transformer.git", "schema": { "$schema": "http://json-schema.org/draft-07/schema#", @@ -2299,6 +2456,14 @@ ], "description": "HD Fraud Score G2", "source": "$m7z73o87e7te6y851u.hd_score_g2" + }, + "hd_score_s4": { + "type": [ + "number", + "null" + ], + "description": "HD Fraud Score S4", + "source": "$m7z73o87e7te6y851u.hd_score_s4" } }, "required": [] @@ -2614,7 +2779,7 @@ } }, "blockName": "db-push-thx", - "commitId": "703aab6a33825b753c2c44536f73a5ae75445083", + "commitId": "62ed938d6217eba0a198efb286133e83febd3f9b", "repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks-data-enricher-db-lookup.git", "schema": { "$schema": "http://json-schema.org/draft-07/schema#", @@ -2697,6 +2862,14 @@ "null" ], "source": "$c2xjc7k07ahdxoi7ad7.account_login_first_seen" + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Current application input IP address from THX.", + "source": "$c2xjc7k07ahdxoi7ad7.input_ip_address" } }, "required": [] diff --git a/request_schema.json b/request_schema.json index fc376ad..4295790 100644 --- a/request_schema.json +++ b/request_schema.json @@ -1116,6 +1116,13 @@ } }, "required": [] + }, + "input_ip_address": { + "type": [ + "string", + "null" + ], + "description": "Input IP address from ThreatMetrix." } }, "required": []