SYSTEM$SHOW_SENSITIVE_DATA_MONITORED_ENTITIES

functionsupportedGovernance (policies, tags, data quality)Enterprise+

docs.snowflake.com ↗

System functions

Returns a JSON array of databases or schemas that are associated with a classification profile, which indicates that objects in these entities are monitored by sensitive data classification. Sensitive data classification requires Enterprise Edition or higher. To inquire about upgrading, please contact Snowflake Support.

Syntax

supportedpartialnot supportednot scored

SYSTEM$SHOW_SENSITIVE_DATA_MONITORED_ENTITIES( [ '<entity_type>' ] )

Parameters

NameRequiredDescription
'entity_type'requiredOptional. A string specifying the type of entity to return. Possible values are DATABASE and SCHEMA. If omitted, returns all entities monitored by sensitive data classification.

Returns

A JSON string containing an array of monitored entities and their associated classification profiles. Each object in the array contains the following fields: - name: Name of the monitored entity (that is, a database or schema). - type: Type of the entity (DATABASE or SCHEMA). - profile_name: Fully qualified name of the associated classification profile.

Usage notes