Added probe that scans for Docker registry creds #25
Annotations
5 errors
|
golangci-lint
issues found
|
|
golangci-lint:
pkg/probe/docker_creds.go#L68
error returned from external package is unwrapped: sig: func os.ReadFile(name string) ([]byte, error) (wrapcheck)
|
|
golangci-lint:
pkg/detector/docker_creds.go#L54
error returned from external package is unwrapped: sig: func encoding/json.Unmarshal(data []byte, v any) error (wrapcheck)
|
|
golangci-lint:
pkg/detector/docker_creds.go#L27
Consider pre-allocating `findings` (prealloc)
|
|
golangci-lint:
pkg/detector/docker_creds.go#L41
printf: fmt.Sprintf format %-% has unrecognized flag - (govet)
|
Loading