Packages

p

nelson

audit

package audit

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AuditAction extends Product with Serializable

    Enumerates all the actions that can to applied to an Auditable

  2. sealed trait AuditCategory extends Product with Serializable

    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
  4. final case class AuditEvent[A](event: A, timestamp: Instant, action: AuditAction, releaseId: Option[Long], userLogin: String, auditable: Auditable[A]) extends Product with Serializable
  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
  6. trait Auditable[A] extends AnyRef

    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

Ungrouped