
DMartinez137494 (Community Member) asked a question.
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.
.png)
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