Schema:

ORGANIZATION_USAGE

For guidance on query performance when using organization-wide usage views, see Performance (Organization Usage).

NETWORK_RULE_REFERENCES view

Important

This view is only available in the organization account. For more information, see Premium views in the organization account.

Organization Usage performance

When you query a specific view in the SNOWFLAKE.ORGANIZATION_USAGE schema, follow the organization-wide guidance in Performance (Organization Usage): bound every scan on history views, list columns explicitly, and use the time filter column table plus worked SQL and anti-patterns there.

This Organization Usage view returns one row for each network rule that is associated with an external access integration or a network policy.

The view is complementary to the Information Schema table function NETWORK_RULE_REFERENCES.

Columns

Organization-level columns

Column NameData TypeDescription
ORGANIZATION_NAMEVARCHARName of the organization.
ACCOUNT_LOCATORVARCHARSystem-generated identifier for the account.
ACCOUNT_NAMEVARCHARUser-defined identifier for the account.

Additional columns

Column NameData TypeDescription
network_rule_dbVARCHARDatabase name that contains the network rule.
network_rule_schemaVARCHARSchema that contains the network rule.
network_rule_idNUMBERInternal system-generated identifier for the network rule.
network_rule_modeVARCHAREither: ingress or egress.
network_rule_typeVARCHAREither: AWSLinkId, AzureLinkId, HOST_PORT, or IPV4.
network_rule_nameVARCHARName of the network rule.
container_idNUMBERInternal system-defined identifier for the container.
container_nameVARCHARName of the external access integration or network policy with which the network rule is associated.
container_typeVARCHAREither: INTEGRATION or NETWORK_POLICY.
action_typeVARCHAREither: ALLOW or BLOCK.

Usage notes

  • Latency for the view may be up to 24 hours.
  • The view only displays objects for which the current role for the session has been granted access privileges.