public interface AuditEventRepository
AuditEvents.| Modifier and Type | Method and Description |
|---|---|
void |
add(AuditEvent event)
Log an event.
|
List<AuditEvent> |
find(String principal,
Instant after,
String type)
Find audit events of specified type relating to the specified principal that
occurred
after the time provided. |
void add(AuditEvent event)
event - the audit event to logList<AuditEvent> find(String principal, Instant after, String type)
after the time provided.principal - the principal name to search for (or null if unrestricted)after - time after which an event must have occurred (or null if
unrestricted)type - the event type to search for (or null if unrestricted)Copyright © 2019 Pivotal Software, Inc.. All rights reserved.