We are calling the cspmclient binary from within a script, e.g. "$CSPM_CLIENT_HOME/cspmclient/bin/cspmclient A2Aalias false" but get the following error:
408 null null, fail to get config file: /opt/cloakware/cspmclient/config/cspm_client_config.xml
This is the wrong path, missing the "catech" subdirectory. The CSPM_CLIENT_HOME home variable is set correctly to /opt/cloakware/catech in the script, and the script is mapped correctly in PAM.
Release : Applies to all PAM release as of Jan 2024
Component : PRIVILEGED ACCESS MANAGEMENT
The CSPM_CLIENT_HOME variable was set in the shell script, but not exported and therefore not passed into the cspmclient binary. If the variable is not set, the A2A client uses default /opt/cloakware on Linux/Unix.
Make sure to not only set CSPM_CLIENT_HOME in your shell script, but also export it:
CSPM_CLIENT_HOME=/opt/cloakware/catech
export CSPM_CLIENT_HOME