Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Kubeaudit does not detect issues in cronjobs #520

Open
1 task done
bluebrown opened this issue Jan 30, 2023 · 3 comments · May be fixed by #522
Open
1 task done

Kubeaudit does not detect issues in cronjobs #520

bluebrown opened this issue Jan 30, 2023 · 3 comments · May be fixed by #522

Comments

@bluebrown
Copy link

bluebrown commented Jan 30, 2023

ISSUE TYPE
  • Feature Idea

BUG REPORT

SUMMARY

Kubeaudit does not detect issues in cronjobs

ENVIRONMENT
  • Kubeaudit version: 0.21.0/
  • Kubeaudit install method: Binary
STEPS TO REPRODUCE
$ curl -fsSL https://github.com/Shopify/kubeaudit/releases/download/v0.21.0/kubeaudit_0.21.0_linux_amd64.tar.gz \
  | tar -xzf - kubeaudit

$ curl -fsSL https://raw.githubusercontent.com/kubernetes/website/snapshot-initial-v1.26/content/en/examples/application/job/cronjob.yaml \
  | ./kubeaudit all -f -

All checks completed. 0 high-risk vulnerabilities found
EXPECTED RESULTS

Kubeaudit should report a bunch of issues.

ACTUAL RESULTS

No issues detected

@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the issue template!

@genevieveluyt
Copy link
Contributor

Hi @bluebrowb, thanks for opening this issue. My guess is we just need to bump some dependency versions. Kubeaudit only knows about the batch/v1beta1 CronJob currently

@bluebrown
Copy link
Author

Hi, I just saw that. I forked the repo looking into it, if thats ok.

@bluebrown bluebrown linked a pull request Jan 30, 2023 that will close this issue
10 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants