Skip to content

chore(deps): update module golang.org/x/crypto to v0.12.0 #795

chore(deps): update module golang.org/x/crypto to v0.12.0

chore(deps): update module golang.org/x/crypto to v0.12.0 #795

Triggered via push September 1, 2023 15:41
Status Failure
Total duration 7m 4s
Artifacts

push_pr.yml

on: push
Matrix: Build integration for
Static analysis and linting
44s
Static analysis and linting
Matrix: Helm chart Lint
Unit tests
40s
Unit tests
Matrix: Kubernetes E2E tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Static analysis and linting: src/server/webhook.go#L178
Function 'ServeHTTP' has too many statements (51 > 50) (funlen)
Static analysis and linting: src/server/webhook_test.go#L22
Function 'TestServeHTTP' is too long (116 > 100) (funlen)
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.go#L144
G601: Implicit memory aliasing in for loop. (gosec)
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)
Kubernetes E2E tests (v1.16.15)
Process completed with exit code 2.
Static analysis and linting
Unexpected input(s) 'auditOn', valid inputs are ['entryPoint', 'args', 'config', 'publishToken']