You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the steps from https://docs.kics.io/1.3.3/getting-started/#one-liner_install_script , the install script only downloads the kics binary and saves it to ./bin/kics , it does not also download the necessary queries and install them to ./bin/assets/queries as expected.
Steps to reproduce
$ curl -sfL 'https://raw.githubusercontent.com/Checkmarx/kics/master/install.sh' | bash
Checkmarx/kics info checking GitHub for latest tag
Checkmarx/kics info found version: 1.3.3 for v1.3.3/linux/x64
Checkmarx/kics info installed ./bin/kics
$ ls bin/
kics
$ uname -a
Linux int-web-20 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Expected behavior
For install.sh to install the assets directory to ./bin/assets from the .tar.gz that it downloads and extracts.
Actual behavior
Only ./bin/kics binary is installed.
Attempting to run a scan using ./bin/kics scan -p . -o . returns an error and also does not look in the correct directory for the assets:
Error: unable to find queries: stat /home/username/assets/queries: no such file or directory
The same happens if running from within the bin directory which then fixes the path it's looking for assets at:
$ cd bin
$ ./kics scan -p . -o .
Error: unable to find queries: stat /home/username/bin/assets/queries: no such file or directory
The text was updated successfully, but these errors were encountered:
Following the steps from https://docs.kics.io/1.3.3/getting-started/#one-liner_install_script , the install script only downloads the kics binary and saves it to
./bin/kics
, it does not also download the necessary queries and install them to./bin/assets/queries
as expected.Steps to reproduce
Expected behavior
For
install.sh
to install the assets directory to./bin/assets
from the .tar.gz that it downloads and extracts.Actual behavior
Only
./bin/kics
binary is installed.Attempting to run a scan using
./bin/kics scan -p . -o .
returns an error and also does not look in the correct directory for the assets:The same happens if running from within the
bin
directory which then fixes the path it's looking for assets at:The text was updated successfully, but these errors were encountered: