SQL Flow Field Guide

ALTER SERVER AUDIT SPECIFICATION

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

changes a server audit specification

What changes

Input
catalog
Output or change
security catalog: server audit specification

Syntax at a glance

ALTER SERVER AUDIT SPECIFICATION audit_specification_name { [ FOR SERVER AUDIT audit_name ] [ { { ADD | DROP } ( audit_action_group_name ) } [, ...n] ] [ WITH ( STATE = { ON | OFF } ) ] } [ ; ]

Work example

A server audit specification needs a selected action group change.

Map the change to its control and check that database audit coverage remains active.

Check your work A test action records the new event without removing required audit evidence.

Open Microsoft Learn for full syntax, permissions, and details for your version.