SQL Audit - Can you tie an audit entry back to it's "Audit Action type"

  • I'm running some tests to see what is returned by the various "Audit Action Types" on a SQL 2012 Server. I use a query to read the Audit file into a table and analyze them. So far I cannot find an ID, etc that tells me what "Audit Action Type" produced the audit entry. Is there a way to determine this?

  • I can't find "AUdit Action Type" in an audit. I see an action and a class. Here's a query I'd potentially use:

    SELECT *

    FROM sys.fn_get_audit_file([Path],

    DEFAULT, DEFAULT) AS fgaf

    JOIN sys.dm_audit_actions AS daa ON daa.action_id = fgaf.action_id

    JOIN sys.dm_audit_class_type_map AS dactm ON dactm.class_type = fgaf.class_type

    JOIN sys.dm_audit_actions AS daa2 ON dactm.class_type_desc = daa2.class_desc

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply