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

feat: expose "node.collector.imageRef" for trivy k8s scanning #4921

Closed
git-ew opened this issue Aug 1, 2023 Discussed in #4898 · 2 comments
Closed

feat: expose "node.collector.imageRef" for trivy k8s scanning #4921

git-ew opened this issue Aug 1, 2023 Discussed in #4898 · 2 comments

Comments

@git-ew
Copy link

git-ew commented Aug 1, 2023

Discussed in #4898

Originally posted by git-ew July 31, 2023

Description

I'm using a local artifact repo to locally source images for k8s clusters that cannot reach out to the public Internet.

When performing a trivy k8s scan from cli, the node-collector attempts to pull directly from ghcr.io and will fail deployment.

Can we have node.collector.imageRef exposed for the command line and trivy config yaml (maybe --node-collector-imageref ) similar to what is available in trivy-operator here?

https://github.com/aquasecurity/trivy-operator/pull/941/files

Target

Kubernetes

Scanner

None

@knqyf263
Copy link
Collaborator

knqyf263 commented Aug 2, 2023

#4928

@knqyf263 knqyf263 closed this as completed Aug 2, 2023
@git-ew
Copy link
Author

git-ew commented Aug 2, 2023

Yeah, misunderstanding on process from my part. Sorry.

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

No branches or pull requests

2 participants