feat(core): handle sctp protocol and all protocols with raw socket and add protocol:all network rule #4933
ci-test-go.yml
on: pull_request
go-fmt
19s
go-lint
31s
go-lint-tests
35s
go-sec
2m 5s
go-vuln
1m 47s
go-test
1m 41s
license
28s
Annotations
11 errors and 34 warnings
go-vuln
common.hasMultipleMounts calls mountinfo.GetMountInfo
|
go-vuln
common.checkOrMountDefaultLocations calls mountinfo.IsMountFS
|
go-vuln
common.init calls mountinfo.init
|
go-vuln
common.hasMultipleMounts calls mountinfo.GetMountInfo
|
go-vuln
common.checkOrMountDefaultLocations calls mountinfo.IsMountFS
|
go-vuln
common.init calls mountinfo.init
|
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-sec
Process completed with exit code 2.
|
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
|
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
|
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|
go-lint:
KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
|
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:
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/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
|
go-lint:
KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/state/stateAgent.go#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/cert/tls.go#L15
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
|
go-lint:
KubeArmor/cert/tls.go#L19
exported type TlsConfig should have comment or be unexported
|
go-lint:
KubeArmor/cert/tls.go#L37
exported type TlsCredentialManager should have comment or be unexported
|
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/multicontainer/multicontainer_test.go#L10
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/multicontainer/multicontainer_test.go#L12
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/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/privileged/privileged_test.go#L12
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-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-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
|