Skip to content

Implement audit log in mysql #68

Closed
@hakasapl

Description

@hakasapl

There should be an audit log in mysql stored in a table with the following fields:

  • id Primary auto increment value
  • timestamp second precision timestamp in UTC
  • operator the user doing the operation
  • operator_ip IP of the operator
  • action_type the action type. Could be
    • user_added when user gets created
    • sshkey_modify when ssh keys get modified for a user
    • etc....
  • recipient the user which the action is done upon (might be the same as the operator in many cases)

The boostrap file for the dev environment sql will need to be updated along with the code.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions