Hi all,
I’m working on integrating Jenkins with SailPoint IdentityNow using the Web Services Connector. The challenge I’m facing is around aggregating entitlements (permissions) because Jenkins uses a Matrix Authorization Strategy.
In Postman, I’m able to successfully execute the Groovy script and fetch Jenkins permissions.
But when I try the same in SailPoint Web Services Connector, it doesn’t work. SailPoint sends the script as
text/plainin the Body of the operation, which Jenkins does not accept as a valid script. Because of this, I get no result back.Is there a recommended way to aggregate Jenkins entitlements in SailPoint when permissions come only from Groovy scripts?
- Has anyone successfully converted Jenkins permission map → JSON and consumed it in SailPoint entitlement aggregation?
- What is the best practice to pass Groovy scripts to Jenkins via Web Services Connector (since it doesn’t accept
x-www-form-urlencoded)?
Please consider addressing the following when creating your topic:
- What have you tried?
- What errors did you face (share screenshots)?
- Share the details of your efforts (code / search query, workflow json etc.)?
- What is the result you are getting and what were you expecting?