
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
26.06.2017, 13:26
|
|||
|---|---|---|---|
|
|||
Аудит |
|||
|
#18+
Добрый день. Ситуация следующая. Включил аудит на БД: audit_sys_operations boolean TRUE audit_trail string DB В настройки по логированию аудита ничего не добавлено (запрос: "SELECT audit_option FROM dba_stmt_audit_opts" ничего не выдаёт) При этом в таблицу sys.aud$ пишется лог по select определённого пользователя (не sys или sysdba, sysoper). Noaudit разнообразного рода не помог. Подскажите, как можно узнать точные настройки аудита, которые пишут лог в таблицу. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
26.06.2017, 18:51
|
|||
|---|---|---|---|
Аудит |
|||
|
#18+
Ilnov, Аудит бывает объектов, стейтментов и привилегий. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 10:34
|
|||
|---|---|---|---|
|
|||
Аудит |
|||
|
#18+
-2-Ilnov, Аудит бывает объектов, стейтментов и привилегий. SELECT * FROM DBA_OBJ_AUDIT_OPTS SELECT * FROM DBA_PRIV_AUDIT_OPTS По обоим запросам нет результатов sys.aud$ продолжает заполняться. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 11:15
|
|||
|---|---|---|---|
Аудит |
|||
|
#18+
Ilnov, Видимо, надо глубже копать [src oracle] select * from dictionary where table_name like '%AUD%'; show parameter aud [/scr] или всё-таки показать запись из таблицы аудита. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 12:42
|
|||
|---|---|---|---|
|
|||
Аудит |
|||
|
#18+
dba123Ilnov, Видимо, надо глубже копать [src oracle] select * from dictionary where table_name like '%AUD%'; show parameter aud [/scr] или всё-таки показать запись из таблицы аудита. select * from dictionary where table_name like '%AUD%' ALL_AUDIT_POLICIES All fine grained auditing policies in the database ALL_AUDIT_POLICY_COLUMNS All fine grained auditing policy columns in the database ALL_DEF_AUDIT_OPTS Auditing options for newly created objects ALL_REPAUDIT_ATTRIBUTE Information about attributes automatically maintained for replication ALL_REPAUDIT_COLUMN Information about columns in all shadow tables for replicated tables which are accessible to the user AUDIT_ACTIONS Description table for audit trail action type codes. Maps action type numbers to action type names DBA_AUDIT_EXISTS Lists audit trail entries produced by AUDIT NOT EXISTS and AUDIT EXISTS DBA_AUDIT_MGMT_CLEAN_EVENTS The history of cleanup events DBA_AUDIT_MGMT_CLEANUP_JOBS The view displays the currently configured audit trail purge jobs DBA_AUDIT_MGMT_CONFIG_PARAMS The view displays the currently configured audit trail properties that are defined by the DBMS_AUDIT_MGMT PL/SQL package DBA_AUDIT_MGMT_LAST_ARCH_TS The Last Archive Timestamps set for the Audit Trail Clean up DBA_AUDIT_OBJECT Audit trail records for statements concerning objects, specifically: table, cluster, view, index, sequence, [public] database link, [public] synonym, procedure, trigger, rollback segment, tablespace, role, user DBA_AUDIT_POLICIES Fine grained auditing policies in the database DBA_AUDIT_POLICY_COLUMNS All fine grained auditing policy columns in the database DBA_AUDIT_SESSION All audit trail records concerning CONNECT and DISCONNECT DBA_AUDIT_STATEMENT Audit trail records concerning grant, revoke, audit, noaudit and alter system DBA_AUDIT_TRAIL All audit trail entries DBA_COMMON_AUDIT_TRAIL Combined Standard and Fine Grained audit trail entries DBA_FGA_AUDIT_TRAIL All fine grained audit event logs DBA_OBJ_AUDIT_OPTS Auditing options for all tables and views with atleast one option set DBA_PRIV_AUDIT_OPTS Describes current system privileges being audited across the system and by user DBA_REPAUDIT_ATTRIBUTE Information about attributes automatically maintained for replication DBA_REPAUDIT_COLUMN Information about columns in all shadow tables for all replicated tables in the database DBA_STMT_AUDIT_OPTS Describes current system auditing options across the system and by user GV$XML_AUDIT_TRAIL Synonym for GV_$XML_AUDIT_TRAIL USER_AUDIT_OBJECT Audit trail records for statements concerning objects, specifically: table, cluster, view, index, sequence, [public] database link, [public] synonym, procedure, trigger, rollback segment, tablespace, role, user USER_AUDIT_POLICIES All fine grained auditing policies for objects in user schema USER_AUDIT_POLICY_COLUMNS Users fine grained auditing policy columns in the database USER_AUDIT_SESSION All audit trail records concerning CONNECT and DISCONNECT USER_AUDIT_STATEMENT Audit trail records concerning grant, revoke, audit, noaudit and alter system USER_AUDIT_TRAIL Audit trail entries relevant to the user USER_OBJ_AUDIT_OPTS Auditing options for user's own tables and views with atleast one option set USER_REPAUDIT_ATTRIBUTE Information about attributes automatically maintained for replication USER_REPAUDIT_COLUMN Information about columns in all shadow tables for user's replicated tables V$XML_AUDIT_TRAIL Synonym for V_$XML_AUDIT_TRAIL show parameter aud NAME TYPE VALUE -------------------- ------- --------------------------- audit_file_dest string /opt/oracle/admin/EDW/adump audit_syslog_level string audit_sys_operations boolean TRUE audit_trail string DB 10 строк из таблицы sys.aud$ прикреплены к сообщению ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 14:05
|
|||
|---|---|---|---|
Аудит |
|||
|
#18+
Ilnov, noaudit (standard) сработает, если конкретно указывал этого пользователя .. by kxen; ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 15:35
|
|||
|---|---|---|---|
|
|||
Аудит |
|||
|
#18+
dba123Ilnov, noaudit (standard) сработает, если конкретно указывал этого пользователя .. by kxen; Уже пробовал noaudit select table by kxen; noaudit select any table by kxen Запись продолжается. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 15:38
|
|||
|---|---|---|---|
Аудит |
|||
|
#18+
dba123Ilnov, noaudit (standard) сработает, если конкретно указывал этого пользователя audit ... by kxen;исправил ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 16:18
|
|||
|---|---|---|---|
|
|||
Аудит |
|||
|
#18+
dba123dba123Ilnov, noaudit (standard) сработает, если конкретно указывал этого пользователя audit ... by kxen;исправил выполнил audit select table by kxen и audit select any table by kxen По запросу SELECT * FROM DBA_PRIV_AUDIT_OPTS выдаёт KXEN SELECT ANY TABLE BY SESSION BY SESSION Выполнил noaudit select any table by kxen и noaudit select table by kxen По запросу SELECT * FROM DBA_PRIV_AUDIT_OPTS ничего не выдаёт Запись в sys.aud$ продолжается. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
27.06.2017, 16:50
|
|||
|---|---|---|---|
|
|||
Аудит |
|||
|
#18+
сессии проблемного пользователя после noaudit перелогинивали? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=52&mobile=1&tid=1885691]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
180ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
50ms |
get tp. blocked users: |
1ms |
| others: | 232ms |
| total: | 506ms |

| 0 / 0 |
