Interface AuditRecord
- All Known Implementing Classes:
DefaultAuditRecord, PersistentAuditRecord
public interface AuditRecord
A record about a single audit event
-
Method Summary
Modifier and TypeMethodDescriptionA description of the action.The target of the action.The value of the action.getActor()Who performed the event.Where the actor was when the action was performed.intThe ApplicationScope where this record was generated fromA Description of the originating system for this record@Nullable StringThe previous value of the action's target, prior to this action being performed.intThe StatusCode that represents whether this action was successful or not.The timestamp at which this record occurred
-
Method Details
-
getActor
String getActor()Who performed the event. Should be a username or appropriate system equivalent if the event was performed automatically by a program -
getActorHost
String getActorHost()Where the actor was when the action was performed. Should be an IP address or a hostname of a computer -
getAction
String getAction()A description of the action. Examples: "tag write", "tag delete", "tag edit", " query update", " login", "logout" "project save" -
getActionTarget
String getActionTarget()The target of the action. -
getActionValue
String getActionValue()The value of the action. Might not be present for all action types -
getStatusCode
int getStatusCode()The StatusCode that represents whether this action was successful or not. -
getTimestamp
Date getTimestamp()The timestamp at which this record occurred -
getOriginatingSystem
String getOriginatingSystem()A Description of the originating system for this record -
getOriginatingContext
int getOriginatingContext()The ApplicationScope where this record was generated from -
getPreviousValue
@Nullable String getPreviousValue()The previous value of the action's target, prior to this action being performed. Might not be present for all action types.
-