What is the Correct Command to check Jar files loaded on VA?

Starting with the suggestion here: Custom Connector JAR File - where did it go?

When looking to see what JAR files have been uploaded for the VA, I have used the following command that was suggested in the topic above:

sudo docker exec ls -al /opt/sailpoint/ccg/lib/custom

This worked in the lower environments, however when I attempt to use this in PROD, I am getting the following error after inputting the password:

Sorry, user sailpoint is not allowed to execute '/usr/bin/docker exec ls -al /opt/sailpoint/ccg/lib/custom' as root on <IP_ADDR>

Is there another command that we should be using, or is this locked down more in the production VAs?

Based on the VA Troubleshooting guide, I checked to see if the command was allowed for the sailpoint user to sudo using “sudo -l” and it is not present. So this confirms that the permission error is correct.

So what is the correct command or sequence of commands to check this? And why is it working in Sandbox VA, but not PROD?

Prod CCG is 991 if that matters.

Hello Geoff,

Try adding ccg after exec

sudo docker exec ccg ls -l /opt/sailpoint/ccg/lib/custom

Regards
Arjun

2 Likes

Thanks!
Screenshot 2024-07-16 163954

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.