DMartinez137494 (Community Member) asked a question.

Scans not working in CI with OpenShift Jenkins agent

I have a Jenkins job that runs on OpenShift and it uses a Docker image with the srcclr CLI installed on it. When trying to perform a scan, I get the error "java.lang.SecurityException: Unacceptable config file directory path: ?/.srcclr"

 

How can one change or set the config file path? Where is the default? Where are the guidelines for creating a config file (agent.yaml) manually?

 

I would really appreciate you help on this @Software Composition Analysis Group​ 

 

Kind regards,

David.

 


  • DMartinez137494 (Community Member)

    Hello, @Ilan S., Veracode Support (Veracode)​  @Jason M., Veracode Support (Veracode)​ 

     

    I have already fixed the issue thanks to another user's post.

     

    I just defined a global var JAVA_OPTS="-Duser.home={WRITABLE_PATH}", since It happens the user which OpenShift uses to execute the containers with did not have permissions to write in its own $HOME.

     

    Thanks. Best,

    David

    Expand Post
    Selected as Best

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.