Remove a DB2 user from a RACF group

We are currently using a delimited file connector to read DB2 tables running on mainframe, where the users are part of two groups - FICH01A and ISDDB2. Currently, when a manager revokes access during certification, we create a ticket to handle the de-provisioning process.
Due to audit findings, we want to automate this and have configured a JDBC connector for the same application. The command to remove a user from a group is - REMOVE USERID GROUP(GROUPNAME). How can we approach this deprovisoning directly from SailPoint?

i would say explore db table connector guide , you can write provisioning rule to perform different action , rule can call sql / ps to perform action on db.

@csaipriya

Can group membership be managed via a DB2 JDBC connection?

From my understanding the REMOVE USERID GROUP(GROUPNAME) is a RACF command, which would require either the RACF integration, or if the customer is using TopSecret, the TopSecret integration to manage users & group memberships.

@Paul_Meyer  Yes, the DB2 is running on Mainframe RACF. We have setup a JDBC connector for the DB2. I am wondering if there is a way to use the RACF command in the JDBC connector (make use of stored procedures) or do we need to use a different connector?

csaipriya,

You can execute SQL commands in the context of the JDBC connector.  You can execute RACF commands in the context of the RACF connector.  Since the command that you gave is a RACF one, I believe Paul’s answer to be most applicable to your situation.  You can remove the user from the group directly through the RACF connector.

If you are constrained only to use the JDBC connector and not the RACF connector, you may be able to coordinate an approach with your RACF administrator:

  1. IdentityIQ issues an SQL command to insert a record into a processing table in DB2.
  2. A batch job or script on the mainframe reads the processing table for unprocessed requests.
  3. The batch job executes the appropriate RACF commands to satisfy the requests.
  4. The batch job updates the processing table to indicate that the process requests have been completed.

This approach has some security and operational aspects that you will need to think through:

  • How does the batch job know that the processing requests came from IdentityIQ and not a another (possibly malicious) party?
  • What range of provisioning commands is the batch job allowed to execute in RACF?
  • How frequently should the batch job run, and what is its expected duration of execution?
  • What happens if the batch job fails to run?  How does anyone know there is a problem to troubleshoot?
  • What happens if the batch job encounters an error during execution and provisioning is unsuccessful?
  • How long will completed process request records be kept in the DB2 processing table?
  • How else could this solution be exploited by a malicious actor?

Good luck!

Rob

Using the JDBC connector, we are thinking to send an email to a workgroup to create a ticket to the provisioning team to remove the access manually. How can this be done like which rule should be used.

csaipriya,

I suggest reading through Menno Pieters’ excellent article on creating a work item from a rule.

Rob