SNagula285379 (Community Member) asked a question.

credentials file was missing or empty for veracode scan

FYI.... i used this link for setup : https://help.veracode.com/r/c_artifactory_about

 

When i am trying to run a static code in artifactory using artifactory plugins i am seeing the

below error:

Error encountered when scanning cms-web - 1.88-CMS-18094.15.

java.lang.IllegalArgumentException: The credentials file was missing or empty.

 

i have creds file in the location with api credentails inside it.

see below for the content of properties file and credentials file.

vercaode-scan.properties:

-------------------------------

{

 "schedule": "",

 "credentialsFile": "/tmp/veracode/creds",

 "proxyHost": "",

 "proxyPort": 0,

 "downloadLocation": "/tmp/veracode",

 "createPlatformApp": "False",

 "maxFolderDepth" : 2,

 "maxWaitTime": 120,

 "triggerWaitTime": 5,

 "modifiedWithin": 24,

 "includeFileExtensions": [".apk", ".bca", ".cbl", ".cob", ".dll", ".dspf", ".ear", ".exe", ".icf", ".ipa", ".jar", ".lf", ".mdb", ".nupkg", ".pdp", ".pf", ".prtf", ".rpg", ".rpg4", ".rpgle", ".snupkg", ".so", ".tar", ".tar.gz", ".tgz", ".war", ".zip"],

 "versionsToScan": 10,

 "scanFrequency": "ONCE"

}

                                                                                                           

creds file:

------------

[default]

veracode_api_key_id=3ef07721d68*******

veracode_api_key_secret=ea01af59a8f99613282b********

~                                                                                                                               

~                                                                                                   


  • Hi,

     

    I would recommend you contact our technical support team. Here's how you can log a case:

    1. Navigate to the upper right corner of any page in the Community, click on your user avatar.

    2. Select Contact Support from the drop-down menu.

     

    Thank you,

    Boy

    Expand Post

Topics (2)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.