Skip to content

Merge pull request #1809 from Aryan-sharma11/fix-default-posture-logs #14

Merge pull request #1809 from Aryan-sharma11/fix-default-posture-logs

Merge pull request #1809 from Aryan-sharma11/fix-default-posture-logs #14

Triggered via push July 24, 2024 09:49
Status Success
Total duration 2m 0s
Artifacts

ci-test-go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 34 warnings
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-vuln
util.init calls vm.init, which eventually calls bgp.init
go-vuln
util.init calls vm.init, which eventually calls cell.Config[github.com/cilium/cilium/pkg/metrics.RegistryConfig]
go-vuln
util.init calls vm.init, which eventually calls cell.Invoke
go-vuln
util.init calls vm.init, which eventually calls cell.Metric[*github.com/cilium/cilium/pkg/metrics.LegacyMetrics]
go-fmt
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/cert.go#L30
don't use underscores in Go names; const KubeArmor_CN should be KubeArmorCN
go-lint: KubeArmor/cert/cert.go#L29
don't use underscores in Go names; const KubeArmor_ORG should be KubeArmorORG
go-lint: KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
go-lint: KubeArmor/cert/certloader.go#L19
comment on exported type SelfSignedCertLoader should be of the form "SelfSignedCertLoader ..." (with optional leading article)
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/enforcer/bpflsm/rulesHandling.go#L477
parameter 'newPosture' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
go-lint: KubeArmor/enforcer/bpflsm/mapHelpers.go#L45
comment on exported method BPFEnforcer.CreateContainerInnerMap should be of the form "CreateContainerInnerMap ..."
go-lint: KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
go-lint-tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L9
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/blockposture/block_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L14
should not use dot imports
go-lint-tests: tests/util/kartutil.go#L27
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L11
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-vuln
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum