This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 73945a0c0199b54c0c3f7891e25c5f52be457aaa
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Mar 29 10:09:50 2021 +0200

    Create mappings for audit log
    
    The audit log will contain information about changes to stored objects.
    Examples could be: indexing an email, hiding attachments, changing LID.
---
 tools/mappings.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/tools/mappings.yaml b/tools/mappings.yaml
index 10984b8..d927752 100644
--- a/tools/mappings.yaml
+++ b/tools/mappings.yaml
@@ -136,3 +136,21 @@ source:
       type: keyword
     source:
       type: binary
+auditlog:
+  properties:
+    id:
+      type: keyword
+    date:
+      format: yyyy/MM/dd HH:mm:ss
+      store: true
+      type: date
+    author:
+      type: keyword
+    remote:
+      type: keyword
+    action:
+      type: keyword
+    target:
+      type: keyword
+    log:
+      type: text

Reply via email to