sys_auditテーブルに出力されるレコードについて

kawaharah
Tera Contributor

お世話になっております。

 

sys_auditテーブルのレコードを見ていたところ、テーブルのカラムのauditをtrueに設定していないカラムの変更も出力されています。(sys_userの最終ログインやcsm_consumer_userのロックアウトの変更など)

sys_auditテーブルで変更が出力されるのは、audit=trueのカラムの変更のみという認識だったのですが、それとは別の設定箇所があったりするのでしょうか?または前提の認識が間違っているのでしょうか?

 

よろしくお願いします。

1 件の受理された解決策

Ankur Bawiskar
Tera Patron
Tera Patron

@kawaharah 

if table is audited then all fields under it will be audited even if a field is excluded.

no_audit field attribute is used if you want to exclude a field from audit if table is audited.

check these links for better explanation

Exclusion list Auditing - How to activate/deactivate auditing for a specific table or field 

[Auditing] New audit modes introduced in [Istanbul] and how to enable auditing for a table that is s... 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

元の投稿で解決策を見る

1件の返信1

Ankur Bawiskar
Tera Patron
Tera Patron

@kawaharah 

if table is audited then all fields under it will be audited even if a field is excluded.

no_audit field attribute is used if you want to exclude a field from audit if table is audited.

check these links for better explanation

Exclusion list Auditing - How to activate/deactivate auditing for a specific table or field 

[Auditing] New audit modes introduced in [Istanbul] and how to enable auditing for a table that is s... 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader