v1.29.2 #2195
Triggered via release
October 7, 2024 12:05
NewRelic-K8s-Agents-Bot
published
v1.29.2
Status
Success
Total duration
3m 20s
Artifacts
–
push_pr.yml
on: release
Matrix: Build integration for
Static analysis and linting
34s
Matrix: Helm chart Lint
Matrix: Kubernetes E2E tests
notify-failure
0s
Annotations
10 errors
Static analysis and linting:
src/server/webhook.go#L126
assignOp: replace `path = path + "/-"` with `path += "/-"` (gocritic)
|
Static analysis and linting:
src/server/webhook_test.go#L34
wrapperFunc: use bytes.ReplaceAll method in `bytes.Replace(makeTestData(t, "default"), []byte("\"object\""), []byte("\"foo\""), -1)` (gocritic)
|
Static analysis and linting:
cmd/server/main.go#L39
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(appName, "-", "_", -1)` (gocritic)
|
Static analysis and linting:
cmd/server/main.go#L37
cyclomatic complexity 13 of func `main` is high (> 10) (gocyclo)
|
Static analysis and linting:
src/server/webhook_test.go#L114
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
Static analysis and linting:
src/server/webhook_test.go#L146
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
Static analysis and linting:
cmd/server/main.go#L67
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
Static analysis and linting:
cmd/server/main.go#L72
G402: TLS MinVersion too low. (gosec)
|
Static analysis and linting:
cmd/server/main.go#L82
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
Static analysis and linting:
src/server/readiness_probe_test.go#L31
unnecessary conversion (unconvert)
|