Reenabling auditing
Special considerations for threshold procedures for audit segments
Installation Guide
Reenable all auditing options for stored procedures using the audit options you
recorded during pre-upgrade. Reenter the audit options using
For example, if you had enabled stored procedure auditing for
stored procedure in your server before upgrade, run the following
command to reenable auditing on
sp_audit "exec_procedure", "all", "sp_addlogin", "on"
Adaptive Server 12.5.x and later includes the following global audit options for
:
sp_audit
•
security
•
dbcc
The functionality provided by the following
covered by the
sp_audit security
•
server boot
•
roles
These options are turned off by default and are not turned on even if you used
sp_auditoption "all", "on"
than 11.5.
To turn on these options, use:
1> sp_audit "security", "all", "all", "on"
2> go
1> sp_audit "dbcc", "all", "all", "on"
2> go
For more information, see the Reference Manual.
If your installation used a threshold procedure to archive the
using T-SQL similar to the following example:
INSERT MyPre15SysAuditHistoryTable SELECT * FROM
sysaudits_0n
Where n corresponds to the
MyPre15SysAuditHistoryTable is a table defined prior to Adaptive Server
version 15.0.2, then you must alter MyPre15SysAuditHistoryTable to add a
column using the following command:
nodeid
CHAPTER 5
sp_addlogin
sp_auditoption
global audit option:
to turn on all global audit options in a version earlier
table number 1 – 8 and
sysaudits
Upgrading Adaptive Server
sp_audit
sp_addlogin
sp_audit
:
options is now
sysaudits
.
table
77
Need help?
Do you have a question about the Adaptive Server Enterprise 15.0.2 and is the answer not in the manual?
Questions and answers