Home >Database >Mysql Tutorial >设置并查看数据库的C2审计的结果

设置并查看数据库的C2审计的结果

WBOY
WBOYOriginal
2016-06-07 14:57:051354browse

设置并查看数据库的C2审计的结果 无 EXEC sp_configure 'show advanced option', 1;EXEC sp_configure 'c2 audit mode', '1' RECONFIGURE;EXEC sp_configure 'c2 audit mode', '0' RECONFIGURE;EXEC sp_configure 'common criteria compliance enable',1;sele

设置并查看数据库的C2审计的结果
EXEC sp_configure 'show advanced option', 1;
EXEC sp_configure 'c2 audit mode', '1' RECONFIGURE;
EXEC sp_configure 'c2 audit mode', '0' RECONFIGURE;
EXEC sp_configure 'common criteria compliance enable',1;
select * from sys.traces

-- Reads from a file that is named \\serverName\Audit\HIPPA_AUDIT.sqlaudit 
SELECT * FROM sys.fn_get_audit_file ('C:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\audittrace20130216145422.trc',default,default);
GO
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn