ErdemOzgen / DevSecOpsBuilder

Automatic DevSecOps builder
GNU General Public License v3.0
7 stars 2 forks source link

Repository issue for Wapiti #9

Closed ataseren closed 11 months ago

ataseren commented 11 months ago

This error occurred during installation:

Installing wapiti...
Cloning into 'master'...
fatal: repository 'https://github.com/wapiti-scanner/wapiti/tree/master/' not found
Traceback (most recent call last):
  File "/home/aseren/Desktop/DevSecOpsBuilder/devsecopsbuilder/pipeline_executer.py", line 30, in install_tools
    subprocess.run(help_command, shell=True, check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
  File "/home/aseren/anaconda3/envs/redscan/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'wapiti --help' returned non-zero exit status 127.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/aseren/Desktop/DevSecOpsBuilder/main.py", line 87, in <module>
    main()
  File "/home/aseren/Desktop/DevSecOpsBuilder/main.py", line 52, in main
    pipeline_executer.install_tools(default_tools)
  File "/home/aseren/Desktop/DevSecOpsBuilder/devsecopsbuilder/pipeline_executer.py", line 35, in install_tools
    subprocess.run(install_command, shell=True, check=True)
  File "/home/aseren/anaconda3/envs/redscan/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'git clone https://github.com/wapiti-scanner/wapiti/tree/master && cd wapiti && make install' returned non-zero exit status 128.

Probably, there is an issue about GitHub repository we use. It may require logging in or it is just missing. We can clone it to another repository and perform the install with that.

ErdemOzgen commented 11 months ago

Waiting for confirmation on your site @ataseren