Skip to content

chore: add .snyk config file to ignore directories that we don't bu… #39

chore: add .snyk config file to ignore directories that we don't bu…

chore: add .snyk config file to ignore directories that we don't bu… #39

Triggered via push July 18, 2024 22:46
Status Failure
Total duration 9h 53m 51s
Artifacts
Matrix: golangci-lint
Matrix: govulncheck
Fit to window
Zoom out
Zoom in

Annotations

40 errors
golangci-lint (components/notebook-controller): components/notebook-controller/pkg/culler/culler.go#L137
S1033: unnecessary guard around call to delete (gosimple)
golangci-lint (components/notebook-controller): components/notebook-controller/pkg/culler/culler.go#L325
S1009: should omit nil check; len() for []github.com/kubeflow/kubeflow/components/notebook-controller/pkg/culler.KernelStatus is defined as zero (gosimple)
golangci-lint (components/notebook-controller): components/notebook-controller/pkg/culler/culler.go#L362
S1009: should omit nil check; len() for []github.com/kubeflow/kubeflow/components/notebook-controller/pkg/culler.TerminalStatus is defined as zero (gosimple)
golangci-lint (components/notebook-controller): components/notebook-controller/controllers/culling_controller.go#L359
S1009: should omit nil check; len() for []github.com/kubeflow/kubeflow/components/notebook-controller/controllers.KernelStatus is defined as zero (gosimple)
golangci-lint (components/notebook-controller): components/notebook-controller/controllers/culling_controller.go#L395
S1009: should omit nil check; len() for []github.com/kubeflow/kubeflow/components/notebook-controller/controllers.TerminalStatus is defined as zero (gosimple)
govulncheck (components/notebook-controller)
notebook.main calls manager.New, which eventually calls http2.ConfigureTransports
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.ConnectionError.Error
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.ErrCode.String
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.FrameHeader.String
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.FrameType.String
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.GoAwayError.Error
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.Setting.String
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.SettingID.String
govulncheck (components/notebook-controller)
culler.UpdateNotebookLastActivityAnnotation calls fmt.Sprintf, which eventually calls http2.StreamError.Error
govulncheck (components/notebook-controller)
culler.getNotebookResourceResponse calls http.Client.Get, which eventually calls http2.Transport.NewClientConn
govulncheck (components/odh-notebook-controller)
controllers.SetContainerImageFromRegistry calls dynamic.NewForConfig, which eventually calls http2.ConfigureTransports
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls admission.Errored, which calls http2.ConnectionError.Error
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.ErrCode.String
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.FrameHeader.String
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.FrameType.String
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls admission.Errored, which calls http2.GoAwayError.Error
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.Setting.String
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls fmt.Sprintf, which eventually calls http2.SettingID.String
govulncheck (components/odh-notebook-controller)
controllers.NotebookWebhook.Handle calls admission.Errored, which calls http2.StreamError.Error
govulncheck (components/odh-notebook-controller)
controllers.SetContainerImageFromRegistry calls dynamic.dynamicResourceClient.List, which eventually calls http2.Transport.NewClientConn
golangci-lint (components/odh-notebook-controller): components/odh-notebook-controller/e2e/notebook_creation_test.go#L142
SA4009: argument err is overwritten before first use (staticcheck)
golangci-lint (components/odh-notebook-controller): components/odh-notebook-controller/controllers/notebook_route.go#L47
SA1019: pointer.Int32Ptr is deprecated: Use ptr.To instead. (staticcheck)
golangci-lint (components/odh-notebook-controller): components/odh-notebook-controller/controllers/notebook_webhook.go#L187
SA1019: pointer.Int32Ptr is deprecated: Use ptr.To instead. (staticcheck)
golangci-lint (components/odh-notebook-controller): components/odh-notebook-controller/controllers/notebook_webhook.go#L210
SA1019: pointer.Int32Ptr is deprecated: Use ptr.To instead. (staticcheck)