Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/04/2024 11:23 AM
Hey Saviynt family!
Our Requirement:
We need to run a few Perl scripts on a Unix endpoint. We are currrently using an OOTB Unix Connector for the purpose. The connection is sucessfully established and verified. Our requirement involves using the "DEPROVISION_ACCOUNT_COMMAND" and "REMOVE_ACCESS_COMMAND" JSONs to perform some actions on the endpoint by executing these Perl scripts.
Our current configuration:
We have a Unix connection set up in our instance, with the following JSONs configured as shown below :
Our progress so far:
We are confident we have the correct "PROVISION_ACCOUNT_JSON" set up since the "New Account" task is successfully completed with the following provisioning comment:
We have also set up the "DEPROVISION_ACCOUNT_COMMAND" and "REMOVE_ACCESS_COMMAND" JSONs in the connector to the best of our knowledge (see 1st screenshot above).
The Problem:
When we try to deprovision or remove access for a user associated with this Unix endpoint, we get a response saying :
Our request:
We need the community to help us configure the valid "DEPROVISION_ACCOUNT_COMMAND" and "REMOVE_ACCESS_COMMAND" JSONs for our requirement (explained above). We are very sure our deprovisioning scripts work absolutely fine. We are seeking your help to verify and configure our JSONs to achieve the aforementioned purpose. Any insights on this would be truly appreciated.
Thank you!
Solved! Go to Solution.
09/04/2024 11:30 AM
use ${accountName} instead of ${user.username}
if does not work share logs
09/04/2024 12:12 PM
ADD_ACCESS_COMMAND | Specify the command to provide access to the entitlement existing in the target application. In the target application, these would be the Groups or entitlements. |
REMOVE_ACCESS_COMMAND | Specify the command to remove the access for a user to the entitlement in the target application. This command enables deprovisioning access to the entitlement for which access has been removed for the user (from EIC). |
For ADD and Remove access just pass the command directly.
sudo /pathToScript/addAccessScript.pl $(user.username) 1> /dev/null