GithubHelp home page GithubHelp logo

devanb / meteor-audit-log Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 1.0 313 KB

Logging and auditing for Meteor applications based on clinical-hipaa-audit-log package.

License: MIT License

HTML 38.70% JavaScript 53.38% CSS 7.92%

meteor-audit-log's Introduction

This package is loosely based on the clinical:hipaa-audit-log package created by awatson1978.

{
  "public": {
    "auditLogConfig": {
      "initRecordOnStart": false, //default is false
      "layoutName": "",
      "highlightColor": "",
      "classes": {
        "ribbon": "",
        "select": "",
        "input": ""
      }
    }
  }
}
RouterLayer.route('/view-log', {
  name: 'view-log',
  template: 'logPage',
  layout: layoutName || 'layout'
});

##TODO

  • Migrate logPage ribbon to flexbox, style
  • Normalize Logger.js log element
  • Add ability to change logger options
    • Add option to customize icons for custom logger options
  • Add ability to audit an entity
    • Add Audit collection
    • Add Audit object creation
    • Diff an entity
  • Write tests
  • Add badges (ES2015, build passing/failing, atmosphere badge)
  • TravisCI?
  • Remove route (can't build authentication/authorization with router-layer)
    • Remove layoutName from settings.json auditLogConfig
  • Fix ribbon dropdown
  • Add custom list of event types

##Logger

var event = {
  eventType: "",
  userId: "",
  userName: "",
  collectionName: "",
  recordId: "",
  patientId: "",
  patientName: "",
  message: ""
};

##Audit

var audit = {
  entity_id
  entity_type
  audit_date
  entity

}

Event Types: table of event Types

meteor-audit-log's People

Stargazers

Yazid Jibrel avatar

Watchers

Devan avatar James Cloos avatar Yazid Jibrel avatar  avatar

Forkers

dorw123

meteor-audit-log's Issues

Add auditing

Add auditing and diff view.

  • Add Audit collection
  • Create Auditor object to save audit (and create log event, based on if user wants it or not)
  • Create diff view for Audit collection based on objectID

Expand AuditLogConfig object

Research not storing config object in a Session. Possibly store in env variable?

Expand config object to store default layout template name and allow user to specify if they want an init record on server restart/Meteor.startup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.