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: trivy k8s private registry support #4567

Conversation

chen-keinan
Copy link
Contributor

Description

trivy k8s private registry support

Related issues

Checklist

Signed-off-by: chenk <hen.keinan@gmail.com>
@@ -64,11 +64,13 @@ trivy kubernetes [flags] { cluster | all | specific resources like kubectl. eg:
--offline-scan do not issue API requests to identify dependencies
-o, --output string output file name
--parallel int number (between 1-20) of goroutines enabled for parallel scanning (default 5)
--password strings password. Comma-separated passwords allowed. TRIVY_PASSWORD should be used for security reasons.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is the password supposed to be used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the image in cluster is stored in private registry

@knqyf263
Copy link
Collaborator

knqyf263 commented Jun 6, 2023

LGTM. I'll merge this PR after v0.42.1.

Copy link
Collaborator

@knqyf263 knqyf263 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v0.42.1 is out. It's merge o'clock.

@knqyf263 knqyf263 merged commit ef6538a into aquasecurity:main Jun 12, 2023
AnaisUrlichs pushed a commit to AnaisUrlichs/trivy that referenced this pull request Aug 10, 2023
Signed-off-by: chenk <hen.keinan@gmail.com>
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.

Trivy k8s - private registry support for vulnerabilities scan
3 participants