Skip to content

Latest commit

 

History

History
68 lines (61 loc) · 4.95 KB

File metadata and controls

68 lines (61 loc) · 4.95 KB
title sys.server_audit_specifications (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 2016-04-05
ms.prod sql-non-specified
ms.reviewer
ms.suite
ms.technology
database-engine
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
server_audit_specifications_TSQL
sys.server_audit_specifications_TSQL
server_audit_specifications
sys.server_audit_specifications
dev_langs
TSQL
helpviewer_keywords
sys.server_audit_specifications catalog view
ms.assetid fa496c6c-2a54-4fda-a238-db490c6b3afd
caps.latest.revision 16
author BYHAM
ms.author rickbyh
manager jhubbard

sys.server_audit_specifications (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx_md]

Contains information about the server audit specifications in a SQL Server audit on a server instance. For more information on SQL Server Audit, see SQL Server Audit (Database Engine).

Column name Data type Description
name Sysname Name of the server specification.
server_specification_id Int ID of the server_specification.
create_date Datetime Date the audit server specification was created.
modified_date Datetime Date the audit server specification was last modified.
is_state_enabled tinyint Audit specification state:

0 – DISABLED

1 –ENABLED
audit_GUID uniqueidentifier GUID for the audit that contains this specification. Used during enumeration of member server audit specifications during server startup.

Permissions

Principals with the ALTER ANY SERVER AUDIT or VIEW ANY DEFINITION permission have access to this catalog view. In addition, the principal must not be denied VIEW ANY DEFINITION permission.

[!INCLUDEssCatViewPerm] For more information, see Metadata Visibility Configuration.

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_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_actions (Transact-SQL)
sys.dm_audit_class_type_map (Transact-SQL)
Create a Server Audit and Server Audit Specification