sonatype-nexus-community / auditjs

Audits an NPM package.json file to identify known vulnerabilities.
https://www.npmjs.com/package/auditjs
Apache License 2.0
223 stars 53 forks source link

Request to update the report URL #237

Open susithrac opened 3 years ago

susithrac commented 3 years ago

These are the commands that I tired

_auditjs iq 'https://*****.net/clm/assets/index.html' -a MYAPP -h 'https://*****.net/clm' -u -p --insecure -s 'build'

OUTPUT AuditJS version: 4.0.25 12:09:01 12:09:01 - Starting application 12:09:01 ✔ Starting application 12:09:01 - Getting coordinates for Sonatype IQ 12:09:03 ✔ Getting coordinates for Sonatype IQ 12:09:03 - Auditing your application with Sonatype IQ 12:09:03 ✔ Auditing your application with Sonatype IQ 12:09:03 - Authenticating with Sonatype IQ 12:09:03 ✔ Authenticating with Sonatype IQ 12:09:03 - Submitting your dependencies 12:09:04 ✔ Submitting your dependencies 12:09:04 - Checking for results (this could take a minute) 12:09:16 ✔ Checking for results (this could take a minute) 12:09:16 - Auditing your results 12:09:16 12:09:16 Wonderbar! No build-breaking violations for this stage. You may still have non-breaking policy violations in the report. 12:09:16 Report URL: https://*****.net/ui/links/application/MY_APP/report/6350430648a54728a30fc2e9d9f4970e But I want the report to be generated at

https://*****.net/clm/ui/links/application/MY_APP/report/6350430648a54728a30fc2e9d9f4970e

Is it possible to change this? ( clm is added after the host )

susithrac commented 3 years ago

I can see the report gets generated in https://*****.net/clm/ui/links/application/MY_APP/report/6350430648a54728a30fc2e9d9f4970e

Should be a bug to specify a broken url in the log message

DarthHater commented 3 years ago

Hmmm, this seems odd. @bhamail this ring any bells? The base URL on this is a bit different, doesn't IQ Server have config for a base URL or akin?