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

scan-ref doesn't work when using filesystem instead of fs #264

Closed
kderck opened this issue Oct 3, 2023 · 1 comment · Fixed by #269
Closed

scan-ref doesn't work when using filesystem instead of fs #264

kderck opened this issue Oct 3, 2023 · 1 comment · Fixed by #269

Comments

@kderck
Copy link
Contributor

kderck commented Oct 3, 2023

Hello Aqua Security, if you have a scan-type: filesystem instead of scan-type: fs the action will error with FATAL Require at least 1 argument if you have specified scan-ref: . However, this shouldn't be a problem as fs is an alias of filesystem

 - name: Scan Dependencies with Trivy
   uses: aquasecurity/trivy-action@master
   with:
        scan-type: filesystem
        scan-ref: .
@kderck
Copy link
Contributor Author

kderck commented Oct 17, 2023

I've noticed this issue is caused by there being no catching case in entrypoint.sh and not scan-ref itself.

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 a pull request may close this issue.

1 participant