ALTER SERVER AUDIT SPECIFICATION
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.