DESC NETWORK POLICY

Overview

Displays the IP allowlist and blocklist details of a specified network policy. Requires instance administrator (instance_admin) privileges.

Syntax

DESC NETWORK POLICY <name>

Parameters

  • <name>: The name of the network policy to query.

Return Columns

ColumnDescription
namePolicy name
allowed_ip_listAllowlist of IPs/CIDRs, comma-separated
blocked_ip_listBlocklist of IPs/CIDRs, comma-separated; empty means no blocklist is set

Examples

DESC NETWORK POLICY corp_policy;

Sample output:

info_nameinfo_value
namecorp_policy
allowed_ip_list192.168.1.0/24,10.0.0.1
blocked_ip_list192.168.1.99