Environment
Fortify Static Code Analyzer (SCA) 22.2
Fortify SSC 22.x
Situation
User has an issue with uploading scan results to SSC server. Normally user can upload scan results fine, but now there is an error: access denied.
The error show in log file:
Uploading analysis results file to SSC at https://<ssc_url>/ssc to application 'App_approval' and application version '01' Error uploading to SSC: https://<ssc_url>/ssc Access Denied. Unauthorized access com.fortify.ssc.restclient.ApiException: Access Denied. Unauthorized access at com.fortify.plugin.jenkins.FortifyPlugin.runWithFortifyClient(FortifyPlugin.java:894) at com.fortify.plugin.jenkins.steps.FortifyUpload.createNewOrGetProject(FortifyUpload.java:744) ...... Caused by: com.fortify.ssc.restclient.ApiException: at com.fortify.ssc.restclient.ApiClient.handleResponse(ApiClient.java:1014) at com.fortify.ssc.restclient.ApiClient.execute(ApiClient.java:927) at com.fortify.ssc.restclient.api.ProjectControllerApi.listProjectWithHttpInfo(ProjectControllerApi.java:202) .... [Pipeline] echo Failed: hudson.AbortException: Error uploading to SSC: Access Denied. Unauthorized access [Pipeline] unstable WARNING: hudson.AbortException: Error uploading to SSC: Access Denied. Unauthorized access
See full knowledge document here