Skip to content
Snippets Groups Projects
Commit 30e91871 authored by Jan Semmelink's avatar Jan Semmelink
Browse files

Removed api/audit

parent 5a132b45
No related branches found
No related tags found
1 merge request!4Add opensearch client to write API log events
package api
// func x() {
// x := map[string]opensearch.MappingProperty{
// "account_id": {Type: "keyword"},
// "http_method": {Type: "keyword"},
// "path": {Type: "keyword"},
// "id": {Type: "long"},
// "request_id": {Type: "text"}, //, Fields: MappingFieldProperties{Keyword: MappingKeyword{Type:"keyword", IgnoreAbove: 256}}},
// "initial_auth_type": {Type: "text"},
// "initial_auth_username": {Type: "text"},
// "ip": {Type: "text"},
// "relevant_id": {Type: "text"},
// "user_agent": {Type: "text"},
// "user_id": {Type: "long"},
// "request": {
// Properties: map[string]MappingProperty{
// "body": {Type: "object", Enabled: false},
// "query": {
// Properties: map[string]MappingProperty{
// "account_id": {Type: "keyword"},
// "id": {Type: "text"},
// "ids": {Type: "text"},
// "invoice_id": {Type: "text"},
// "shipment_id": {Type: "text"},
// "user_id": {Type: "text"},
// "limit": {Type: "text"},
// "offset": {Type: "text"},
// "search": {Type: "text"},
// "order": {Type: "text"},
// "order_by": {Type: "text"},
// "include_relations": {Type: "keyword"},
// },
// },
// },
// },
// "response_code": {Type: "long"},
// "response_size": {Type: "long"},
// "response": {
// Properties: map[string]MappingProperty{
// "body": {Type: "object", Enabled: false},
// },
// },
// },
// },
// }
// }
// }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment