CUMULATIVE_PRIVACY_LOSSES
functionsupportedGovernance (policies, tags, data quality)Enterprise+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
| Name | Required | Description |
|---|---|---|
'privacy_policy' | required | Specifies the fully-qualified name of the privacy policy. A privacy policy is a schema-level object. |
Usage notes
- A privacy budget only appears if analysts associated with the privacy budget have incurred privacy loss or if an administrator has reset the privacy budget.
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.