-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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(repo): support local repositories #4890
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I understand that we are using fs Artifact
for repo
mode and it looks like there is no case we could miss for fs
mode, but maybe we want to use args.command == 'fs'
for some test cases?
@knqyf263 wdty?
Do you mean integration tests? |
right. |
@DmitriyLewen Added in d35fa12. I'm not sure if it will pass tests, but does it answer your question? |
yes. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* feat(repo): support local repositories * fix tests * test: fix client/server tests * docs: update * test: add fs tests * test: do not update golden files if overridden * docs: remove a comment about fs deprecation
Description
trivy repo
now scans local repositories as well as remote repositories.Usage
It is equivalent to
trivy fs
.Related issues
trivy repo
for local and remote code repository scanning #4888Checklist