ALTER SERVER AUDIT
changes a server audit
What changes
- Input
- catalog
- Output or change
- security catalog: server audit
Syntax at a glance
ALTER SERVER AUDIT audit_name { [ TO { { FILE ( <file_options> [ , ...n ] ) } | APPLICATION_LOG | SECURITY_LOG } | URL ] [ WITH ( <audit_options> [ , ...n ] ) ] [ WHERE <predicate_expression> ] } | REMOVE WHERE | MODIFY NAME = new_audit_name [ ; ]
Work example
A server audit target or failure behavior needs a reviewed update.
Check target access, storage limits, audit state, and failure policy with the security owner.
Check your work A lab event reaches the new target and audit failure follows the approved policy.
Open Microsoft Learn for full syntax, permissions, and details for your version.