mirror of https://github.com/MISP/MISP
fix: [log] Do not log unnecessary data to AuditLog
parent
aa988e5f27
commit
2369cf23cb
|
@ -29,7 +29,6 @@ class AuditLogsController extends AppController
|
|||
'DecayingModel',
|
||||
'Object',
|
||||
'ObjectTemplate',
|
||||
'ObjectTemplateElement',
|
||||
'Organisation',
|
||||
'OrgBlocklist',
|
||||
'Post',
|
||||
|
|
|
@ -26,6 +26,7 @@ class AuditLogBehavior extends ModelBehavior
|
|||
'last_login' => true, // User
|
||||
'newsread' => true, // User
|
||||
'proposal_email_lock' => true, // Event
|
||||
'warninglist_entry_count' => true, // Warninglist
|
||||
];
|
||||
|
||||
private $modelInfo = [
|
||||
|
|
|
@ -5,7 +5,6 @@ App::uses('AppModel', 'Model');
|
|||
class ObjectTemplateElement extends AppModel
|
||||
{
|
||||
public $actsAs = array(
|
||||
'AuditLog',
|
||||
'Containable'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue