public interface AuditService
| Modifier and Type | Method and Description |
|---|---|
AuditLogConfiguration |
getConfiguration()
Returns current auditing configuration
|
boolean |
isEnabled()
Deprecated.
As of v3.2, replaced by
shouldAuditEvent() |
void |
saveAudit(AuditLogChangeset changeset)
Persists an audit log changeset.
|
void |
saveConfiguration(AuditLogConfiguration auditLogConfiguration)
Sets the new configuration for auditing
|
<RESULT> List<RESULT> |
searchAuditLog(AuditLogQuery<RESULT> query)
Queries the audit log.
|
boolean |
shouldAuditEvent()
Allows the caller to determine whether it should attempt to generate audit events.
|
void saveAudit(AuditLogChangeset changeset)
changeset - the changeset that will be persisted<RESULT> List<RESULT> searchAuditLog(AuditLogQuery<RESULT> query)
List of AuditLogChangesets, which match the criteria specified in
the query. The results will be sorted by the timestamp, descending.query - the search query@Deprecated boolean isEnabled()
shouldAuditEvent()void saveConfiguration(AuditLogConfiguration auditLogConfiguration)
auditLogConfiguration - new configurationAuditLogConfiguration getConfiguration()
boolean shouldAuditEvent()
Copyright © 2024 Atlassian. All rights reserved.