Skip to content

PMM-12251 Service accounts. #4551

PMM-12251 Service accounts.

PMM-12251 Service accounts. #4551

Triggered via pull request October 9, 2023 13:40
Status Failure
Total duration 15m 5s
Artifacts

main.yml

on: pull_request
Merge Gatekeeper
26s
Merge Gatekeeper
Slack Notification success
0s
Slack Notification success
Slack Notification failure
6s
Slack Notification failure
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Checks: managed/services/management/backup/artifacts_service.go#L131
Comment should end in a period (godot)
Checks: managed/services/management/backup/deps.go#L63
Comment should end in a period (godot)
Checks: managed/services/inventory/nodes.go#L236
Comment should end in a period (godot)
Checks: managed/services/grafana/client.go#L53
G101: Potential hardcoded credentials (gosec)
Checks: managed/services/grafana/client.go#L668
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
Checks: managed/services/grafana/client.go#L301
`(*Client).getTokenAuth` - `ctx` is unused (unparam)
Checks: agent/agents/mysql/perfschema/perfschema.go#L58
field `rw` is unused (unused)
Checks: agent/agents/mysql/perfschema/perfschema.go#L62
func `(*PerfSchema).mySQLVersion` is unused (unused)
Checks: managed/services/grafana/client_test.go#L178
missing cases in switch of type grafana.role: grafana.none, grafana.grafanaAdmin (exhaustive)
Checks: managed/utils/envvars/parser.go#L72
Function name: ParseEnvVars, Cyclomatic Complexity: 50, Halstead Volume: 4134.40, Maintainability Index: 18 (maintidx)