简体   繁体   English

ORACLE AUDIT_TRAIL

[英]ORACLE AUDIT_TRAIL

What should be done to enable the system to observe users?应该怎么做才能让系统观察用户? I try我试试

alter system set audit_trail=db,extended scope=spfile;

but when I check但是当我检查

select * from sys.dba_audit_trail;

there is no rows selected.没有选择任何行。

In general you need to use the AUDIT statement which a specific SQL statement.一般来说,您需要使用特定的SQL语句的AUDIT语句。

For versions older than 12, you need to use AUDIT (traditional auditing) and for newer versions you should use AUDIT (Unified auditing) .对于 12 之前的版本,您需要使用AUDIT(传统审计) ,对于较新的版本,您应该使用AUDIT(统一审计)

Auditing is a large topic within Oracle.审计是 Oracle 中的一个大主题。 You've enabled it with your initialization parameter setting, but you still need to tell Oracle exactly which activity you want to monitor.您已使用初始化参数设置启用它,但您仍需要准确告诉 Oracle 您要监控哪个活动。

Here is a "Getting Started" guide to auditing that should help:这是一个“入门”的审计指南,应该会有所帮助:

And some additional references on best practices and features:以及一些关于最佳实践和功能的额外参考:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM