Package

nelson

audit

Permalink

package audit

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AuditAction extends Product with Serializable

    Permalink

    Enumerates all the actions that can to applied to an Auditable

  2. sealed trait AuditCategory extends Product with Serializable

    Permalink

    Enumerates all the known Auditable categories and is used to provides context about the Auditable.

  3. final case class AuditContext(action: AuditAction, category: AuditCategory) extends Product with Serializable

    Permalink
  4. final case class AuditEvent[A](event: A, timestamp: Instant, action: AuditAction, releaseId: Option[Long], userLogin: String, auditable: Auditable[A]) extends Product with Serializable

    Permalink
  5. final case class AuditLog(id: ID, timestamp: Instant, releaseId: Option[Long], event: Option[argonaut.Json], category: String, action: String, login: Option[String]) extends Product with Serializable

    Permalink
  6. trait Auditable[A] extends AnyRef

    Permalink

    Represents an event that we wish to audit.

    Represents an event that we wish to audit. Because we are storing the events in a persistent store an encoding is necessary. Json was choosen because the shape of events varies and because most events already have a json encoder available. The category provides context outside of the json blob concerning the event. the category is usefull from a querying perspective.

  7. class Auditor extends AnyRef

    Permalink

Ungrouped