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 StringField name for the request or response body.static final StringField name for the metadata document.static final StringRequest/response identifier.static final StringClient IP address.static final StringHTTP method.static final StringRequested path.static final StringHTTP response status code.static final StringHTTPUser-Agentheader value.static final StringConstant identifying request audit entries.static final StringConstant identifying response audit entries.static final StringField name for the audit entry timestamp.static final StringField 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-Agentheader 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:
-