apisec-inc/apisec-run-scan

Bad credentials error when using correct credentials

Opened this issue · 0 comments

Hi, is this action still maintainable ? Last commit was 6 months ago, there is only one closed PR,
no issues, no branches... is everything working ?

I've setup this action as it is in the marketplace and I have added my user credentials to GitHub
secrets, username as the email I use to login to https://cloud.apisecapps.com and password. But
it gets the bad request error:

Run ${GITHUB_ACTION_PATH}/apisec-run-scan.sh --username "***" --password "***" --project "backend staging" --profile "Master" --scanner ""  --outputfile  "apisec-results.sarif"   --refresh-playbooks "" --host "" --emailReport "" --fail-on-vuln-severity "" --openAPISpecUrl "" --openAPISpecFile "" --internal_OpenAPISpecUrl  "" --specType  "" --profileScanner  "" --envName "" --authName "" --app_username "" --app_password "" --app_endPointUrl "" --app_token_param "" --header_1 "" --baseUrl "" --category ""
  ${GITHUB_ACTION_PATH}/apisec-run-scan.sh --username "***" --password "***" --project "backend staging" --profile "Master" --scanner ""  --outputfile  "apisec-results.sarif"   --refresh-playbooks "" --host "" --emailReport "" --fail-on-vuln-severity "" --openAPISpecUrl "" --openAPISpecFile "" --internal_OpenAPISpecUrl  "" --specType  "" --profileScanner  "" --envName "" --authName "" --app_username "" --app_password "" --app_endPointUrl "" --app_token_param "" --header_1 "" --baseUrl "" --category ""
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Bad Credentials. Please provide correct User Credentials!!
 
Error: Process completed with exit code 1.