-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaudit_fix.sql
61 lines (46 loc) · 1.17 KB
/
audit_fix.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Audit system audit;
noAudit all on sys.aud$ by access;
--Audit all on sys.audit$ by access;
--Audit all on sys.audbkp1 by access;
--Audit all on sys.audbkp2 by access;
--Audit all on sys.audbkp3 by access;
Audit session;
Audit system grant;
audit role;
audit alter system;
audit alter database;
audit tablespace;
audit rollback segment;
audit public database link;
audit public synonym;
audit user;
audit index;
audit procedure;
audit cluster;
audit sequence;
audit synonym;
audit table;
audit trigger;
audit view;
audit alter table;
audit grant procedure;
audit grant sequence;
audit grant table;
audit alter sequence;
noaudit delete any table;
noaudit insert any table;
noaudit update any table;
noaudit select any table;
audit alter any table;
audit drop any table;
noaudit lock any table;
audit alter any procedure;
audit drop any procedure;
noaudit execute any procedure;
audit alter any trigger;
audit drop any trigger;
--audit insert table by (DBA id) by session;
--audit update table by (DBA id) by session;
--audit delete table by (DBA id) by session;
--audit select table by (DBA id) by session;
audit profile ;