Skip to content

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

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 #5858

Triggered via pull request March 12, 2025 20:25
Status Success
Total duration 2m 45s
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/cert/tls.go#L19
type TlsConfig should be TLSConfig
go-lint: KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
go-lint: KubeArmor/cert/tls.go#L41
func NewTlsCredentialManager should be NewTLSCredentialManager
go-lint: KubeArmor/cert/tls.go#L74
method CreateTlsClientCredentials should be CreateTLSClientCredentials
go-lint: KubeArmor/cert/tls.go#L88
method CreateTlsServerCredentials should be CreateTLSServerCredentials
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: KubeArmor/cert/tls.go#L41
exported function NewTlsCredentialManager should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L74
exported method TlsCredentialManager.CreateTlsClientCredentials should have comment or be unexported
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
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/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/privileged/privileged_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_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
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
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-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
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