Skip to content
Snippets Groups Projects
Commit 413c354e authored by Francé Wilke's avatar Francé Wilke
Browse files

API logs :: Add a field to use for GraphQL queries

parent 11b4413d
Branches
Tags v1.271.0
No related merge requests found
...@@ -189,6 +189,7 @@ type ApiLog struct { ...@@ -189,6 +189,7 @@ type ApiLog struct {
Username string `json:"username,omitempty"` Username string `json:"username,omitempty"`
SourceIP string `json:"source_ip,omitempty"` // only logged for incoming API SourceIP string `json:"source_ip,omitempty"` // only logged for incoming API
UserAgent string `json:"user_agent,omitempty"` // only for incoming, indicate type of browser when UI UserAgent string `json:"user_agent,omitempty"` // only for incoming, indicate type of browser when UI
GraphQLQueryRoot string `json:"graphql_query_root,omitempty"`
Request ApiLogRequest `json:"request"` Request ApiLogRequest `json:"request"`
Response ApiLogResponse `json:"response"` Response ApiLogResponse `json:"response"`
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment