Skip to content

feat: adding support for excluding labels in csp and ksp for endpoint matching #5857

feat: adding support for excluding labels in csp and ksp for endpoint matching

feat: adding support for excluding labels in csp and ksp for endpoint matching #5857

Triggered via pull request March 12, 2025 19:30
Status Success
Total duration 2m 9s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
go-fmt
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
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/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
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/presets/protectEnv/preset.go#L154
parameter 'containerID' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/presets/protectEnv/preset.go#L154
parameter 'pidns' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/presets/protectEnv/preset.go#L154
parameter 'mntns' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
go-lint: KubeArmor/types/types.go#L536
exported const AnonMapExec should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/common/common.go#L133
redefinition of the built-in function new
go-lint: KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
go-lint-tests
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-lint-tests: tests/k8s_env/presets/presets_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L14
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/visibility/visibility_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_suite_test.go#L9
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/smoke/smoke_test.go#L13
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
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
go-vuln
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-test
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum