27-Oct-2022 11:32
I'm needing to integrate with JAMF Pro for device lookups via the API. I've seen the iApp for MobileIron and suppose I could possibly use it and make the necessary changes but, thought I'd reachout to the community to seek advise first.
I'd like to be able to query the JAMF API and do a lookup for the clients Exchange ID and allow/deny the connection based on the lookup results. I'm assuming an iRule will be needed but I haven't found any iRule references that make api calls. Has anyone sucessfully implemented an iRule that makes an external api call for lookups?
28-Oct-2022 08:05 - edited 28-Oct-2022 08:06
Hi!
As I know there is only one way to call external service from iRule, it is sideband connection. Some links with details and examples below
https://clouddocs.f5.com/api/irules/SIDEBAND.html
https://community.f5.com/t5/codeshare/sideband-connection-http-example/ta-p/284189
28-Oct-2022 12:15
There maybe no need for iRule or Sideband as APM has the HTTP connector agent of out of band API requests 🙂
https://clouddocs.f5.com/training/community/iam/html/class2/module2/lab03.html
A nice video where the APM uses the HTTP connector with shape deviceid + that you can modify:
https://www.youtube.com/watch?v=ULXv4umSugA&t=525s
10-Nov-2022 00:48
Hello, If any of proposed solutions helped you, please mark reply that was the solution as an answer.