fix(policyMatcher): handling relative path resource by joining it with cwd #4687
Annotations
12 warnings
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/
|
|
KubeArmor/enforcer/bpflsm/mapHelpers.go#L45
comment on exported method BPFEnforcer.CreateContainerInnerMap should be of the form "CreateContainerInnerMap ..."
|
KubeArmor/enforcer/bpflsm/enforcer.go#L59
parameter 'node' seems to be unused, consider removing or renaming it as _
|
KubeArmor/enforcer/bpflsm/mapHelpers.go#L72
comment on exported method BPFEnforcer.DeleteContainerInnerMap should be of the form "DeleteContainerInnerMap ..."
|
KubeArmor/enforcer/bpflsm/rulesHandling.go#L477
parameter 'oldPosture' seems to be unused, consider removing or renaming it as _
|
KubeArmor/enforcer/bpflsm/rulesHandling.go#L477
parameter 'newPosture' seems to be unused, consider removing or renaming it as _
|
KubeArmor/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
|
KubeArmor/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
|
KubeArmor/state/stateAgent.go#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
|
This job succeeded
Loading