change eventlog message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -208,7 +208,7 @@ func ListSecrets(c *gin.Context) {
|
|||||||
// Create audit record
|
// Create audit record
|
||||||
a := models.Audit{
|
a := models.Audit{
|
||||||
UserId: UserId,
|
UserId: UserId,
|
||||||
EventText: fmt.Sprintf("Listed %d secrets, %+v", len(output), s),
|
EventText: fmt.Sprintf("Listed %d secrets accessible to user", len(output)),
|
||||||
}
|
}
|
||||||
a.AutidLogAdd()
|
a.AutidLogAdd()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user