refactor(ban): drop ipinfo cgnat blast-radius guard (#3062)

This commit is contained in:
Hampus
2026-09-30 16:54:43 +02:00
committed by GitHub
parent ca719e7b5e
commit af49cd6cc4
45 changed files with 10 additions and 2153 deletions
-114
View File
@@ -5952,120 +5952,6 @@
"primary_key": "((token_), user_id)",
"options": "default_time_to_live = 1800 AND gc_grace_seconds = 864000 AND compaction = {'class': 'TimeWindowCompactionStrategy', 'compaction_window_unit': 'HOURS', 'compaction_window_size': '1'}"
},
{
"name": "ipinfo_cache",
"columns": [
{
"name": "cache_key",
"type": "text"
},
{
"name": "payload",
"type": "text"
}
],
"primary_key": "(cache_key)",
"options": "default_time_to_live = 1209600 AND gc_grace_seconds = 864000 AND compaction = {'class': 'TimeWindowCompactionStrategy', 'compaction_window_unit': 'HOURS', 'compaction_window_size': '12'}"
},
{
"name": "ipinfo_requests_by_hour",
"columns": [
{
"name": "bucket_date",
"type": "text"
},
{
"name": "bucket_hour",
"type": "tinyint"
},
{
"name": "requested_at",
"type": "timestamp"
},
{
"name": "event_id",
"type": "uuid"
},
{
"name": "source",
"type": "text"
},
{
"name": "reason",
"type": "text"
},
{
"name": "ip",
"type": "text"
},
{
"name": "cache_key",
"type": "text"
},
{
"name": "request_url",
"type": "text"
},
{
"name": "http_status",
"type": "int"
},
{
"name": "outcome",
"type": "text"
},
{
"name": "available",
"type": "boolean"
},
{
"name": "risk_note",
"type": "text"
},
{
"name": "latency_ms",
"type": "int"
},
{
"name": "response_ip",
"type": "text"
},
{
"name": "country_code",
"type": "text"
},
{
"name": "asn",
"type": "int"
},
{
"name": "is_anonymous",
"type": "boolean"
},
{
"name": "is_tor",
"type": "boolean"
},
{
"name": "is_vpn",
"type": "boolean"
},
{
"name": "is_proxy",
"type": "boolean"
},
{
"name": "is_residential_proxy",
"type": "boolean"
},
{
"name": "metadata_json",
"type": "text"
}
],
"primary_key": "((bucket_date, bucket_hour), requested_at, event_id)",
"options": "CLUSTERING ORDER BY (requested_at DESC, event_id ASC) AND default_time_to_live = 7776000 AND gc_grace_seconds = 864000 AND compaction = {'class': 'TimeWindowCompactionStrategy', 'compaction_window_unit': 'DAYS', 'compaction_window_size': '3'}"
},
{
"name": "jobs_active",
"columns": [