Skip to content

Query Log

ALTR’s query audit logs maintain a record of all access to sensitive data protected by ALTR. Learn more.

NameDescription
Completion TimeDate and time when the query audit log finished running.
RoleSnowflake role assigned to the Username who executed the query.
FilterClick to filter query audit log entries.
PropertiesShows a collection of useful fields in the log entry. Click Show JSON to view the full log entry.
Query IDSnowflake query ID; a unique identifier of the query. Hover over the ID or click it view the full query audit text. A popup displays to reveal the full text and the option to copy it.
Query TextInput provided to execute the query. Hover over the text or click it to view the full query audit text. A popup displays to reveal the full text and the option to copy it.
RefreshClick to retrieve any audit log entries that were created in the last 24 hours.
Rows AccessedNumber of rows returned by the query.
Show JSON / Hide JSONIf turned on, the full audit log entry displays under Properties as a single JSON object. If turned off, the full audit log entry details are hidden and only a select few fields display under Properties.
UsernameName of the Snowflake user who executed the query.
NameDescription
KeyKey within a tag key-value pair that was impacted by the query log.
Masking PolicyDisplays the type of decision that was made for how to mask the tag. Options are: Allowed— Access to the tag is allowed for the Username / Current Role Blocked— Access to the tag has been blocked for the Username / Current Role No Permission— The Username / Current Role does not have permission to access this tag
RationaleDisplays the reason for the decision that was made for how to mask the tag. Options are: Most permissive - Most permissive policy— The user can access this data because the most permissive masking policy applies. Their role or user group is included in the policy for this tag. Allowed - Access data is not affected by any policies— The tag is connected to ALTR, but there’s no policy applied Blocked - Active anomaly— A policy has an alert to block the user’s access and the alert was triggered. No permission - User group is not present in any policies— A policy is configured, but the user’s role or group is not included. As a result, they have no permission to access the tag. No permission - Missing user and/or user group information— This is most likely a misconfiguration. “Query Tags” (user group information) are required, but this information wasn’t provided, the user’s role can’t be determined. Without this information, access to all data is denied. No permission - Invalid user and/or user group information— The query tag information was received, but there’s a misconfiguration—possibly over 500 roles or a message that’s too large. In either case, the user will receive “No Permission” with invalid data. No permission - Accessed data is not linked to any specific lock— The tag is connected as tokenized but there’s no policy applied.
ValueValue within a tag key-value pair that was impacted by the query log.
NameDescription
ColumnColumn within the table or view that was impacted by the query log.
DatabaseDatabase that was impacted by the query log.
Masking PolicyDisplays the type of decision that was made for how to mask the Snowflake column. Options are: Allowed— Access to the column is allowed for the Username / Current Role Blocked— Access to the column has been blocked for the Username / Current Role No Permission— The Username / Current Role does not have permission to access this column
RationaleDisplays the reason for the decision that was made for how to mask the column. Options are: Most permissive - Most permissive policy— The user can access this data because the most permissive masking policy applies. Their role or user group is included in the policy for this column. Allowed - Access data is not affected by any policies— The column is connected to ALTR, but there’s no policy applied. Blocked - Active anomaly— A policy has an alert to block the user’s access and the alert was triggered. No permission - User group is not present in any policies— A policy is configured, but the user’s role or group is not included. As a result, they have no permission to access the column. No permission - Missing user and/or user group information— This is most likely a misconfiguration. “Query Tags” (user group information) are required, but this information wasn’t provided, the user’s role can’t be determined. Without this information, access to all data is denied. No permission - Invalid user and/or user group information— The query tag information was received, but there’s a misconfiguration—possibly over 500 roles or a message that’s too large. In either case, the user will receive “No Permission” with invalid data. No permission - Accessed data is not linked to any specific lock— The column is connected as tokenized but there’s no policy applied.
SchemaSchema within the database that was impacted by the query log.
Table/ViewTable or view within the schema that was impacted by the query log.
NameDescription
Additional ParametersUsername— Name of Snowflake user who execute the query Current Role— Snowflake role assigned to the username who executed the query Query ID— Snowflake query ID, which is a unique identifier of the query log
Filter by column informationFilter query entries where a column connected to ALTR was accessed. These filters cannot be combined with Filter by tag information filters. Database— Name of the Snowflake database Schema— Name of the schema within the Snowflake database Table/View— Name of the table or the view within the schema Column— Name of the column in the table or the view
Filter by completion timePick a date range to filter audit log results by date. Query logs are filtered by when the audit completed. NOTE: Searching for log entries may take time depending on the number of audit records considered. Shortening this window may decrease the time required to return results.
Filter by tag informationFilter query entries where a tag connected to ALTR was accessed. These filters cannot be combined with Filter by column information filters. Tag Name— Name of the tag in Snowflake Tag Value— Information or data assigned to the tag