Skip to content

Merge pull request #1723 from Prateeknandle/alert-throttling #7

Merge pull request #1723 from Prateeknandle/alert-throttling

Merge pull request #1723 from Prateeknandle/alert-throttling #7

Triggered via push June 6, 2024 06:37
Status Failure
Total duration 1m 48s
Artifacts

ci-test-go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 34 warnings
go-vuln
feeder.NewFeeder calls net.Listen, which eventually calls netip.Addr.IsLoopback
go-vuln
feeder.NewFeeder calls net.Listen, which eventually calls netip.Addr.IsMulticast
go-vuln
util.ContainerInfo calls grpc.Dial, which eventually calls netip.Addr.IsLoopback
go-vuln
util.ContainerInfo calls grpc.Dial, which eventually calls netip.Addr.IsMulticast
go-vuln
util.init calls vm.init, which eventually calls addressing.init
go-vuln
util.K8sExecInPodWithContainer calls rest.Request.VersionedParams, which eventually calls api.Rule.DeepCopyInto
go-vuln
util.K8sDelete calls fmt.Sprintf, which eventually calls api.Rules.String
go-vuln
util.init calls vm.init, which eventually calls api.init
go-vuln
util.init calls vm.init, which eventually calls api.init
go-vuln
util.init calls vm.init, which eventually calls bgp.New
go-fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
license
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/configmap/kubearmor_config_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/configmap/kubearmor_config_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/configmap/kubearmor_config_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L10
should not use dot imports
go-lint-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint: KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
go-lint: KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
go-lint: KubeArmor/cert/certloader.go#L81
exported type K8sCertLoader should have comment or be unexported
go-lint: KubeArmor/cert/cert.go#L30
don't use underscores in Go names; const KubeArmor_CN should be KubeArmorCN
go-lint: KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
go-lint: KubeArmor/cert/certloader.go#L15
type name will be used as cert.CertLoader by other packages, and that stutters; consider calling this Loader
go-lint: KubeArmor/cert/tls.go#L74
method CreateTlsClientCredentials should be CreateTLSClientCredentials
go-lint: KubeArmor/cert/tls.go#L41
func NewTlsCredentialManager should be NewTLSCredentialManager
go-lint: KubeArmor/cert/tls.go#L88
method CreateTlsServerCredentials should be CreateTLSServerCredentials
go-lint: KubeArmor/cert/certloader.go#L19
comment on exported type SelfSignedCertLoader should be of the form "SelfSignedCertLoader ..." (with optional leading article)
go-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-vuln
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum