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
Requires jq (JSON processor) to function properly. When running the script without having jq installed, you get the following output:
user@user:~/x/y/sechub$ ./sechub-solution/setup-pds/setup-gosec.sh
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
user: gosec
project: test-gosec
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
8900-helper.sh: line 9: jq: command not found
Adding user: gosec
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
HTTP/1.1 200
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
HTTP/1.1 201
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
8900-helper.sh: line 9: jq: command not found
Creating project test-gosec.
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
{ "apiVersion":"1.0", "name":"test-gosec", "owner":"gosec", "description":"Created by sechub-api.sh at 2023-12-08 11:18 CET" }
HTTP/1.1 201
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
./8801-create-executor-and-profile.sh: line 44: jq: command not found
8900-helper.sh: line 9: jq: command not found
Profile pds-gosec already exists.
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
project: test-gosec
profile: pds-gosec
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
./8802-assign-profile-to-project.sh: line 37: jq: command not found
8900-helper.sh: line 9: jq: command not found
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
8900-helper.sh: line 9: jq: command not found
### Hint: Install jq (https://github.com/stedolan/jq). Now executor access by name will not work.
Assigned profile pds-gosec to project test-gosec
Setup of GoSec complete:
- user: gosec
- project: test-gosec
sechub -project test-gosec scan
Problem
Currently, the script in section
![image](https://private-user-images.githubusercontent.com/29148934/289039840-67071dfe-c76f-4510-8c76-17eed6c7224e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI5NDIzMTcsIm5iZiI6MTcyMjk0MjAxNywicGF0aCI6Ii8yOTE0ODkzNC8yODkwMzk4NDAtNjcwNzFkZmUtYzc2Zi00NTEwLThjNzYtMTdlZWQ2YzcyMjRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA2VDExMDAxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxMzNjNjk4Y2UyZWRhOWNkZTBkMzFmNTg3MjQ4MWQyYzE4NDA5MmRiYjljOTQ1ZTZjZTRmODkxMjE4MzI4MTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TNdBlKZP08VYYHMvGINGPyAJPM-gBU-tOKtkDa2R77M)
1.2.4
:Requires
jq
(JSON processor) to function properly. When running the script without havingjq
installed, you get the following output:compared to the expected output:
Solution
We should add
jq
in the requirements sections of the tutorialThe text was updated successfully, but these errors were encountered: