CUMULATIVE_PRIVACY_LOSSES

functionsupportedGovernance (policies, tags, data quality)Enterprise+

docs.snowflake.com ↗

Table functions

Returns the privacy budgets associated with a specific privacy policy. For more information about viewing privacy budgets, see View a privacy budget.

Syntax

SNOWFLAKE.DATA_PRIVACY.CUMULATIVE_PRIVACY_LOSSES( '<privacy_policy>' )

Parameters

NameRequiredDescription
'privacy_policy'requiredSpecifies the fully-qualified name of the privacy policy. A privacy policy is a schema-level object.

Usage notes

Output

Column | Data type | Description database_name | VARCHAR | Database that contains the privacy policy. schema_name | VARCHAR | Schema that contains the privacy policy. policy_name | VARCHAR | Name of the privacy policy. budget_name | VARCHAR | Name of the privacy budget in the privacy policy. consumer_id | VARCHAR | Organization and account where users executed queries that incurred privacy loss. budget_spent | FLOAT | Cumulative privacy loss since the last time the privacy budget was refreshed.