Skip to content

Commit f3db66e

Browse files
Merge pull request #36095 from rwestMSFT/rw-1216-dmv-refresh-001
DMV refresh phase 1
2 parents 658c466 + abd3d72 commit f3db66e

5 files changed

Lines changed: 229 additions & 203 deletions
Lines changed: 50 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: "sys.dm_audit_actions (Transact-SQL)"
3-
description: sys.dm_audit_actions (Transact-SQL)
3+
description: sys.dm_audit_actions returns a row for every audit action that can be reported in the audit log.
44
author: sravanisaluru
55
ms.author: srsaluru
6-
ms.date: "03/23/2022"
6+
ms.reviewer: randolphwest
7+
ms.date: 12/16/2025
78
ms.service: sql
89
ms.subservice: system-objects
9-
ms.topic: "reference"
10+
ms.topic: reference
1011
f1_keywords:
1112
- "sys.dm_audit_actions_TSQL"
1213
- "sys.dm_audit_actions"
@@ -16,48 +17,54 @@ helpviewer_keywords:
1617
- "sys.dm_audit_actions dynamic management view"
1718
dev_langs:
1819
- "TSQL"
19-
monikerRange: "=azuresqldb-current||>=sql-server-2016||=azuresqldb-mi-current"
20+
monikerRange: "=azuresqldb-current || >=sql-server-2016 || =azuresqldb-mi-current"
2021
---
2122
# sys.dm_audit_actions (Transact-SQL)
23+
2224
[!INCLUDE [sql-asdb-asdbmi](../../includes/applies-to-version/sql-asdb-asdbmi.md)]
2325

24-
Returns a row for every audit action that can be reported in the audit log and every audit action group that can be configured as part of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Audit. For more information about [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Audit, see [SQL Server Audit (Database Engine)](../../relational-databases/security/auditing/sql-server-audit-database-engine.md).
25-
26-
|Column name|Data type|Description|
27-
|-----------------|---------------|-----------------|
28-
|**action_id**|**varchar(4)**|ID of the audit action. Related to the **action_id** value written to each audit record. Is nullable. NULL for audit groups.|
29-
|**action_in_log**|**bit**|Indicates whether an action can be written to an audit log. Values are as follows:<br /><br /> 1 = Yes<br /><br /> 0 = No|
30-
|**name**|**sysname**|Name of the audit action or action group. Isn't nullable.|
31-
|**class_desc**|**nvarchar(120)**|The name of the class of the object that the audit action applies to. Can be any one of the Server, Database, or Schema scope objects, but doesn't include Schema objects. Isn't nullable.|
32-
|**parent_class_desc**|**nvarchar(120)**|Name of the parent class for the object described by class_desc. Is NULL if the class_desc is Server.|
33-
|**covering_parent_action_name**|**nvarchar(120)**|Name of the audit action or audit group that contains the audit action described in this row. This is used to create a hierarchy of actions and covering actions. Is nullable.|
34-
|**configuration_level**|**nvarchar(10)**|Indicates that the action or action group specified in this row is configurable at the Group or Action level. Is NULL if the action isn't configurable.|
35-
|**containing_group_name**|**nvarchar(120)**|The name of the audit group that contains the specified action. Is NULL if the value in name is a group.|
36-
37-
## Permissions
26+
Returns a row for every audit action that can be reported in the audit log and every audit action group that can be configured as part of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Audit. For more information about [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Audit, see [SQL Server Audit (Database Engine)](../security/auditing/sql-server-audit-database-engine.md).
27+
28+
| Column name | Data type | Nullable | Description |
29+
| --- | --- | --- | --- |
30+
| `action_id` | **varchar(4)** | Yes | ID of the audit action. Related to the `action_id` value written to each audit record. Can be `NULL` for audit groups. |
31+
| `name` | **nvarchar(128)** | No | Name of the audit action or action group. |
32+
| `class_desc` | **nvarchar(35)** | No | The name of the class of the object that the audit action applies to. Can be any one of the Server, Database, or Schema scope objects, but doesn't include Schema objects. |
33+
| `covering_action_name` | **nvarchar(128)** | Yes | [!INCLUDE [ssinternalonly-md](../../includes/ssinternalonly-md.md)] |
34+
| `parent_class_desc` | **nvarchar(35)** | Yes | Name of the parent class for the object described by `class_desc`. Can be `NULL` if the `class_desc` is `Server`. |
35+
| `covering_parent_action_name` | **nvarchar(128)** | Yes | Name of the audit action or audit group that contains the audit action described in this row. This value is used to create a hierarchy of actions and covering actions. |
36+
| `configuration_level` | **nvarchar(128)** | Yes | Indicates that the action or action group specified in this row is configurable at the Group or Action level. Can be `NULL` if the action isn't configurable. |
37+
| `containing_group_name` | **nvarchar(120)** | Yes | The name of the audit group that contains the specified action. Can be `NULL` if the value in `name` is a group. |
38+
| `action_in_log` | **bit** | No | Indicates whether an action can be written to an audit log. Possible values:<br /><br />`1` = Yes<br />`0` = No |
39+
40+
## Permissions
41+
3842
This view is visible to the public.
39-
40-
[!INCLUDE[ssCatViewPerm](../../includes/sscatviewperm-md.md)] For more information, see [Metadata Visibility Configuration](../../relational-databases/security/metadata-visibility-configuration.md).
41-
42-
## See also
43-
44-
- [CREATE SERVER AUDIT &#40;Transact-SQL&#41;](../../t-sql/statements/create-server-audit-transact-sql.md)
45-
- [ALTER SERVER AUDIT &#40;Transact-SQL&#41;](../../t-sql/statements/alter-server-audit-transact-sql.md)
46-
- [DROP SERVER AUDIT &#40;Transact-SQL&#41;](../../t-sql/statements/drop-server-audit-transact-sql.md)
47-
- [CREATE SERVER AUDIT SPECIFICATION &#40;Transact-SQL&#41;](../../t-sql/statements/create-server-audit-specification-transact-sql.md)
48-
- [ALTER SERVER AUDIT SPECIFICATION &#40;Transact-SQL&#41;](../../t-sql/statements/alter-server-audit-specification-transact-sql.md)
49-
- [DROP SERVER AUDIT SPECIFICATION &#40;Transact-SQL&#41;](../../t-sql/statements/drop-server-audit-specification-transact-sql.md)
50-
- [CREATE DATABASE AUDIT SPECIFICATION &#40;Transact-SQL&#41;](../../t-sql/statements/create-database-audit-specification-transact-sql.md)
51-
- [ALTER DATABASE AUDIT SPECIFICATION &#40;Transact-SQL&#41;](../../t-sql/statements/alter-database-audit-specification-transact-sql.md)
52-
- [DROP DATABASE AUDIT SPECIFICATION &#40;Transact-SQL&#41;](../../t-sql/statements/drop-database-audit-specification-transact-sql.md)
53-
- [ALTER AUTHORIZATION &#40;Transact-SQL&#41;](../../t-sql/statements/alter-authorization-transact-sql.md)
54-
- [sys.fn_get_audit_file &#40;Transact-SQL&#41;](../../relational-databases/system-functions/sys-fn-get-audit-file-transact-sql.md)
55-
- [sys.server_audits &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-server-audits-transact-sql.md)
56-
- [sys.server_file_audits &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-server-file-audits-transact-sql.md)
57-
- [sys.server_audit_specifications &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-server-audit-specifications-transact-sql.md)
58-
- [sys.server_audit_specification_details &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-server-audit-specification-details-transact-sql.md)
59-
- [sys.database_audit_specifications &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-database-audit-specifications-transact-sql.md)
60-
- [sys.database_audit_specification_details &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-database-audit-specification-details-transact-sql.md)
61-
- [sys.dm_server_audit_status &#40;Transact-SQL&#41;](../../relational-databases/system-dynamic-management-views/sys-dm-server-audit-status-transact-sql.md)
62-
- [sys.dm_audit_class_type_map &#40;Transact-SQL&#41;](../../relational-databases/system-dynamic-management-views/sys-dm-audit-class-type-map-transact-sql.md)
63-
- [Create a Server Audit and Server Audit Specification](../../relational-databases/security/auditing/create-a-server-audit-and-server-audit-specification.md)
43+
44+
[!INCLUDE [ssCatViewPerm](../../includes/sscatviewperm-md.md)] For more information, see [Metadata visibility configuration](../security/metadata-visibility-configuration.md).
45+
46+
## Related tasks
47+
48+
- [CREATE SERVER AUDIT (Transact-SQL)](../../t-sql/statements/create-server-audit-transact-sql.md)
49+
- [ALTER SERVER AUDIT (Transact-SQL)](../../t-sql/statements/alter-server-audit-transact-sql.md)
50+
- [DROP SERVER AUDIT (Transact-SQL)](../../t-sql/statements/drop-server-audit-transact-sql.md)
51+
- [CREATE SERVER AUDIT SPECIFICATION (Transact-SQL)](../../t-sql/statements/create-server-audit-specification-transact-sql.md)
52+
- [ALTER SERVER AUDIT SPECIFICATION (Transact-SQL)](../../t-sql/statements/alter-server-audit-specification-transact-sql.md)
53+
- [DROP SERVER AUDIT SPECIFICATION (Transact-SQL)](../../t-sql/statements/drop-server-audit-specification-transact-sql.md)
54+
- [CREATE DATABASE AUDIT SPECIFICATION (Transact-SQL)](../../t-sql/statements/create-database-audit-specification-transact-sql.md)
55+
- [ALTER DATABASE AUDIT SPECIFICATION (Transact-SQL)](../../t-sql/statements/alter-database-audit-specification-transact-sql.md)
56+
- [DROP DATABASE AUDIT SPECIFICATION (Transact-SQL)](../../t-sql/statements/drop-database-audit-specification-transact-sql.md)
57+
- [ALTER AUTHORIZATION (Transact-SQL)](../../t-sql/statements/alter-authorization-transact-sql.md)
58+
59+
## Related content
60+
61+
- [sys.fn_get_audit_file (Transact-SQL)](../system-functions/sys-fn-get-audit-file-transact-sql.md)
62+
- [sys.server_audits (Transact-SQL)](../system-catalog-views/sys-server-audits-transact-sql.md)
63+
- [sys.server_file_audits (Transact-SQL)](../system-catalog-views/sys-server-file-audits-transact-sql.md)
64+
- [sys.server_audit_specifications (Transact-SQL)](../system-catalog-views/sys-server-audit-specifications-transact-sql.md)
65+
- [sys.server_audit_specification_details (Transact-SQL)](../system-catalog-views/sys-server-audit-specification-details-transact-sql.md)
66+
- [sys.database_audit_specifications (Transact-SQL)](../system-catalog-views/sys-database-audit-specifications-transact-sql.md)
67+
- [sys.database_audit_specification_details (Transact-SQL)](../system-catalog-views/sys-database-audit-specification-details-transact-sql.md)
68+
- [sys.dm_server_audit_status (Transact-SQL)](sys-dm-server-audit-status-transact-sql.md)
69+
- [sys.dm_audit_class_type_map (Transact-SQL)](sys-dm-audit-class-type-map-transact-sql.md)
70+
- [Create a Server Audit and Server Audit Specification](../security/auditing/create-a-server-audit-and-server-audit-specification.md)

docs/relational-databases/system-dynamic-management-views/sys-dm-audit-class-type-map-transact-sql.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ description: sys.dm_audit_class_type_map returns a table that lists securable cl
44
author: sravanisaluru
55
ms.author: srsaluru
66
ms.reviewer: randolphwest
7-
ms.date: 11/25/2024
7+
ms.date: 12/16/2025
88
ms.service: sql
99
ms.subservice: system-objects
10-
ms.topic: "reference"
10+
ms.topic: reference
1111
f1_keywords:
12-
- "sys.dm_audit_class_type_map"
1312
- "sys.dm_audit_class_type_map_TSQL"
14-
- "dm_audit_class_type_map"
13+
- "sys.dm_audit_class_type_map"
1514
- "dm_audit_class_type_map_TSQL"
15+
- "dm_audit_class_type_map"
1616
helpviewer_keywords:
1717
- "sys.dm_audit_class_type_map dynamic management view"
1818
dev_langs:
@@ -25,11 +25,11 @@ monikerRange: "=azuresqldb-current || >=sql-server-2016 || =azuresqldb-mi-curren
2525

2626
Returns a table that lists securable classes that can be mapped to the `class_type` column in the audit log. For more information about [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Audit, see [SQL Server Audit (Database Engine)](../security/auditing/sql-server-audit-database-engine.md).
2727

28-
| Column name | Data type | Description |
29-
| --- | --- | --- |
30-
| `class_type` | **char(2)** | The class type of the entity that was audited. Maps to the `class_type` written to the audit log returned by the **get_audit_file()** function. Isn't nullable. |
31-
| `class_type_desc` | **nvarchar(120)** | The name of the class of the object that was audited. Isn't nullable. |
32-
| `securable_class_desc` | **nvarchar(120)** | The securable class that maps to the `class_type` being audited. `NULL` if the `class_type` doesn't map to a securable object. Can be joined with `class_desc` in `sys.dm_audit_actions.` |
28+
| Column name | Data type | Nullable | Description |
29+
| --- | --- | --- | --- |
30+
| `class_type` | **varchar(2)** | No | The class type of the entity that was audited. Maps to the `class_type` written to the audit log returned by the `get_audit_file()` function. |
31+
| `class_type_desc` | **nvarchar(35)** | No | The name of the class of the object that was audited. |
32+
| `securable_class_desc` | **nvarchar(35)** | Yes | The securable class that maps to the `class_type` being audited. Can be `NULL` if the `class_type` doesn't map to a securable object. Can be joined with `class_desc` in `sys.dm_audit_actions.` |
3333

3434
## Permissions
3535

docs/relational-databases/system-dynamic-management-views/sys-dm-broker-activated-tasks-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: "sys.dm_broker_activated_tasks (Transact-SQL)"
33
description: sys.dm_broker_activated_tasks returns a row for each stored procedure activated by Service Broker.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 12/07/2025
6+
ms.date: 12/16/2025
77
ms.service: sql
88
ms.subservice: system-objects
99
ms.topic: reference
1010
f1_keywords:
11-
- "sys.dm_broker_activated_tasks"
1211
- "sys.dm_broker_activated_tasks_TSQL"
13-
- "dm_broker_activated_tasks"
12+
- "sys.dm_broker_activated_tasks"
1413
- "dm_broker_activated_tasks_TSQL"
14+
- "dm_broker_activated_tasks"
1515
helpviewer_keywords:
1616
- "sys.dm_broker_activated_tasks dynamic management view"
1717
dev_langs:

0 commit comments

Comments
 (0)