diff --git a/api/audit.go b/api/audit.go deleted file mode 100644 index 602ad089d034d5bdbcb840203a94f9f3437f9d1e..0000000000000000000000000000000000000000 --- a/api/audit.go +++ /dev/null @@ -1,49 +0,0 @@ -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}, -// }, -// }, -// }, -// }, -// } - -// } -// }