Closed TanmoySG closed 1 year ago
```json { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Generated schema for Root", "type": "object", "properties": { "entity_type": { "type": "string" }, "action": { "type": "string" }, "entity_path": { "type": "object", "properties": { "db": { "type": "string" }, "collection": { "type": "string" }, "user": { "type": "string" }, "role": { "type": "string" } }, "required": [ "db", "collection", "user", "role" ] }, "status": { "type": "string" }, "timestamp": { "type": "string" }, "actor": { "type": "string" }, "transaction_http_details": { "type": "object", "properties": { "url_endpoint": { "type": "string" }, "method": { "type": "string" }, "request": { "type": "object", "properties": { "user-agent": { "type": "object", "properties": {}, "required": [] }, "is_authenticated": { "type": "string" }, "payload": { "type": "object", "properties": {}, "required": [] } }, "required": [ "user-agent", "is_authenticated", "payload" ] }, "response": { "type": "object", "properties": { "http_status": { "type": "string" }, "response_body": { "type": "object", "properties": {}, "required": [] } }, "required": [ "http_status", "response_body" ] } }, "required": [ "url_endpoint", "method", "request", "response" ] } }, "required": [ "entity_type", "action", "entity_path", "status", "timestamp", "actor", "transaction_http_details" ] } ```
```json { "entity_type": "db/collection/user/role", "action": "privilege-used", "entity_path": { "db": "db", "collection": "collection", "user": "user", "role": "role" }, "status": "success/failure", "timestamp": "", "actor": "", "transaction_http_details": { "url_endpoint": "path without base url", "method": "POST/GET/etc", "request": { "user-agent": {}, "is_authenticated": "true/false", "payload": {} }, "response": { "http_status": "", "response_body": {} } } } ```
"user": {
"type": "string"
},
"role": {
"type": "string"
}
Transaction Logs storage
TxLogs
for wunderDb with detailed actions performed with complete payload and other details of a request made to wunderDb