MISP/INSTALL/build/technical_design/TD-Audit.txt

28 lines
838 B
Plaintext
Executable File

Audit Technical Design (TD)
To log in CakePHP we use an existing Model Behavior,
to write to a log database table.
https://github.com/eskil-saatvedt/CakePHP-Assets/blob/master/models/behaviors/LogableBehavior.php
Adds the logable Model Behavior.
http://bakery.cakephp.org/articles/rikdc/2010/06/07/syslog-component
Ads the syslog capability.
http://bakery.cakephp.org/articles/alkemann/2008/10/21/logablebehavior
http://www.bitsntricks.com/cakephp-logable-behaviour/
Short explaination itś use.
http://stackoverflow.com/questions/9791633/check-if-cakephp-update-changes-a-variable-in-update
This Logable Model Behavior seemed not to work in the UsersController,
so the change checks are done manual coded in the UsersController.
https://github.com/joebeeson/referee#readme
Can be handy lateron for log to db or syslog?