Package org.saidone.service.audit
Interface AuditEntryKeys
public interface AuditEntryKeys
Abbreviated MongoDB field names and audit metadata keys used throughout the
auditing subsystem. These constants keep the stored documents small while
providing a single point of reference for the mapping between Java fields and
their persisted counterparts.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Field name for the request or response body.static final String
Field name for the metadata document.static final String
Request/response identifier.static final String
Client IP address.static final String
HTTP method.static final String
Requested path.static final String
HTTP response status code.static final String
HTTPUser-Agent
header value.static final String
Constant identifying request audit entries.static final String
Constant identifying response audit entries.static final String
Field name for the audit entry timestamp.static final String
Field name for the entry type.
-
Field Details
-
TIMESTAMP
Field name for the audit entry timestamp.- See Also:
-
METADATA
Field name for the metadata document.- See Also:
-
TYPE
Field name for the entry type.- See Also:
-
REQUEST
Constant identifying request audit entries.- See Also:
-
RESPONSE
Constant identifying response audit entries.- See Also:
-
METADATA_ID
Request/response identifier.- See Also:
-
METADATA_IP
Client IP address.- See Also:
-
METADATA_USER_AGENT
HTTPUser-Agent
header value.- See Also:
-
METADATA_PATH
Requested path.- See Also:
-
METADATA_METHOD
HTTP method.- See Also:
-
METADATA_STATUS
HTTP response status code.- See Also:
-
BODY
Field name for the request or response body.- See Also:
-