Skip to content

feat: special presets (handle fileless exec) #4862

feat: special presets (handle fileless exec)

feat: special presets (handle fileless exec) #4862

Triggered via pull request October 24, 2024 06:09
Status Success
Total duration 2m 30s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 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
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-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
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/presets/base/basePreset.go#L16
exported type PresetType should have comment or be unexported
go-lint: KubeArmor/presets/base/basePreset.go#L13
exported const PRESET_ENFORCER should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/presets/presets.go#L17
exported type Preset should have comment or be unexported
go-lint: KubeArmor/presets/base/basePreset.go#L19
exported const FilelessExec should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/presets/presets.go#L23
exported function NewPreset should have comment or be unexported
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/presets.go#L4
should have a package comment
go-lint: KubeArmor/presets/base/basePreset.go#L23
exported type PresetAction should have comment or be unexported
go-lint: KubeArmor/presets/base/basePreset.go#L26
exported const Audit should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
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/presets/presets_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_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/presets/presets_test.go#L14
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_test.go#L12
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/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
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-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-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