Skip to content

Latest commit

 

History

History
57 lines (51 loc) · 4.42 KB

sys-dm-audit-class-type-map-transact-sql.md

File metadata and controls

57 lines (51 loc) · 4.42 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs monikerRange
sys.dm_audit_class_type_map (Transact-SQL)
sys.dm_audit_class_type_map (Transact-SQL)
sravanisaluru
srsaluru
03/23/2022
sql
system-objects
reference
sys.dm_audit_class_type_map
sys.dm_audit_class_type_map_TSQL
dm_audit_class_type_map
dm_audit_class_type_map_TSQL
sys.dm_audit_class_type_map dynamic management view
TSQL
=azuresqldb-current||>=sql-server-2016||=azuresqldb-mi-current

sys.dm_audit_class_type_map (Transact-SQL)

[!INCLUDE sql-asdb-asdbmi]

Returns a table that maps the class_type field in the audit log to the class_desc field in sys.dm_audit_actions. For more information about [!INCLUDEssNoVersion] Audit, see SQL Server Audit (Database Engine).

Column name Data type Description
class_type char(2) The class type of the entity that was audited. Maps to the class_type written to the audit log and returned by the get_audit_file() function. Is not nullable.
class_type_desc nvarchar(120) The name for the auditable entity. Is not nullable.
securable_class_desc nvarchar(120) The securable object that maps to the class_type being audited. Is NULL if the class_type does not map to a securable object. Can be related to class_desc in sys.dm_audit_actions.

Permissions

This view is visible to the public.

See Also

CREATE SERVER AUDIT (Transact-SQL)
ALTER SERVER AUDIT (Transact-SQL)
DROP SERVER AUDIT (Transact-SQL)
CREATE SERVER AUDIT SPECIFICATION (Transact-SQL)
ALTER SERVER AUDIT SPECIFICATION (Transact-SQL)
DROP SERVER AUDIT SPECIFICATION (Transact-SQL)
CREATE DATABASE AUDIT SPECIFICATION (Transact-SQL)
ALTER DATABASE AUDIT SPECIFICATION (Transact-SQL)
DROP DATABASE AUDIT SPECIFICATION (Transact-SQL)
ALTER AUTHORIZATION (Transact-SQL)
sys.fn_get_audit_file (Transact-SQL)
sys.server_audits (Transact-SQL)
sys.server_file_audits (Transact-SQL)
sys.server_audit_specifications (Transact-SQL)
sys.server_audit_specification_details (Transact-SQL)
sys.database_audit_specifications (Transact-SQL)
sys.database_audit_specification_details (Transact-SQL)
sys.dm_server_audit_status (Transact-SQL)
sys.dm_audit_class_type_map
Create a Server Audit and Server Audit Specification