Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade alpine from 3.15 to 3.16 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rksharma95
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.

Changes included in this PR

  • Dockerfile

We recommend upgrading to alpine:3.16, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

rksharma95 pushed a commit that referenced this pull request Jul 19, 2022
rksharma95 pushed a commit that referenced this pull request Jun 30, 2023
…ory and fix to pass the tests

The current implementation does not have a job in CI to run tests for
golang programs under the KubeArmor/KubeArmor directory.

Therefore, this commit will add the job to ci-test-go.yml to run tests for
golang programs under the KubeArmor/KubeArmor directory.

On the other hand, in the current implementation, the following error
occurs when go test is executed in the directory KubeArmor/KubeArmor/core.

  > go test
  # github.com/kubearmor/KubeArmor/KubeArmor/core
  ./karmorprobedata.go:61:3: (*github.com/kubearmor/KubeArmor/KubeArmor/feeder.Feeder).Errf format %s reads arg #1, but call has 0 args

Thus, if test_kubearmor.sh or go test ./... on the kubearmor/kubeArmor are
run, the test will fail.

The test fails because dm.Logger.Errf(), which is called in the
SetKarmorData function in the file core/karmorprobedata.go, is missing an
argument for the format specifier.

Therefore, this commit will fix it to add a variable for the format
specifiers so that the test will succeed properly.

Signed-off-by: Hayato Kiwata <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants