support for unorchestrated rootfull Podman using OCI hook #4867
ci-test-go.yml
on: pull_request
go-fmt
19s
go-lint
45s
go-lint-tests
44s
go-sec
2m 11s
go-vuln
1m 28s
go-test
17s
license
28s
Annotations
17 errors and 34 warnings
go-test
no required module provides package github.com/containers/common/pkg/hooks/1.0.0; to add it:
|
go-test
no required module provides package github.com/containers/podman/v5/pkg/bindings; to add it:
|
go-test
no required module provides package github.com/containers/podman/v5/pkg/bindings/containers; to add it:
|
go-test
no required module provides package github.com/containers/podman/v5/pkg/domain/entities; to add it:
|
go-test
Process completed with exit code 1.
|
license
Process completed with exit code 1.
|
go-vuln
no required module provides package github.com/containers/common/pkg/hooks/1.0.0; to add it:
|
go-vuln:
KubeArmor/deployHook/main.go#L9
could not import github.com/containers/common/pkg/hooks/1.0.0 (invalid package name: "")
|
go-vuln
no required module provides package github.com/containers/podman/v5/pkg/bindings; to add it:
|
go-vuln
no required module provides package github.com/containers/podman/v5/pkg/bindings/containers; to add it:
|
go-vuln
no required module provides package github.com/containers/podman/v5/pkg/domain/entities; to add it:
|
go-vuln:
KubeArmor/hook/podman.go#L17
could not import github.com/containers/podman/v5/pkg/bindings (invalid package name: "")
|
go-vuln:
KubeArmor/hook/podman.go#L18
could not import github.com/containers/podman/v5/pkg/bindings/containers (invalid package name: "")
|
go-vuln:
KubeArmor/hook/podman.go#L19
could not import github.com/containers/podman/v5/pkg/domain/entities (invalid package name: "")
|
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-sec
Process completed with exit code 2.
|
go-test
The following actions use a deprecated Node.js version 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-fmt
The following actions use a deprecated Node.js version 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 use a deprecated Node.js version 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-tests
The following actions use a deprecated Node.js version 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/throttling/throttling_test.go#L11
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_test.go#L12
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/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#L12
should not use dot imports
|
go-lint-tests:
tests/k8s_env/privileged/privileged_test.go#L13
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#L12
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
The following actions use a deprecated Node.js version 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/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/deployHook/main.go#L1
should have a package comment
|
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:
KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/hook/main.go#L174
if block ends with a return statement, so drop this else and outdent its block
|
go-lint:
KubeArmor/hook/main.go#L4
should have a package comment
|
go-lint:
KubeArmor/hook/main.go#L420
if block ends with a return statement, so drop this else and outdent its block
|
go-lint:
KubeArmor/types/types.go#L662
exported type HookRequest should have comment or be unexported
|
go-lint:
KubeArmor/types/types.go#L668
exported type HookOperation should have comment or be unexported
|
go-lint:
KubeArmor/hook/main.go#L267
if block ends with a break statement, so drop this else and outdent its block
|
go-vuln
The following actions use a deprecated Node.js version 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-sec
The following actions use a deprecated Node.js version 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
|