Skip to content

Commit ac7d570

Browse files
authored
feat(cockpit): add traces permission to token (#1831)
1 parent a5589d9 commit ac7d570

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

api/cockpit/v1beta1/cockpit_sdk.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,14 @@ type TokenScopes struct {
397397
QueryLogs bool `json:"query_logs"`
398398
// WriteLogs: permission to write logs.
399399
WriteLogs bool `json:"write_logs"`
400-
// SetupLogsRules: permission to setup logs rules.
400+
// SetupLogsRules: permission to set up logs rules.
401401
SetupLogsRules bool `json:"setup_logs_rules"`
402-
// SetupAlerts: permission to setup alerts.
402+
// SetupAlerts: permission to set up alerts.
403403
SetupAlerts bool `json:"setup_alerts"`
404+
// QueryTraces: permission to fetch traces.
405+
QueryTraces bool `json:"query_traces"`
406+
// WriteTraces: permission to write traces.
407+
WriteTraces bool `json:"write_traces"`
404408
}
405409

406410
// Service API

0 commit comments

Comments
 (0)