SYSTEM$OPT_OUT_MALICIOUS_IP_PROTECTION_BY_CATEGORY

functionnot supportedIntegrations, network & secrets

docs.snowflake.com ↗

System functions

Disables Malicious IP Protection for one or more curated IP categories in the current account. Use this function to allow traffic that would otherwise be blocked based on its category. For example, you can opt out of blocking IP addresses that are categorized as low-risk and opt out of blocking the addresses for a specific user.

Syntax

supportedpartialnot supportednot scored

SYSTEM$OPT_OUT_MALICIOUS_IP_PROTECTION_BY_CATEGORY( '<category>,<category>' [ , '<user_name>' ] )

Parameters

NameRequiredDescription
'category'requiredA case-insensitive string that identifies the curated IP category you want to opt out. Allowed values: 'ANONYMOUS_VPN' 'ANONYMOUS_PROXIES' 'MALICIOUS_BEHAVIOR' 'TOR_EXITS' '' For definitions of these categories, see Malicious IP Protection.
'user_name'optionalA string that specifies the user name to opt out of Malicious IP Protection for the specified category. If no user is provided, the opt-out applies to all users in the account.

Returns

Returns a VARCHAR status message that indicates that Malicious IP Protection was disabled for the specified category and user, if provided, in the account.

Usage notes

Access control requirements

Only account administrators, which are users with the ACCOUNTADMIN role, can execute this function.