mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
feat(api): make tor and breached password lookups opt-in (#2834)
This commit is contained in:
1 parent
efd677f32b
commit
f32356801d
17 files changed
+186
-40
No files matched your search
@@ -340,24 +340,17 @@ const NAMED_FLUXER_ENV_OVERRIDES: Record<string, NamedEnvOverride> = {
|
||||
parse: parseInteger,
|
||||
},
|
||||
FLUXER_BLOCKLIST_FEEDS_ENABLED: {path: ['integrations', 'blocklist_feeds', 'enabled'], parse: parseBoolean},
|
||||
FLUXER_TOR_EXIT_LIST_ENABLED: {path: ['integrations', 'tor_exit_list', 'enabled'], parse: parseBoolean},
|
||||
FLUXER_BREACHED_PASSWORD_CHECK_ENABLED: {
|
||||
path: ['integrations', 'breached_password_check', 'enabled'],
|
||||
parse: parseBoolean,
|
||||
},
|
||||
FLUXER_RISK_INTEGRATION_ENABLED: {path: ['integrations', 'risk_integration', 'enabled'], parse: parseBoolean},
|
||||
FLUXER_RISK_IPINFO_API_KEY: {path: ['integrations', 'risk_integration', 'ipinfo_api_key']},
|
||||
FLUXER_ACCOUNT_POLICY_DSL: {
|
||||
path: ['integrations', 'risk_integration', 'account_policy_dsl'],
|
||||
parse: parseEnvValue,
|
||||
},
|
||||
FLUXER_RISK_TOR_BLOCK_ALL_RELAYS: {
|
||||
path: ['integrations', 'risk_integration', 'tor', 'block_all_relays'],
|
||||
parse: parseBoolean,
|
||||
},
|
||||
FLUXER_RISK_TOR_REVERSE_DNS_HEURISTIC: {
|
||||
path: ['integrations', 'risk_integration', 'tor', 'reverse_dns_heuristic'],
|
||||
parse: parseBoolean,
|
||||
},
|
||||
FLUXER_RISK_TOR_REVERSE_DNS_TIMEOUT_MS: {
|
||||
path: ['integrations', 'risk_integration', 'tor', 'reverse_dns_timeout_ms'],
|
||||
parse: parseInteger,
|
||||
},
|
||||
FLUXER_PUSH_APNS_ENABLED: {path: ['integrations', 'push', 'apns', 'enabled'], parse: parseBoolean},
|
||||
FLUXER_PUSH_APNS_TEAM_ID: {path: ['integrations', 'push', 'apns', 'team_id']},
|
||||
FLUXER_PUSH_APNS_KEY_ID: {path: ['integrations', 'push', 'apns', 'key_id']},
|
||||
|
||||
Reference in new issue
Block a user