Oracle SA_AUDIT_ADMIN Version 20c |
---|
General Information | |||||||||||
Library Note | |||||||||||
Purpose | This package configures auditing for labels and policies specific to Oracle Label Security and, in addition, creates an auditing-related view. | ||||||||||
AUTHID | DEFINER | ||||||||||
Dependencies |
|
||||||||||
Documented | Yes | ||||||||||
First Available | 10.1 | ||||||||||
Security Model | Owned by LBACSYS with no privileges granted. To use this package a schema must be granted the policy_DBA role. |
||||||||||
Source | {ORACLE_HOME}/rdbms/admin/prvtolsdd.plb | ||||||||||
Subprograms | |||||||||||
AUDIT | |||||||||||
Enables policy-specific auditing. Audit records capture Oracle OLS administrative actions and the use of Oracle Label Security privileges that were used during logons, DML executions, and trusted stored procedure invocations |
sa_audit_admin.audit( |
||||||||||
exec sa_audit_admin.audit('DATA_ACCESS'); |
|||||||||||
AUDIT_LABEL | |||||||||||
Records policy labels during auditing | sa_audit_admin.audit_label(policy_name IN VARCHAR2); |
||||||||||
exec sa_audit_admin.audit_label('DATA_ACCESS'); |
|||||||||||
AUDIT_LABEL_ENABLED | |||||||||||
Returns a flag indicating whether labels are being recorded in audit records for the policy | sa_audit_admin.audit_label_enabled(policy_name IN VARCHAR2) RETURN BOOLEAN; |
||||||||||
BEGIN |
|||||||||||
AUDIT_LABEL_ENABLED_SQL | |||||||||||
Undocumented but identical in function to AUDIT_LABEL_ENABLED, above, except that it returns an integer value and the function can be incorporated into SQL statements | sa_audit_admin.audit_label_enabled_sql(policy_name IN VARCHAR2) |
||||||||||
SELECT sa_audit_admin.audit_label_enabled_sql('DATA_ACCESS') |
|||||||||||
CREATE_VIEW | |||||||||||
Creates an audit trail view named DBA_policyname_AUDIT_TRAIL but the user can optionally specify a different name | sa_audit_admin.create_view( |
||||||||||
exec sa_audit_admin.create_view('DATA_ACCESS', 'OLS_AUD$_DAP'); |
|||||||||||
DROP_VIEW | |||||||||||
Drops the OLS auditing view | sa_audit_admin.drop_view( |
||||||||||
exec sa_audit_admin.drop_view('DATA_ACCESS', 'OLS_AUD$_DAP'); |
|||||||||||
NOAUDIT | |||||||||||
Disables Oracle Label Security policy specific auditing A list of audit options is associated with the AUDIT procedure above |
sa_audit_admin.noaudit( |
||||||||||
exec sa_audit_admin.noaudit('DATA_ACCESS'); |
|||||||||||
NOAUDIT_LABEL | |||||||||||
Disables the auditing of policy labels | sa_audit_admin.noaudit_label(); |
||||||||||
exec sa_audit_admin.noaudit_label('DATA_ACCESS'); |