Before writing a CREATE NETWORK POLICY statement:
- Read
references/parameters.mdto review all available parameters and their defaults. - For each parameter, decide whether the user's request implies a non-default value.
- Include only the parameters that differ from the default or that the user explicitly requested.
- Never use
CREATE OR REPLACE— always useCREATE NETWORK POLICY IF NOT EXISTS. - Prefer ALLOWED_NETWORK_RULE_LIST and BLOCKED_NETWORK_RULE_LIST (referencing named NETWORK RULEs) over the legacy ALLOWED_IP_LIST / BLOCKED_IP_LIST parameters.
- Remind the user that a network policy has no effect until it is attached via
ALTER ACCOUNT SET NETWORK_POLICY,ALTER USER SET NETWORK_POLICY, orALTER INTEGRATION SET NETWORK_POLICY. - BLOCKED_IP_LIST is evaluated before ALLOWED_IP_LIST; entries in both lists result in the IP being blocked.