@@ -40,11 +40,11 @@ gitbase server --user-file /path/to/user-file.json -d /my/repositories/path
4040
4141## Audit
4242
43- Gitbase offers audit traces on logs. Right now, we have three different kinds of traces : ` authentication ` , ` authorization ` and ` query `
43+ Gitbase offers audit trails on logs. Right now, we have three different kinds of records : ` authentication ` , ` authorization ` and ` query `
4444
4545### Authentication
4646
47- Trace triggered when a user is trying to connect to gitbase. It contains the following information:
47+ Record triggered when a user is trying to connect to gitbase. It contains the following information:
4848
4949- action: Always ` authentication ` .
5050- system: Always ` audit `
@@ -61,7 +61,7 @@ action=authentication address="127.0.0.1:41720" err="Access denied for user 'tes
6161
6262### Authorization
6363
64- Trace triggered checking when a user is authorized to execute a specific valid query with their permissions. It contains the following information:
64+ Record triggered checking when a user is authorized to execute a specific valid query with their permissions. It contains the following information:
6565
6666- action: Always ` authorization ` .
6767- system: Always ` audit `
@@ -81,7 +81,7 @@ INFO[0007] audit trail action=authorization ad
8181
8282### Query
8383
84- Trace triggered at the end of the executed query. It contains the following information:
84+ Record triggered at the end of the executed query. It contains the following information:
8585
8686- action: Always ` query ` .
8787- system: Always ` audit `
@@ -92,6 +92,7 @@ Trace triggered at the end of the executed query. It contains the following info
9292- pid: Pid returns the process ID associated with this context. It will change in subsequent queries sent using the same connection.
9393- query: Query that client is trying to execute.
9494- err: If ` success=false ` . Human readable error describing the problem.
95+ - duration: Time that the query took to execute. If the format of the logs is ` JSON ` this duration unit is nanoseconds.
9596
9697Examples:
9798
0 commit comments