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

KICS failing to scan when queries path is not in same context as kics execution #1964

Closed
felipe-avelar opened this issue Feb 3, 2021 · 0 comments · Fixed by #1967
Closed
Assignees
Labels
bug Something isn't working

Comments

@felipe-avelar
Copy link
Contributor

Expected Behavior

KICS execute scan correctly when --queries-path is given

Actual Behavior

KICS does not execute any query at all

Steps to Reproduce the Problem

  1. Move assets directory to any path different from kics execution path
  2. Execute KICS scan passing the new directory using --queries-path flag

Specifications

  • Version: 1.1.2
  • Platform: Linux
@felipe-avelar felipe-avelar added the bug Something isn't working label Feb 3, 2021
@felipe-avelar felipe-avelar self-assigned this Feb 3, 2021
@felipe-avelar felipe-avelar added this to the Core Engineering milestone Feb 3, 2021
ruigomescx pushed a commit that referenced this issue Feb 5, 2021
…1967)

* Corrected source to get libraries path based on queries path flag

* Normalized path flag to work on Linux and Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant