Products
Fortify Static Code Analyzer
Environment
SSC
ScanCentral Controller
ScanCentral Sensor
SCA
Situation
SSC
ScanCentral Controller
ScanCentral Sensor
SCA
Situation
Attempting to login to scancentral to upload a file for scanning but tokens fail with error "update failed" or "token auth failed"
1. Check if the token that they are using is expired or if they are not using the correct token (ScanCentralCtrlToken, CIToken )
2. Check if your license is updated, this might cause the "Scan Failure" message in SSC.
3. Check if you are doing the correct scan process (Clean, Build, Scan).
4. Check if you are using the correct command to upload the results to SSC.
6. Check the application permissions from SSC.
Additional Information
Submitting Scan Requests and Uploading Results to Fortify Software Security Center (microfocus.com)
023-03-31 13:39:07,576 [ERROR] [172.30.140.93 POST /scancentral-ctrl/rest/v2/job] com.fortify.cloud.ctrl.service.CoreServiceImpl - Failed to access application version: tenew-1. Unable to find or access specified resource. 2023-03-31 13:39:07,576 [ERROR] [172.30.140.93 POST /scancentral-ctrl/rest/v2/job] com.fortify.cloud.ctrl.service.CoreServiceImpl - Failed to access application version: tenew-1. Unable to find or access specified resource. 2023-03-31 13:39:07,576 [WARN] [172.30.140.93 POST /scancentral-ctrl/rest/v2/job] com.fortify.cloud.ctrl.service.CoreServiceImpl - Rejected file 'zip15525618921167542541.zip' (76265 bytes) from root; job with token e84610de-5be9-47cb-97bc-55ad984dd5b8 rejected: Failed to access application version: tenew-1. Unable to find or access specified resource. 2023-03-31 14:29:27,980 [INFO] [172.30.140.93 POST /scancentral-ctrl/rest/v2/job] com.fortify.cloud.ctrl.service.rest.SscRestClientImpl - Calling GET on endpoint: /cloudmappings/mapByVersionId?projectVersionId={0}, with arguments: [1] 2023-03-31 14:29:28,027 [ERROR] [172.30.140.93 POST /scancentral-ctrl/rest/v2/job] com.fortify.cloud.ctrl.service.CoreServiceImpl - Failed to access application version id: 1. Unable to find or access specified resource. 2023-03-31 14:29:28,027 [WARN] [172.30.140.93 POST /scancentral-ctrl/rest/v2/job] com.fortify.cloud.ctrl.service.CoreServiceImpl - Rejected file 'zip9501246076323276045.zip' (115993 bytes) from root; job with token 8fa62ba3-8ac4-47df-b427-f238e0b5ef8a rejected: Failed to access application version id: 1. Unable to find or access specified resource.Resolution
1. Check if the token that they are using is expired or if they are not using the correct token (ScanCentralCtrlToken, CIToken )
2. Check if your license is updated, this might cause the "Scan Failure" message in SSC.
3. Check if you are doing the correct scan process (Clean, Build, Scan).
4. Check if you are using the correct command to upload the results to SSC.
scancentral.bat -sscurl <ssc_url> -ssctoken <ScanCentralCtrlToken> start ‑upload -versionid <app_version_id> -b <mybuildId> -uptoken <ScanCentralCtrlToken> -scan5. Check if you are using the same rulepack version on SSC and SCA.
6. Check the application permissions from SSC.
Additional Information
Submitting Scan Requests and Uploading Results to Fortify Software Security Center (microfocus.com)